From mboxrd@z Thu Jan 1 00:00:00 1970 From: York Sun Date: Fri, 13 May 2016 09:34:22 -0700 Subject: [U-Boot] [PATCH 1/2] armv8: Support loading 32-bit OS in AArch32 execution state In-Reply-To: <1463128808-46730-2-git-send-email-b18965@freescale.com> References: <1463128808-46730-1-git-send-email-b18965@freescale.com> <1463128808-46730-2-git-send-email-b18965@freescale.com> Message-ID: <5736020E.4060707@nxp.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Signed-off-by: Alison Wang > Signed-off-by: Chenhui Zhao > --- > 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