]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ARM: OMAP: 2430: add serial console ATAG
authorKevin Hilman <khilman@mvista.com>
Thu, 1 Nov 2007 18:11:34 +0000 (11:11 -0700)
committerTony Lindgren <tony@atomide.com>
Thu, 15 Nov 2007 20:48:53 +0000 (12:48 -0800)
Signed-off-by: Kevin Hilman <khilman@mvista.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/board-2430sdp.c

index 9e6592c3b66a5ad9025d05599e5201ee4ea8b5c7..acfdf3ac3483aab3f70aa9d8a4289747b5790750 100644 (file)
@@ -349,9 +349,16 @@ static struct omap_uart_config sdp2430_uart_config __initdata = {
        .enabled_uarts = ((1 << 0) | (1 << 1) | (1 << 2)),
 };
 
+static
+struct omap_serial_console_config sdp2430_serial_console_config __initdata = {
+       .console_uart = 1,
+       .console_speed = 115200,
+};
+
 static struct omap_board_config_kernel sdp2430_config[] __initdata = {
        {OMAP_TAG_UART, &sdp2430_uart_config},
        {OMAP_TAG_LCD, &sdp2430_lcd_config},
+       {OMAP_TAG_SERIAL_CONSOLE, &sdp2430_serial_console_config},
 };
 
 #if    defined(CONFIG_I2C_OMAP) || defined(CONFIG_I2C_OMAP_MODULE)