[U-Boot] [PATCH v3] rockchip: reserve memory for rk3399 ATF data

Simon Glass sjg at chromium.org
Mon Apr 24 03:38:22 UTC 2017


On 20 April 2017 at 03:03, Kever Yang <kever.yang at rock-chips.com> wrote:
> 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 at rock-chips.com>
> ---
>
> Changes in v3:
> - grammar fix by Andreas's comment
>
> Changes in v2:
> - use Kconfig for the reserved memory size
>
>  arch/arm/include/asm/arch-rockchip/boot0.h | 4 ++++
>  arch/arm/mach-rockchip/Kconfig             | 8 ++++++++
>  2 files changed, 12 insertions(+)
>

Acked-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list