u-boot-brain/arch/x86
Simon Glass 86ee14f58b x86: Use the existing stack when chain-loading
With chromebook_coral we normally run TPL->SPL->U-Boot. This is the
'bare metal' case.

When running from coreboot we put u-boot.bin in the RW_LEGACY portion
of the image, e.g. with:

   cbfstool image-coral.serial.bin add-flat-binary -r RW_LEGACY \
	-f /tmp/b/chromebook_coral/u-boot.bin -n altfw/u-boot \
	-c lzma -l 0x1110000 -e 0x1110000

In this case U-Boot is run from coreboot (actually Depthcharge, its
payload) so we cannot access CAR. Use the existing stack instead.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
2020-04-30 17:48:17 +08:00
..
cpu x86: Use the existing stack when chain-loading 2020-04-30 17:48:17 +08:00
dts tpm: cr50: Use the correct GPIO binding 2020-04-16 14:36:28 +08:00
include/asm x86: Move coreboot-table detection into common code 2020-04-30 17:47:06 +08:00
lib x86: cpu: Skip init code when chain loading 2020-04-30 17:40:16 +08:00
config.mk kconfig / kbuild: Re-sync with Linux 4.19 2020-04-10 11:18:32 -04:00
Kconfig x86: Add support for ACPI general-purpose events 2020-02-07 22:46:35 +08:00
Makefile x86: Allow 16-bit init to be in TPL 2019-05-08 13:02:13 +08:00