coreboot/src
Felix Held 58c2efc8e2 soc/amd/common/data_fabric_helper: use data_fabric_get_mmio_base_size
Use data_fabric_get_mmio_base_size in data_fabric_print_mmio_conf
instead of open coding the functionality. This will fix the printing of
the MMIO config in the SOC_AMD_COMMON_BLOCK_DATA_FABRIC_EXTENDED_MMIO
case which wasn't handled properly before.

TEST=Console output from this function doesn't change on Mandolin:

=== Data Fabric MMIO configuration registers ===
idx             base            limit  control R W NP F-ID
  0         fc000000         febfffff       93 x x       9
  1      10000000000     ffffffffffff       93 x x       9
  2         d0000000         f7ffffff       93 x x       9
  3                0             ffff       90           9
  4         fed00000         fed0ffff       93 x x       9
  5                0             ffff       90           9
  6                0             ffff       90           9
  7                0             ffff       90           9
=== Data Fabric MMIO configuration registers ===
idx             base            limit  control R W NP F-ID
  0         fc000000         febfffff       93 x x       9
  1      10000000000     ffffffffffff       93 x x       9
  2         d0000000         f7ffffff       93 x x       9
  3         fed00000         fedfffff     1093 x x  x    9
  4                0             ffff       90           9
  5                0             ffff       90           9
  6                0             ffff       90           9
  7                0             ffff       90           9

Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: If602922648deca0caef23a9999c82acdd128b182
Reviewed-on: https://review.coreboot.org/c/coreboot/+/77984
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com>
2023-09-18 15:40:29 +00:00
..
acpi acpi: Add functions to declare ARM GIC V3 hardware 2023-09-18 13:34:47 +00:00
arch acpi/Makefile.inc: Move code inclusion 2023-09-18 13:29:10 +00:00
commonlib soc/intel/cmd/blk/cse: Shorten CBMEM field name for better alignment 2023-09-13 18:10:04 +00:00
console commonlib,console,nb,sb,security: Add SPDX licenses to Makefiles 2023-08-14 15:14:45 +00:00
cpu x86: Add .data section support for pre-memory stages 2023-09-14 21:02:07 +00:00
device arch to drivers/intel: Fix misspellings & capitalization issues 2023-09-08 00:53:57 +00:00
drivers drivers/crb: Update error message 2023-09-18 13:11:31 +00:00
ec clean-up: Remove the no more necessary ENV_HAS_DATA_SECTION flag 2023-09-18 13:18:23 +00:00
include acpi: Add functions to declare ARM GIC V3 hardware 2023-09-18 13:34:47 +00:00
lib cbfs: Remove x86 .data section limitation comment 2023-09-18 13:19:51 +00:00
mainboard clean-up: Remove the no more necessary ENV_HAS_DATA_SECTION flag 2023-09-18 13:18:23 +00:00
northbridge nb/intel: Remove space between function name and '(' 2023-09-11 15:52:56 +00:00
sbom payloads/Yabits: Remove deprecated Yabits Payload 2023-02-17 01:21:43 +00:00
security security/vboot: Fix return type of extend_pcrs() 2023-09-18 15:16:08 +00:00
soc soc/amd/common/data_fabric_helper: use data_fabric_get_mmio_base_size 2023-09-18 15:40:29 +00:00
southbridge sb/intel: Remove space between function name and '(' 2023-09-11 15:57:35 +00:00
superio superio/smsc/sch5147/acpi/superio: use IO instead of FixedIO resource 2023-08-11 23:11:57 +00:00
vendorcode vc/intel/raptorlake: Add the FSP v4301.01 headers 2023-09-15 13:48:37 +00:00
Kconfig Kconfig: Add option to make clang the default compiler 2023-08-24 22:08:59 +00:00