diff options
author | Kever Yang <kever.yang@rock-chips.com> | 2017-04-20 09:03:46 (GMT) |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2017-05-10 19:37:21 (GMT) |
commit | fa1392a236dfebbe938a48f124c8332759aba8e5 (patch) | |
tree | 20d3cfb0e657add5e6e97a1329249b9b884c1739 /drivers/clk/rockchip/clk_rk3399.c | |
parent | 602778d3c7ea367bb55f73ec33e8ef8c2c1dcb12 (diff) | |
download | u-boot-fa1392a236dfebbe938a48f124c8332759aba8e5.tar.xz |
rockchip: reserve memory for rk3399 ATF data
There are 3 regions used by rk3399 ATF:
- bl31 code, located at 0x10000;
- cortex-m0 code and data, located at 0xff8c0000;
- bl31 data, located at 0xff8c1000 ~ 0xff8c4000;
SPL_TEXT_BASE starts from 0xff8c2000, we need to reserve memory
for ATF data, or else there will be memory corrupt after SPL
loads the ATF image.
More detail about cortex-M0 code in ATF:
https://github.com/ARM-software/arm-trusted-firmware/commit/
8382e17c4c6bffd15119dfce1ee4372e3c1a7890
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/clk/rockchip/clk_rk3399.c')
0 files changed, 0 insertions, 0 deletions