u-boot/arch/x86/lib
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
..
fsp x86: Move acpi_s3.h to a common location 2019-10-08 13:57:46 +08:00
fsp1 x86: Move acpi_s3.h to a common location 2019-10-08 13:57:46 +08:00
acpi.c x86: acpi: Move APIs unrelated to ACPI tables generation to a separate library 2018-07-20 09:33:22 +08:00
acpi_s3.c x86: Move acpi_s3.h to a common location 2019-10-08 13:57:46 +08:00
acpi_table.c x86: acpi: Introduce a stub to generate CSRT 2019-08-09 22:24:02 +08:00
asm-offsets.c x86: Add new slimbootloader CPU type 2019-08-09 22:24:02 +08:00
bios.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
bios.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
bios_asm.S SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
bios_interrupts.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
bootm.c x86: Don't generate a bootstage report in SPL 2019-05-08 13:02:16 +08:00
cmd_boot.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
coreboot_table.c x86: Move acpi_s3.h to a common location 2019-10-08 13:57:46 +08:00
crt0_ia32_efi.S SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
crt0_x86_64_efi.S x86: Remove unused _relocate arguments 2018-07-19 16:31:36 -04:00
div64.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
e820.c x86: efi_loader: Use efi_add_conventional_memory_map() 2019-09-10 14:31:42 +08:00
early_cmos.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
elf_ia32_efi.lds x86: Include bss subsections in linker script 2018-08-20 14:17:43 +02:00
elf_x86_64_efi.lds x86: Include bss subsections in linker script 2018-08-20 14:17:43 +02:00
hob.c x86: fsp: Tidy up comment style a little 2019-10-08 13:53:54 +08:00
i8254.c x86: Make sure i8254 is setup correctly before generating beeps 2019-03-11 22:55:01 +08:00
i8259.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
init_helpers.c x86: Use mtrr_commit() with FSP2 2019-10-08 13:57:49 +08:00
interrupts.c x86: Wrap calls to 8259 with CONFIG_I8259_PIC 2018-12-10 10:14:30 +08:00
lpc-uclass.c x86: Allow the PCH and LPC uclasses to work with of-platdata 2019-10-08 13:57:48 +08:00
Makefile x86: fsp: Move common dram functions into a common file 2019-10-08 13:53:57 +08:00
mpspec.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
mrccache.c x86: Add a function to find the size of an mrccache record 2019-10-11 17:37:19 +08:00
northbridge-uclass.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
physmem.c x86: Move paging functions into cpu.c 2014-10-28 20:42:51 -06:00
pinctrl_ich6.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pirq_routing.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pmu.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ramtest.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
reloc_ia32_efi.c elf: Move x86 reloc defines to common elf.h 2018-07-25 14:57:43 +02:00
reloc_x86_64_efi.c elf: Move x86 reloc defines to common elf.h 2018-07-25 14:57:43 +02:00
relocate.c x86: detect unsupported relocation types 2018-10-22 17:51:45 +08:00
scu.c x86: cpu: add docstring to scu_ipc_command() 2018-09-17 17:35:53 +08:00
sections.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sfi.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
spl.c x86: Move CPU init to before spl_init() 2019-11-03 07:20:28 +08:00
string.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
tables.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
tpl.c x86: Move CPU init to before spl_init() 2019-11-03 07:20:28 +08:00
zimage.c x86: zImage: Propagate acpi_rsdp_addr to kernel via boot parameters 2019-10-01 18:20:47 +08:00