]> git.ipfire.org Git - thirdparty/u-boot.git/commit
arm: socfpga: gen5: don't zero bss in board_init_f()
authorSimon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Fri, 12 Jul 2019 18:03:09 +0000 (20:03 +0200)
committerMarek Vasut <marex@denx.de>
Thu, 15 Aug 2019 06:50:02 +0000 (08:50 +0200)
commita89441a74f6df1f75b942f6906724620fad2e8e1
treeec5c58398b5ca0f6b6b58892bf5726df37d0c6e2
parent998f7cb29af596f523b8d8b90c968ebd7e8dc178
arm: socfpga: gen5: don't zero bss in board_init_f()

The socfpga gen5 SPL manually zeroed bss in board_init_f(). Now that the
DDR driver does not use bss any more, bss is not used before board_init_r()
and we can remove this hack.

bss is normally zeroed by crt0.S, but after board_init_f(), before
board_init_r(). socfpga just had this double-zeroing because it invalidly
used bss in board_init_f() already (during DDR initialization).

Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
arch/arm/mach-socfpga/spl_gen5.c