Browse Source

Blackfin arch: fix bug - kernel stops at initial console

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>
Sonic Zhang 16 years ago
parent
commit
e062ceab35
1 changed files with 4 additions and 0 deletions
  1. 4 0
      arch/blackfin/mach-bf533/boards/ezkit.c

+ 4 - 0
arch/blackfin/mach-bf533/boards/ezkit.c

@@ -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,