
On 05/13/2016 01:50 AM, Alison Wang wrote:
To support loading a 32-bit OS, the execution state will change from AArch64 to AArch32 when jumping to kernel.
The architecture information will be got through checking FIT image, then U-Boot will load 32-bit OS or 64-bit OS automatically.
Signed-off-by: Ebony Zhu ebony.zhu@nxp.com Signed-off-by: Alison Wang alison.wang@nxp.com Signed-off-by: Chenhui Zhao chenhui.zhao@nxp.com
arch/arm/cpu/armv8/transition.S | 100 ++++++++++++++++++++++++++++++++++++++++ arch/arm/include/asm/system.h | 2 + arch/arm/lib/bootm.c | 20 +++++++- common/image-fit.c | 12 ++++- 4 files changed, 131 insertions(+), 3 deletions(-)
If you repsin the patch for any reason, please remember to add correct version number and change log.
York