summaryrefslogtreecommitdiff
path: root/src/soc/amd/phoenix
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2023-08-03 00:29:55 +0200
committerFelix Held <felix-coreboot@felixheld.de>2023-08-08 19:41:51 +0000
commit382c83e6db6a390624ff5ac067ff4480b2c06e73 (patch)
treed8f4f148b24c96b9a9f804bfb3d0352f2ba3ea13 /src/soc/amd/phoenix
parent4078d14a7eb0ccd83ed576e0b4b11e0af5893671 (diff)
soc/amd/*/include/data_fabric: rename D18F0_MMIO_* to DF_MMIO_*
Now that the data fabric PCI device functions are included in the register definitions, the remaining data fabric device function numbers can be dropped from the define names. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: Ia0355838ac1d513ba562fd6fb4672342dd383498 Reviewed-on: https://review.coreboot.org/c/coreboot/+/76888 Reviewed-by: Martin Roth <martin.roth@amd.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Diffstat (limited to 'src/soc/amd/phoenix')
-rw-r--r--src/soc/amd/phoenix/include/soc/data_fabric.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/soc/amd/phoenix/include/soc/data_fabric.h b/src/soc/amd/phoenix/include/soc/data_fabric.h
index 790b868ef8..ccb830fee0 100644
--- a/src/soc/amd/phoenix/include/soc/data_fabric.h
+++ b/src/soc/amd/phoenix/include/soc/data_fabric.h
@@ -6,11 +6,10 @@
#include <amdblocks/data_fabric_defs.h>
#include <types.h>
-/* D18F0 - Fabric Configuration registers */
-#define D18F0_MMIO_BASE0 DF_REG_ID(0, 0xD80)
-#define D18F0_MMIO_LIMIT0 DF_REG_ID(0, 0xD84)
-#define D18F0_MMIO_SHIFT 16
-#define D18F0_MMIO_CTRL0 DF_REG_ID(0, 0xD88)
+#define DF_MMIO_BASE0 DF_REG_ID(0, 0xD80)
+#define DF_MMIO_LIMIT0 DF_REG_ID(0, 0xD84)
+#define DF_MMIO_SHIFT 16
+#define DF_MMIO_CTRL0 DF_REG_ID(0, 0xD88)
#define DF_MMIO_REG_SET_SIZE 4
#define DF_MMIO_REG_SET_COUNT 8