u-boot/arch/x86/cpu
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
..
apollolake x86: apl: Skip init code when chain loading 2020-04-30 17:40:16 +08:00
baytrail x86: Move acpi_table header to main include/ directory 2020-04-16 14:36:28 +08:00
braswell x86: Rename some FSP functions to have an fsp_ prefix 2019-10-08 13:53:34 +08:00
broadwell x86: Update mrccache to support multiple caches 2019-12-15 11:44:14 +08:00
coreboot x86: Move coreboot-table detection into common code 2020-04-30 17:47:06 +08:00
efi common: Move board_get_usable_ram_top() out of common.h 2019-12-02 18:25:04 -05:00
i386 x86: Add a way to detect running from coreboot 2020-04-30 17:48:16 +08:00
intel_common x86: apl: Move p2sb ofdata reading to the correct method 2020-04-16 14:36:28 +08:00
ivybridge x86: Update mrccache to support multiple caches 2019-12-15 11:44:14 +08:00
qemu dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
quark x86: Move acpi_table header to main include/ directory 2020-04-16 14:36:28 +08:00
queensbay x86: Rename some FSP functions to have an fsp_ prefix 2019-10-08 13:53:34 +08:00
slimbootloader x86: serial: Use NS16550_DYNAMIC in Slim Bootloader 2020-02-04 01:19:26 +08:00
tangier x86: Move acpi_table header to main include/ directory 2020-04-16 14:36:28 +08:00
x86_64 common: Move interrupt functions into a new header 2019-12-02 18:25:00 -05:00
acpi_gpe.c x86: Add support for ACPI general-purpose events 2020-02-07 22:46:35 +08:00
call32.S SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
config.mk x86: Drop RESET_SEG_SIZE 2019-10-11 17:37:34 +08:00
cpu.c x86: cpu: Skip init code when chain loading 2020-04-30 17:40:16 +08:00
cpu_x86.c x86: cpu_x86: Make cpu_x86_get_count() non-static 2020-03-05 18:25:22 +08:00
ioapic.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
irq.c x86: Give each driver an IRQ type 2020-02-07 22:45:35 +08:00
lapic.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
Makefile x86: Add support for ACPI general-purpose events 2020-02-07 22:46:35 +08:00
mp_init.c x86: Move qemu CPU fixup function into its own file 2019-12-15 11:44:25 +08:00
mtrr.c common: Move some cache and MMU functions out of common.h 2019-12-02 18:23:55 -05:00
pci.c x86: pci: Drop the first parameter in pci_x86_r/w_config() 2019-10-08 13:57:46 +08:00
qfw_cpu.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
resetvec.S x86: Reduce resetvec size 2019-10-11 17:37:38 +08:00
sipi_vector.S SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
start.S Revert "x86: use invd instead of wbinvd in real mode start code" 2020-03-05 18:19:40 +08:00
start16.S Revert "x86: use invd instead of wbinvd in real mode start code" 2020-03-05 18:19:40 +08:00
start64.S x86: start64: Fix copyright message 2019-05-08 13:02:10 +08:00
start_from_spl.S x86: Use the existing stack when chain-loading 2020-04-30 17:48:17 +08:00
start_from_tpl.S x86: Add more comments to the start-up code 2019-10-08 13:57:36 +08:00
turbo.c x86: Tidy up some duplicate MSR defines 2019-10-08 13:57:47 +08:00
u-boot-64.lds x86: Include bss subsections in linker script 2018-08-20 14:17:43 +02:00
u-boot-spl.lds x86: Define the SPL image start 2019-12-15 11:44:12 +08:00
u-boot.lds x86: Include bss subsections in linker script 2018-08-20 14:17:43 +02:00
wakeup.S x86: Move acpi_s3.h to include/acpi/ 2020-04-16 14:36:28 +08:00