coreboot-kgpe-d16/src
Felix Held 4add9923c0 soc/amd/*/mca: use mca_get_bank_count()
Use the common mca_get_bank_count function instead of open-coding the
functionality to get the MCA bank number. Also re-type the num_banks
variable from signed in to unsigned int, since the number of MCA bank is
always positive.

Change-Id: I126767cf9ad468cab6d6537dd73e9b2dc377b5c4
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/56185
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
2021-07-12 15:29:13 +00:00
..
acpi acpi: Add function to simplify If (CondRefOf (..)) sequences 2021-07-12 07:34:44 +00:00
arch ppc64/byteorder.h: define use of big endian 2021-07-09 11:46:30 +00:00
commonlib timestamp,vc/google/chromeos/cr50: Add timestamp for enable update 2021-07-05 10:50:06 +00:00
console Asm code: Use NO_EARLY_BOOTBLOCK_POSTCODES to remove Asm port80s 2021-06-25 15:51:20 +00:00
cpu cpu/amd/*/model_*_init: use mca_get_bank_count() 2021-07-12 13:33:03 +00:00
device device: Reflow strings in printk statements 2021-07-05 10:52:19 +00:00
drivers drivers/intel/usb4/retimer: remove redundant structure member group(PLD) 2021-07-12 07:29:48 +00:00
ec ec/google: Use EC_HOST_EVENT_NONE 2021-06-30 04:57:16 +00:00
include include/cpu/x86/msr: add mca_get_bank_count function 2021-07-12 13:32:46 +00:00
lib selfboot: Add support for selfload in romstage 2021-07-02 00:47:23 +00:00
mainboard mb/google/brya: Update generic device number for mipi_camera device 2021-07-12 15:16:40 +00:00
northbridge nb/intel/x4x: Expose x86_64 support 2021-07-06 06:09:48 +00:00
security Makefile.inc: Fix IFITTOOL dependencies 2021-07-07 14:51:22 +00:00
soc soc/amd/*/mca: use mca_get_bank_count() 2021-07-12 15:29:13 +00:00
southbridge sb/intel/i82801gx: Prepare for x86_64 2021-07-05 10:49:12 +00:00
superio src: Retype option API to use unsigned integers 2021-05-06 14:48:15 +00:00
vendorcode vc/amd/sb800: Cast to UINT32 for shift out of bounds fix 2021-07-12 07:32:24 +00:00
Kconfig option: Allow mainboards to implement the API 2021-05-28 11:37:25 +00:00