]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
pxe: add AArch64 image support
authorStephen Warren <swarren@nvidia.com>
Tue, 21 Jul 2015 23:49:41 +0000 (17:49 -0600)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 9 Sep 2015 11:50:46 +0000 (13:50 +0200)
commit3186d795656ac7141313533ddae935848b7dafb2
tree25be2f93b224ce5749b4b098f115ed78790205cd
parent1c1310bd2f05bb55886f37605ff5136519c5688c
pxe: add AArch64 image support

The sysboot and pxe commands currently support either U-Boot formats or
raw zImages. Add support for the AArch64 Linux port's native image format
too.

As with zImage support, there is no auto-detection of the native image
format. Rather, if the image is auto-detected as a U-Boot format, U-Boot
will try to interpret it as such. Otherwise, U-Boot will fall back to a
raw/native image format, if one is enabled.

My belief is that CONFIG_CMD_BOOTZ won't ever be enabled for any AArch64
port, hence there's never a need to differentiate between CONFIG_CMD_
_BOOTI and _BOOTZ at run-time; compile-time will do. Even if this isn't
true, we want to prefer _BOOTI over _BOOTZ when defined, since _BOOTI is
definitely the native format for AArch64.

Change-Id: I83c5cc7566032afd72516de46f4e5eb7a780284a
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
common/cmd_pxe.c
include/command.h