u-boot-brain/arch/x86/cpu
Simon Glass 0e72ac7150 x86: Move CPU init to before spl_init()
At present we call spl_init() before identifying the CPU. This is not a
good idea - e.g. if bootstage is enabled then it will try to set up the
timer which works better if the CPU is identified.

Put explicit code at each entry pointer to identify the CPU.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
2019-11-03 07:20:28 +08:00
..
baytrail x86: Tidy up some duplicate MSR defines 2019-10-08 13:57:47 +08:00
braswell x86: Rename some FSP functions to have an fsp_ prefix 2019-10-08 13:53:34 +08:00
broadwell x86: Tidy up some duplicate MSR defines 2019-10-08 13:57:47 +08:00
coreboot x86: Remove x86 specific GD flags as they are not referenced at all 2019-08-18 21:54:10 +08:00
efi efi: payload: only init usb if necessary 2018-12-10 10:14:42 +08:00
i386 x86: Add a CPU init function for TPL 2019-11-03 07:20:28 +08:00
intel_common x86: Add new common CPU functions for turbo/burst mode 2019-10-08 13:57:47 +08:00
ivybridge x86: Add common functions for TDP and perf control 2019-10-08 13:57:47 +08:00
qemu x86: qemu: Report high memory in the E820 table 2019-09-10 14:19:39 +08:00
quark x86: Kconfig: spelling fixes 2019-01-18 09:16:15 -05:00
queensbay x86: Rename some FSP functions to have an fsp_ prefix 2019-10-08 13:53:34 +08:00
slimbootloader x86: slimbootloader: Set TSC information for tsc_timer 2019-08-09 22:24:02 +08:00
tangier x86: tangier: Fix off-by-one error when preparing CSRT 2019-09-10 16:19:03 +08:00
x86_64 x86: Add a way to reinit the cpu 2019-05-08 13:02:11 +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_x86.c cpu: Add DM_FLAG_PRE_RELOC flag to various cpu drivers 2018-11-14 09:16:28 -08:00
cpu.c x86: Move acpi_s3.h to a common location 2019-10-08 13:57:46 +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: irq: Support discrete PIRQ routing registers via device tree 2018-06-13 09:50:57 +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: cpu: Don't include the cpu driver in TPL 2019-10-08 13:57:49 +08:00
mp_init.c x86: mp_init: Use proper error numbers 2019-05-08 13:02:11 +08:00
mtrr.c x86: Add a function to set variable MTRRs 2019-10-08 13:57:48 +08:00
pci.c x86: pci: Drop the first parameter in pci_x86_r/w_config() 2019-10-08 13:57:46 +08: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
start16.S x86: Remove x86 specific GD flags as they are not referenced at all 2019-08-18 21:54:10 +08:00
start64.S x86: start64: Fix copyright message 2019-05-08 13:02:10 +08:00
start_from_spl.S x86: Move CPU init to before spl_init() 2019-11-03 07:20:28 +08:00
start_from_tpl.S x86: Add more comments to the start-up code 2019-10-08 13:57:36 +08:00
start.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: Add binman symbols to the image 2019-10-08 13:57:35 +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 a common location 2019-10-08 13:57:46 +08:00