This reverts commit 1ee30aeed47724eb7c8f145f064b8d03cd294808. We should now be able to avoid the global_data fiddling that was previously required for some boards. So re-apply this patch that was reverted.
Signed-off-by: Simon Glass <[email protected]> --- Changes in v2: None arch/arm/lib/spl.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm/lib/spl.c b/arch/arm/lib/spl.c index c41850a..7c9afbd 100644 --- a/arch/arm/lib/spl.c +++ b/arch/arm/lib/spl.c @@ -33,9 +33,6 @@ void __weak board_init_f(ulong dummy) /* Clear the BSS. */ memset(__bss_start, 0, __bss_end - __bss_start); - /* TODO: Remove settings of the global data pointer here */ - gd = &gdata; - board_init_r(NULL, 0); } -- 2.2.0.rc0.207.ga3a616c _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

