From: Sonic Zhang Date: Wed, 7 Jan 2009 15:14:39 +0000 (+0800) Subject: Blackfin arch: fix bug - kernel stops at initial console X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=e062ceab35801314bfa3e08e7c76faf0045fcf79;p=linux-beck.git 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 Signed-off-by: Bryan Wu --- 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,