coreboot/src
Felix Held 77128a8dcd soc/amd/common/data_fabric_helper: normalize addresses in debug print
Instead of just printing the register contents, normalize the contents
of the base and limit registers to actual MMIO addresses and then print
those. This will hopefully avoid some confusion caused by the shifted
addresses.

Output on Mandolin before the patch:

=== Data Fabric MMIO configuration registers ===
Addresses are shifted to the right by 16 bits.
idx  control     base    limit
  0       93     fc00     febf
  1       93  1000000 ffffffff
  2       93     d000     f7ff
  3     1093     fed0     fedf
  4       90        0        0
  5       90        0        0
  6       90        0        0
  7       90        0        0

Output on Mandolin after the patch:

=== Data Fabric MMIO configuration registers ===
idx  control             base            limit
  0       93         fc000000         febfffff
  1       93      10000000000     ffffffffffff
  2       93         d0000000         f7ffffff
  3     1093         fed00000         fedfffff
  4       90                0             ffff
  5       90                0             ffff
  6       90                0             ffff
  7       90                0             ffff

Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: I62eeb88ddac6a7a421fccc8e433523459117976a
Reviewed-on: https://review.coreboot.org/c/coreboot/+/72739
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com>
2023-02-07 11:01:33 +00:00
..
acpi acpi/acpigen: introduce acpigen_write_processor_device 2023-01-31 17:35:42 +00:00
arch tree: Drop repeated words 2023-02-07 04:37:31 +00:00
commonlib src: Move POST_BOOTBLOCK_CAR to common postcodes and use it 2023-02-07 10:53:34 +00:00
console console: Print architecture 2023-01-31 15:26:16 +00:00
cpu src: Move POST_BOOTBLOCK_CAR to common postcodes and use it 2023-02-07 10:53:34 +00:00
device device/pci_device.c: Add way to limit max bus numbers 2023-02-06 00:22:46 +00:00
drivers src: Move POST_BOOTBLOCK_CAR to common postcodes and use it 2023-02-07 10:53:34 +00:00
ec ec/google/wilco/acpi: Add DPTF RCDP() method 2023-02-01 14:59:44 +00:00
include src: Move POST_BOOTBLOCK_CAR to common postcodes and use it 2023-02-07 10:53:34 +00:00
lib treewide: stop calling custom TPM log "TCPA" 2023-01-11 16:00:55 +00:00
mainboard mb/intel/mtlrvp: Enable GSPI interface 2023-02-07 07:17:14 +00:00
northbridge mb/*: Replace SNB PCI devices with references from chipset.cb 2023-02-04 01:42:39 +00:00
sbom src/sbom: Add code documentation + fix misspelling 2023-01-31 15:20:51 +00:00
security security/vboot: Don't build with flashrom support 2023-02-05 01:11:21 +00:00
soc soc/amd/common/data_fabric_helper: normalize addresses in debug print 2023-02-07 11:01:33 +00:00
southbridge tree: Drop repeated words 2023-02-07 04:37:31 +00:00
superio {superio,ec}/acpi: Replace constant "Zero" with actual number 2022-12-27 09:06:29 +00:00
vendorcode tree: Drop repeated words 2023-02-07 04:37:31 +00:00
Kconfig tree: Drop repeated words 2023-02-07 04:37:31 +00:00