]> git.dujemihanovic.xyz Git - u-boot.git/commit
rockchip: fit_spl_optee: get text and optee base from build
authorKever Yang <kever.yang@rock-chips.com>
Thu, 5 Dec 2019 10:11:52 +0000 (18:11 +0800)
committerKever Yang <kever.yang@rock-chips.com>
Thu, 26 Dec 2019 12:34:28 +0000 (20:34 +0800)
commit7c337710fcd1d1cbc125a4077683bf578f275304
tree560974f4fcec2b260f8c5479d719a1396a6d701c
parentd792b63febf492a07a106245e46532c0d43a7ecd
rockchip: fit_spl_optee: get text and optee base from build

Instead of hardcode the base address, we can get them from the build
output, eg. get the SYS_TEXT_BASE from .config and get optee base from
DRAM_BASE.
We can use this script for SoCs with DRAM base not from 0x60000000(rk3229
and many other 32bit Rockchip SoCs), eg. rk3288 DRAM base is 0.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/mach-rockchip/fit_spl_optee.sh