u-boot-brain/arch/x86/cpu
Simon Glass e5aa8a9b15 x86: Support a chained-boot development flow
Sometimes it is useful to jump into U-Boot directly from coreboot or UEFI
without any 16-bit init. This can help during development by allowing U-Boot
to avoid doing all the init required by the platform.

U-Boot expects its GDT to be set up correctly by its 16-bit code. If
coreboot doesn't do this (because it hasn't run the payload setup code yet)
then this won't happen.

In this case we cannot rely on the GDT settings. U-Boot will hang or crash
if these are wrong. Provide a development-only option to set up the GDT
correctly. This is just a hack so you can jump to U-Boot from any stage of
coreboot, not just at the end.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
2016-03-17 10:27:27 +08:00
..
baytrail x86: baytrail: Add option to disable the internal UART to setup_early_uart() 2016-01-28 13:53:30 +08:00
broadwell x86: broadwell: Add support for high-speed I/O lane with ME 2016-03-17 10:27:26 +08:00
coreboot x86: Move asm/arch-coreboot/tables.h to a common place 2016-03-17 10:27:21 +08:00
efi x86: Convert to use driver model timer 2015-12-01 06:26:35 -07:00
intel_common x86: Add common SDRAM-init code 2016-03-17 10:27:27 +08:00
ivybridge x86: ivybridge: Convert to use the common SDRAM code 2016-03-17 10:27:27 +08:00
qemu x86: Change write_acpi_tables() signature a little bit 2016-03-17 10:27:22 +08:00
quark x86: quark: Use Quark's own PCI config APIs 2016-02-05 12:47:23 +08:00
queensbay x86: tnc: Remove IGD and SDVO devices from driver model 2016-02-05 12:47:22 +08:00
call32.S x86: Add a way to call 32-bit code from 64-bit mode 2015-08-05 08:44:07 -06:00
call64.S x86: Tidy up the 64-bit calling code 2015-08-05 08:42:41 -06:00
config.mk x86: Add Kconfig options to be used by arch/x86/cpu/config.mk 2015-07-14 18:03:15 -06:00
cpu_x86.c x86: Move MP initialization codes into a common place 2015-07-14 18:03:16 -06:00
cpu.c x86: Update microcode for secondary CPUs 2016-03-17 10:27:25 +08:00
interrupts.c dm: Use uclass_first_device_err() where it is useful 2016-03-14 15:34:50 -06:00
ioapic.c x86: Add a function to set the IOAPIC ID 2016-03-17 10:27:27 +08:00
irq.c x86: irq: Convert to use DM PCI API 2016-02-05 12:47:22 +08:00
lapic.c x86: Remove inline for lapic access routines 2015-07-14 18:03:17 -06:00
Makefile x86: Add basic support for broadwell 2016-03-17 10:27:25 +08:00
mp_init.c x86: Update microcode for secondary CPUs 2016-03-17 10:27:25 +08:00
mtrr.c x86: Test mtrr support flag before accessing mtrr msr 2015-01-23 17:24:55 -07:00
pci.c x86: pci: Drop legacy PCI APIs 2016-02-05 12:47:23 +08:00
resetvec.S Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
sipi_vector.S x86: Add comments to the SIPI vector 2016-03-17 10:27:23 +08:00
start.S x86: Support a chained-boot development flow 2016-03-17 10:27:27 +08:00
start16.S x86: fsp: Load GDT before calling FspInitEntry 2015-07-14 18:03:15 -06:00
turbo.c x86: Add Intel speedstep and turbo mode code 2014-11-25 06:34:02 -07:00
u-boot.lds x86: Factor out common values in the link script 2014-11-25 06:33:59 -07:00