Blackfin arch: fix bug - kernel stops at initial console
authorSonic Zhang <sonic.zhang@analog.com>
Wed, 7 Jan 2009 15:14:39 +0000 (23:14 +0800)
committerBryan Wu <cooloney@kernel.org>
Wed, 7 Jan 2009 15:14:39 +0000 (23:14 +0800)
Bug: Boot kernel in BF533-EZKIT without set ip during boot,
it stops at initial console.

Restore serial platform_device data to fix this issue.

Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
arch/blackfin/mach-bf533/boards/ezkit.c

index 69abceafb4d0bcef6e7131d6e0666dfc9fd91df3..08cd0969de475a98b6b82670b80825fab8e0a891 100644 (file)
@@ -368,6 +368,10 @@ static struct platform_device *ezkit_devices[] __initdata = {
        &rtc_device,
 #endif
 
+#if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE)
+       &bfin_uart_device,
+#endif
+
 #if defined(CONFIG_BFIN_SIR) || defined(CONFIG_BFIN_SIR_MODULE)
 #ifdef CONFIG_BFIN_SIR0
        &bfin_sir0_device,