It is clearly stated that board_init_f should *not* call
board_init_r. Indeed, board_init_f should return. The code will
continue through arch/arm/lib/crt0.S which will do more setup before
calling board_init_r.

Signed-off-by: Miquel Raynal <miquel.ray...@bootlin.com>
---
 arch/arm/cpu/arm926ejs/spear/spl.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/arm/cpu/arm926ejs/spear/spl.c 
b/arch/arm/cpu/arm926ejs/spear/spl.c
index d2bddb589a..b004cccafd 100644
--- a/arch/arm/cpu/arm926ejs/spear/spl.c
+++ b/arch/arm/cpu/arm926ejs/spear/spl.c
@@ -251,6 +251,4 @@ void board_init_f(ulong dummy)
        puts("Configure DDR\n");
        mpmc_init();
        spear_late_init();
-
-       board_init_r(NULL, 0);
 }
-- 
2.19.1

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to