]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: spear: Drop useless board_init_r call
authorMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 7 May 2019 12:18:44 +0000 (14:18 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 11 Jul 2019 14:05:15 +0000 (10:05 -0400)
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.raynal@bootlin.com>
Reviewed-by: Stefan Roese <sr@denx.de>
arch/arm/cpu/arm926ejs/spear/spl.c

index d2bddb589aeab2cb6726c005b44fae48df689f22..b004cccafd593449a3ff5dc2c555597316a01bae 100644 (file)
@@ -251,6 +251,4 @@ void board_init_f(ulong dummy)
        puts("Configure DDR\n");
        mpmc_init();
        spear_late_init();
-
-       board_init_r(NULL, 0);
 }