]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: mvebu: Replace hardcoded values 0x0030/0x4030 by proper calculation
authorPali Rohár <pali@kernel.org>
Wed, 12 Jan 2022 17:32:08 +0000 (18:32 +0100)
committerStefan Roese <sr@denx.de>
Fri, 14 Jan 2022 10:39:16 +0000 (11:39 +0100)
commit1dcbcc715e87da6d30b8ae22f1ef04c881cfea5b
tree875f11c867129e7550c7e86ae672052b8b0612a8
parent5435f6e3fd6c16263debdf9048c8357c7e2e4d31
arm: mvebu: Replace hardcoded values 0x0030/0x4030 by proper calculation

These hardcoded values were calculated from CONFIG_SPL_TEXT_BASE macro. Now
this macro is configurable via Kconfig, so calculate values 0x0030/0x4030
at compile time via CONFIG_SPL_TEXT_BASE option. Values 0x0030/0x4030
represents offset of CONFIG_SPL_TEXT_BASE from address 0x40000000.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
include/configs/clearfog.h
include/configs/db-88f6720.h
include/configs/db-88f6820-amc.h
include/configs/db-88f6820-gp.h
include/configs/db-mv784mp-gp.h
include/configs/ds414.h
include/configs/helios4.h
include/configs/maxbcm.h
include/configs/theadorable.h
include/configs/turris_omnia.h
include/configs/x530.h