aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/cpu
diff options
context:
space:
mode:
authorMiquel Raynal <miquel.raynal@bootlin.com>2019-05-07 14:18:44 +0200
committerTom Rini <trini@konsulko.com>2019-07-11 10:05:15 -0400
commitaa13fa71ea20ab1f68ab831aded3d23edc8d5436 (patch)
tree3390d3afdbfcfe661ae8b658f355dd787be880a9 /arch/arm/cpu
parentfd4ee98db330f067bf366eefe1f83909e846cedd (diff)
downloadu-boot-aa13fa71ea20ab1f68ab831aded3d23edc8d5436.zip
u-boot-aa13fa71ea20ab1f68ab831aded3d23edc8d5436.tar.gz
u-boot-aa13fa71ea20ab1f68ab831aded3d23edc8d5436.tar.bz2
arm: spear: Drop useless board_init_r call
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>
Diffstat (limited to 'arch/arm/cpu')
-rw-r--r--arch/arm/cpu/arm926ejs/spear/spl.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/cpu/arm926ejs/spear/spl.c b/arch/arm/cpu/arm926ejs/spear/spl.c
index d2bddb5..b004ccc 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);
}