summaryrefslogtreecommitdiff
path: root/src/soc/amd/phoenix/include
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2023-08-03 15:56:48 +0200
committerFelix Held <felix-coreboot@felixheld.de>2023-08-08 19:42:39 +0000
commita159075d3f86159ab31e0b551f2bb58ff3ceeca7 (patch)
treec72d5d9814d7eca3c589271f5336a3681a7754c9 /src/soc/amd/phoenix/include
parentb25bf3458b2b76ff067f465e4f331778d1b79777 (diff)
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 <felix-coreboot@felixheld.de> Change-Id: Ia3066ad0f564520cb322a3e41a413eb3bf51260d Reviewed-on: https://review.coreboot.org/c/coreboot/+/76923 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin L Roth <gaumless@gmail.com>
Diffstat (limited to 'src/soc/amd/phoenix/include')
-rw-r--r--src/soc/amd/phoenix/include/soc/data_fabric.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/soc/amd/phoenix/include/soc/data_fabric.h b/src/soc/amd/phoenix/include/soc/data_fabric.h
index ccb830fee0..e950817cbe 100644
--- a/src/soc/amd/phoenix/include/soc/data_fabric.h
+++ b/src/soc/amd/phoenix/include/soc/data_fabric.h
@@ -6,6 +6,8 @@
#include <amdblocks/data_fabric_defs.h>
#include <types.h>
+#define IOMS0_FABRIC_ID 0x13
+
#define DF_MMIO_BASE0 DF_REG_ID(0, 0xD80)
#define DF_MMIO_LIMIT0 DF_REG_ID(0, 0xD84)
#define DF_MMIO_SHIFT 16
@@ -14,12 +16,6 @@
#define DF_MMIO_REG_SET_SIZE 4
#define DF_MMIO_REG_SET_COUNT 8
-#define DF_FICAA_BIOS DF_REG_ID(4, 0x8C)
-#define DF_FICAD_LO DF_REG_ID(4, 0xB8)
-#define DF_FICAD_HI DF_REG_ID(4, 0xBC)
-
-#define IOMS0_FABRIC_ID 0x13
-
union df_mmio_control {
struct {
uint32_t re : 1; /* [ 0.. 0] */
@@ -33,6 +29,10 @@ union df_mmio_control {
uint32_t raw;
};
+#define DF_FICAA_BIOS DF_REG_ID(4, 0x8C)
+#define DF_FICAD_LO DF_REG_ID(4, 0xB8)
+#define DF_FICAD_HI DF_REG_ID(4, 0xBC)
+
union df_ficaa {
struct {
uint32_t cfg_inst_acc_en : 1; /* [ 0.. 0] */