[PATCH] ARM/Vincell LT: Fix nand probe, move vincell_devices_init to coredevice_initcall

Enrico Jorns ejo at pengutronix.de
Wed Jul 8 07:12:20 PDT 2015


If vincell_devices_init initcall comes after imx_nand initcall,
device probing fails when booting from usb!

Signed-off-by: Enrico Jorns <ejo at pengutronix.de>
---

Based on: [PATCH 2/2] ARM: vincell: move to DT probing

 arch/arm/boards/guf-vincell/board.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boards/guf-vincell/board.c b/arch/arm/boards/guf-vincell/board.c
index a164c93..d27d9e4 100644
--- a/arch/arm/boards/guf-vincell/board.c
+++ b/arch/arm/boards/guf-vincell/board.c
@@ -53,4 +53,4 @@ static int vincell_devices_init(void)
 	return 0;
 }
 
-device_initcall(vincell_devices_init);
+coredevice_initcall(vincell_devices_init);
-- 
2.1.4




More information about the barebox mailing list