mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] ARM/Vincell LT: Fix nand probe, move vincell_devices_init to coredevice_initcall
@ 2015-07-08 14:12 Enrico Jorns
  2015-07-10 19:42 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Enrico Jorns @ 2015-07-08 14:12 UTC (permalink / raw)
  To: barebox; +Cc: Enrico Jorns

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

Signed-off-by: Enrico Jorns <ejo@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


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] ARM/Vincell LT: Fix nand probe, move vincell_devices_init to coredevice_initcall
  2015-07-08 14:12 [PATCH] ARM/Vincell LT: Fix nand probe, move vincell_devices_init to coredevice_initcall Enrico Jorns
@ 2015-07-10 19:42 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2015-07-10 19:42 UTC (permalink / raw)
  To: Enrico Jorns; +Cc: barebox

On Wed, Jul 08, 2015 at 04:12:20PM +0200, Enrico Jorns wrote:
> If vincell_devices_init initcall comes after imx_nand initcall,
> device probing fails when booting from usb!
> 
> Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
> ---

Applied, thanks

Sascha

> 
> 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
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-07-10 19:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-08 14:12 [PATCH] ARM/Vincell LT: Fix nand probe, move vincell_devices_init to coredevice_initcall Enrico Jorns
2015-07-10 19:42 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox