]> git.baikalelectronics.ru Git - arm-tf.git/commit
allwinner: Fix non-default PRELOADED_BL33_BASE
authorSamuel Holland <samuel@sholland.org>
Mon, 14 Dec 2020 02:05:11 +0000 (20:05 -0600)
committerSamuel Holland <samuel@sholland.org>
Mon, 14 Dec 2020 04:16:43 +0000 (22:16 -0600)
commit3d36d8e600c734ee474dc53e4fc4a0009aaa4a2b
tree5b98d8cd4036a9e1cee40f208ce91c6cd09e09e5
parent852e494075d92199e9bddfe92d364f2107a5a25d
allwinner: Fix non-default PRELOADED_BL33_BASE

While the Allwinner platform code nominally supported a custom
PRELOADED_BL33_BASE, some references to the BL33 load address used
another constant: PLAT_SUNXI_NS_IMAGE_OFFSET. To allow the DTB search
code to work if a U-Boot BL33 is loaded to a custom address,
consistently use PRELOADED_BL33_BASE. And to avoid this confusion in
the future, remove the other constant.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Change-Id: Ie6b97ae1fdec95d784676aef39200bef161471b0
plat/allwinner/common/allwinner-common.mk
plat/allwinner/common/include/platform_def.h
plat/allwinner/common/sunxi_bl31_setup.c
plat/allwinner/common/sunxi_common.c