ARM: OMAP: 2430: add serial console ATAG
Subsystems (3)
PATCH 1/1 ARM: OMAP: 2430: add serial console ATAG
Signed-off-by Kevin Hilman <[email protected]>
arch/arm/mach-omap2/board-2430sdp.c +7 -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 , + .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 )
--
Tony Lindgren
maintainerQuoted 13 lines · Kevin Hilman
Signed-off-by Kevin Hilman <[email protected]>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