From a159075d3f86159ab31e0b551f2bb58ff3ceeca7 Mon Sep 17 00:00:00 2001 From: Felix Held Date: Thu, 3 Aug 2023 15:56:48 +0200 Subject: soc/amd/*/include/data_fabric: reorder register definitions Order the data fabric register definitions by function number and register offset. Signed-off-by: Felix Held Change-Id: Ia3066ad0f564520cb322a3e41a413eb3bf51260d Reviewed-on: https://review.coreboot.org/c/coreboot/+/76923 Tested-by: build bot (Jenkins) Reviewed-by: Martin L Roth --- src/soc/amd/mendocino/include/soc/data_fabric.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/soc/amd/mendocino/include') diff --git a/src/soc/amd/mendocino/include/soc/data_fabric.h b/src/soc/amd/mendocino/include/soc/data_fabric.h index c20f252b20..4a399eb34f 100644 --- a/src/soc/amd/mendocino/include/soc/data_fabric.h +++ b/src/soc/amd/mendocino/include/soc/data_fabric.h @@ -6,6 +6,8 @@ #include #include +#define IOMS0_FABRIC_ID 9 + #define DF_MMIO_BASE0 DF_REG_ID(0, 0x200) #define DF_MMIO_LIMIT0 DF_REG_ID(0, 0x204) #define DF_MMIO_SHIFT 16 @@ -19,12 +21,6 @@ #define DF_MMIO_REG_SET_COUNT 8 -#define DF_FICAA_BIOS DF_REG_ID(4, 0x5C) -#define DF_FICAD_LO DF_REG_ID(4, 0x98) -#define DF_FICAD_HI DF_REG_ID(4, 0x9C) - -#define IOMS0_FABRIC_ID 9 - union df_mmio_control { struct { uint32_t re : 1; /* [ 0.. 0] */ @@ -38,6 +34,10 @@ union df_mmio_control { uint32_t raw; }; +#define DF_FICAA_BIOS DF_REG_ID(4, 0x5C) +#define DF_FICAD_LO DF_REG_ID(4, 0x98) +#define DF_FICAD_HI DF_REG_ID(4, 0x9C) + union df_ficaa { struct { uint32_t cfg_inst_acc_en : 1; /* [ 0.. 0] */ -- cgit v1.2.3