浏览代码

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 年之前
父节点
当前提交
e062ceab35
共有 1 个文件被更改,包括 4 次插入0 次删除
  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,