coreboot-kgpe-d16/src/soc/intel/denverton_ns
Angel Pons f5dfe248ce soc/intel/denverton_ns: Use popcnt() helper
Use the `popcnt()` helper instead of manually counting the number of set
bits in the first `CONFIG_MAX_CPUS` bits with a loop. Also, use unsigned
types to store the number of active/total cores.

Change-Id: Iae6b16991fcf07c9ad67d2b737e490212b8deedd
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/58912
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
2021-12-17 21:41:39 +00:00
..
acpi Rename ECAM-specific MMCONF Kconfigs 2021-11-10 17:24:16 +00:00
bootblock soc/intel/denverton_ns: Fix MRC_RW_CACHE 2021-12-15 12:11:04 +00:00
include/soc soc/intel/denverton_ns: Use popcnt() helper 2021-12-17 21:41:39 +00:00
acpi.c soc/intel/denverton_ns: Fetch addr bits at runtime 2021-11-02 16:03:29 +00:00
chip.c soc/intel/denverton_ns: use mp_cpu_bus_init 2021-10-22 14:59:08 +00:00
chip.h
cpu.c soc/intel/denverton_ns: Use popcnt() helper 2021-12-17 21:41:39 +00:00
csme_ie_kt.c
fiamux.c
gpio.c
gpio_dnv.c src: use ARRAY_SIZE where possible 2021-02-15 11:30:40 +00:00
hob_display.c
hob_mem.c
Kconfig soc/intel/denverton_ns: Use common SMBus support code 2021-12-15 12:10:22 +00:00
lpc.c sb,soc/intel: Replace set_ioapic_id() with setup_ioapic() 2021-10-22 14:16:38 +00:00
Makefile.inc cpu/x86: Introduce and use CPU_X86_LAPIC 2021-10-26 17:44:14 +00:00
memmap.c
npk.c
pmc.c soc/intel/{skl,cnl,dnv}: disable PM ACPI timer if chosen 2021-10-17 13:58:15 +00:00
pmutil.c
reset.c
romstage.c
sata.c
smihandler.c
smm.c
soc_util.c arch/x86: Use ENV_X86_64 instead of _x86_64_ 2021-07-06 06:09:13 +00:00
spi.c
systemagent.c
tsc_freq.c
uart.c soc/intel: Replace bad uses of find_resource 2021-11-04 17:34:30 +00:00
uart_debug.c
upd_display.c
xhci.c