summaryrefslogtreecommitdiff
path: root/src/mainboard/google/parrot/ec.c
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2021-11-03 15:50:06 +0100
committerFelix Held <felix-coreboot@felixheld.de>2021-12-17 21:41:39 +0000
commitf5dfe248ce30ff91a02430b925f3e4bd5dda955a (patch)
treeb556cce475c206cfe1bc75e532e4dbb6cbcf5cd9 /src/mainboard/google/parrot/ec.c
parent4aaea8504406c8bce8f853e5b7064de2138f54f3 (diff)
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>
Diffstat (limited to 'src/mainboard/google/parrot/ec.c')
0 files changed, 0 insertions, 0 deletions