diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2021-07-13 02:00:55 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2021-07-14 02:25:43 +0000 |
commit | c75c8c15b99b5045caa77b2447cfff69b725576c (patch) | |
tree | 956a34c1128cadc1c86f733c5888eb97535933dd /src/soc/nvidia/tegra210/stack.S | |
parent | bad21a4bd204e4fd22fb683f389dfde21000e22d (diff) |
soc/intel/common/block/cpu/cpulib: 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, and make it constant.
Change-Id: I449c74629ff16057c4559d7fd3620208230560f5
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/56245
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/nvidia/tegra210/stack.S')
0 files changed, 0 insertions, 0 deletions