summaryrefslogtreecommitdiff
path: root/cmd/bedbug.c
diff options
context:
space:
mode:
authorScott Wood <oss@buserror.net>2017-01-26 16:55:44 -0600
committerTom Rini <trini@konsulko.com>2017-01-28 14:04:51 -0500
commit0fff19a6782909f5b1b280b993d0010f45eb5b18 (patch)
tree631fb7eae56dbd1db46dca9e5cfd504d3bca8920 /cmd/bedbug.c
parentb352caea752f9e840863ade43da67ff0272e8594 (diff)
downloadu-boot-imx-0fff19a6782909f5b1b280b993d0010f45eb5b18.zip
u-boot-imx-0fff19a6782909f5b1b280b993d0010f45eb5b18.tar.gz
u-boot-imx-0fff19a6782909f5b1b280b993d0010f45eb5b18.tar.bz2
booti: Set images.os.arch
Commit ec6617c39741adc6c549 ("armv8: Support loading 32-bit OS in AArch32 execution state") broke SMP boot by assuming that an image is 32-bit if the arch field in the spin table != IH_ARCH_DEFAULT (i.e. IH_ARCH_ARM64), even if the arch field also does not match IH_ARCH_ARM, even though nothing actually set the arch field in the spin table. Commit e2c18e40b111470f ("armv8: fsl-layerscape: SMP support for loading 32-bit OS") fixed this for bootm by setting the arch field of the spin table based on images.os.arch, but booti remaineed broken because it did not set images.os.arch. Fixes: ec6617c39741adc6c549 ("armv8: Support loading 32-bit OS in AArch32 execution state") Fixes: e2c18e40b111 ("armv8: fsl-layerscape: SMP support for loading 32-bit OS") Cc: Alison Wang <alison.wang@nxp.com> Cc: Chenhui Zhao <chenhui.zhao@nxp.com> Cc: York Sun <york.sun@nxp.com> Cc: Stuart Yoder <stuart.yoder@nxp.com> Signed-off-by: Scott Wood <oss@buserror.net> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'cmd/bedbug.c')
0 files changed, 0 insertions, 0 deletions