Skip to contentSkip to conversation

ARM: OMAP: 2430: add serial console ATAG

PATCH In review Kevin Hilman 2 participants 2 messages Nov 1, 2007 – Nov 15, 2007

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: OMAP: 2430: add serial console ATAG

arch/arm/mach-omap2/board-2430sdp.c +7 -0
Index: dev/arch/arm/mach-omap2/board-2430sdp.c
===================================================================
@@ -349,9 +349,16 @@ static struct omap_uart_config sdp2430_u
 	.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)

--

maintainer
#1 lore raw
Quoted 13 lines · Kevin Hilman

Index: dev/arch/arm/mach-omap2/board-2430sdp.c
===================================================================

arch/arm/mach-omap2/board-2430sdp.c +3 -0
@@ -349,9 +349,16 @@ static struct omap_uart_config sdp2430_u
 	.enabled_uarts = ((1 << 0) | (1 << 1) | (1 << 2)),
 };
 
+static
+struct omap_serial_console_config sdp2430_serial_console_config __initdata = {
+	.console_uart = 1,

arch/arm/mach-omap2/board-2430sdp.c static struct omap_uart_config sdp2430_u · line 364

Quoted 10 lines
arch/arm/mach-omap2/board-2430sdp.c +4 -0
+	.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)

Pushing today.

Tony