summaryrefslogtreecommitdiffstats
path: root/arch/blackfin
diff options
context:
space:
mode:
authorSonic Zhang <sonic.zhang@analog.com>2009-01-07 23:14:39 +0800
committerBryan Wu <cooloney@kernel.org>2009-01-07 23:14:39 +0800
commite062ceab35801314bfa3e08e7c76faf0045fcf79 (patch)
tree9a485b9110bb72ef40925ae76b09bc065657f5eb /arch/blackfin
parent3af8e931c783d52c9c5df93604e622eb5e054ee8 (diff)
downloadblackbird-op-linux-e062ceab35801314bfa3e08e7c76faf0045fcf79.tar.gz
blackbird-op-linux-e062ceab35801314bfa3e08e7c76faf0045fcf79.zip
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>
Diffstat (limited to 'arch/blackfin')
-rw-r--r--arch/blackfin/mach-bf533/boards/ezkit.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/blackfin/mach-bf533/boards/ezkit.c b/arch/blackfin/mach-bf533/boards/ezkit.c
index 69abceafb4d0..08cd0969de47 100644
--- a/arch/blackfin/mach-bf533/boards/ezkit.c
+++ b/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,
OpenPOWER on IntegriCloud