Scott Wood 0fff19a678 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>
2017-01-28 14:04:51 -05:00
..
2016-08-16 11:44:09 +08:00
2017-01-28 14:04:51 -05:00
2016-02-06 12:00:59 +01:00
2016-03-22 12:16:08 -04:00
2016-03-14 15:34:50 -06:00
2016-09-09 15:53:14 -04:00
2016-05-02 18:37:09 -04:00
2016-04-18 17:11:36 -04:00
2017-01-20 09:15:24 -05:00
2016-07-16 09:43:12 -04:00
2017-01-21 15:12:33 -05:00
2016-01-25 10:39:43 -05:00
2016-02-06 12:00:59 +01:00
2017-01-21 15:12:33 -05:00
2016-03-22 12:16:13 -04:00
2016-10-31 10:13:18 -04:00
2017-01-21 15:12:33 -05:00
2017-01-12 13:16:26 -05:00
2016-12-01 11:09:44 +09:00
2016-01-25 10:39:43 -05:00
2016-07-24 20:36:29 -05:00
2016-09-01 20:08:48 -05:00
2016-12-27 11:24:18 -05:00
2016-10-06 20:57:42 -04:00
2016-09-07 08:49:02 -04:00
2016-09-12 08:44:54 -04:00
2016-03-27 09:12:55 -04:00
2016-02-06 12:00:59 +01:00
2016-02-26 08:53:10 -07:00