summaryrefslogtreecommitdiff
path: root/src/soc/amd/common/block/include/amdblocks
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2021-11-24 11:44:50 +0100
committerFelix Held <felix-coreboot@felixheld.de>2021-11-25 18:46:16 +0000
commitd560ad6e7a372c4e3d1c14d158ca9318c5b1ba90 (patch)
treea3875b662a05ef10e9b97b728c700db6654d7ef5 /src/soc/amd/common/block/include/amdblocks
parent2f5cb2e3556db4b5fc7e372488e194646893e4fa (diff)
soc/amd/*/data_fabric: use DF_ prefix for bit and shift defines
Adding the DP_ prefix to the defines for MMIO_NP, MMIO_WE and MMIO_RE clarifies the scope of those definitions. For consistency also add this prefix to MMIO_DST_FABRIC_ID_SHIFT. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: I3a509ccc071aa51a67552fb9e7195358a76fe4dc Reviewed-on: https://review.coreboot.org/c/coreboot/+/59627 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Diffstat (limited to 'src/soc/amd/common/block/include/amdblocks')
-rw-r--r--src/soc/amd/common/block/include/amdblocks/data_fabric.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/soc/amd/common/block/include/amdblocks/data_fabric.h b/src/soc/amd/common/block/include/amdblocks/data_fabric.h
index ede507564a..604c24e16f 100644
--- a/src/soc/amd/common/block/include/amdblocks/data_fabric.h
+++ b/src/soc/amd/common/block/include/amdblocks/data_fabric.h
@@ -16,9 +16,9 @@
#define D18F0_MMIO_SHIFT 16
#define D18F0_MMIO_CTRL0 0x208
/* The MMIO_NP bit is SoC-specific */
-#define MMIO_DST_FABRIC_ID_SHIFT 4
-#define MMIO_WE BIT(1)
-#define MMIO_RE BIT(0)
+#define DF_MMIO_DST_FABRIC_ID_SHIFT 4
+#define DF_MMIO_WE BIT(1)
+#define DF_MMIO_RE BIT(0)
/* The number of data fabric MMIO registers is SoC-specific */
#define NB_MMIO_BASE(reg) ((reg) * 4 * sizeof(uint32_t) + D18F0_MMIO_BASE0)