aboutsummaryrefslogtreecommitdiff
path: root/src/soc/amd/glinda/include
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2023-02-07 12:06:41 +0100
committerFelix Held <felix-coreboot@felixheld.de>2023-02-08 13:09:06 +0000
commitb307ed66b04e6d0c77fbdec6eeb17f8eb7e22c15 (patch)
treeeb61469d5635085ba2ee094d53e2f53a22baec71 /src/soc/amd/glinda/include
parent7c7294fa27c1508742f6ea7cf98a959d468478ba (diff)
soc/amd/*/data_fabric: rename define for MMIO decode register set count
This should make it a bit clearer that those registers are in the data fabric configuration registers. Also move those defines right after the register definition those are related to. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: Ic107bd217f4af0a9ddfbe41aafd3c882aa968e22 Reviewed-on: https://review.coreboot.org/c/coreboot/+/72876 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com>
Diffstat (limited to 'src/soc/amd/glinda/include')
-rw-r--r--src/soc/amd/glinda/include/soc/data_fabric.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/amd/glinda/include/soc/data_fabric.h b/src/soc/amd/glinda/include/soc/data_fabric.h
index 7be4b15b1f..5a1e77caf2 100644
--- a/src/soc/amd/glinda/include/soc/data_fabric.h
+++ b/src/soc/amd/glinda/include/soc/data_fabric.h
@@ -11,14 +11,14 @@
#define D18F0_MMIO_SHIFT 16
#define D18F0_MMIO_CTRL0 0xD88
+#define DF_MMIO_REG_SET_COUNT 8
+
#define DF_FICAA_BIOS 0x8C
#define DF_FICAD_LO 0xB8
#define DF_FICAD_HI 0xBC
#define IOMS0_FABRIC_ID 15
-#define NUM_NB_MMIO_REGS 8
-
union df_mmio_control {
struct {
uint32_t re : 1; /* [ 0.. 0] */