u-boot/arch/x86/cpu
Wolfgang Wallner 2c64d11e32 x86: apl: Use cpu_x86_get_count() for cpu_ops.get_count
Use cpu_x86_get_count() to read the number of cores.

cpu_x86_get_count() reads the number of CPUs from the device tree.
Using this function we can support multiple Apollo Lake
variants, e.g.: E3940 (4 cores) and E3930 (2 cores).

This was tested on the E3940 and E3930 Apollo Lake variants.

Signed-off-by: Wolfgang Wallner <wolfgang.wallner@br-automation.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
2020-03-05 18:25:22 +08:00
..
apollolake x86: apl: Use cpu_x86_get_count() for cpu_ops.get_count 2020-03-05 18:25:22 +08:00
baytrail common: Move ll_boot_init() to init.h 2020-01-17 13:27:28 -05: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: timer: use a timer base of 0 2019-12-15 11:44:09 +08:00
efi common: Move board_get_usable_ram_top() out of common.h 2019-12-02 18:25:04 -05:00
i386 x86: Give each driver an IRQ type 2020-02-07 22:45:35 +08:00
intel_common x86: p2sb: Drop 'apl' prefix 2020-03-05 18:25:21 +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 common: Move hang() to the same header as panic() 2020-01-17 17:53:40 -05: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 common: Move RAM-sizing functions to init.h 2020-01-17 14:02:35 -05: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 common: Move ll_boot_init() to init.h 2020-01-17 13:27:28 -05: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: 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
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 a common location 2019-10-08 13:57:46 +08:00