summaryrefslogtreecommitdiff
path: root/src/soc/amd/mendocino/include
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2023-08-04 18:45:36 +0200
committerFelix Held <felix-coreboot@felixheld.de>2023-08-08 19:43:07 +0000
commit84a60fbb1bdd17b3ca51532f5991fb78ad0f8635 (patch)
treee4a6e1c973a5ff3767236d5e4ca58239e01a43fe /src/soc/amd/mendocino/include
parenta159075d3f86159ab31e0b551f2bb58ff3ceeca7 (diff)
soc/amd/*/include/data_fabric: add dst_ prefix to fabric_id field
Rename the fabric_id struct field in the df_mmio_control union to dst_fabric_id to both better match the register definitions and also be a bit clearer about what this is doing. Also use tabs for indentation in the struct inside the df_mmio_control union. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: I0a17d82a5d7b66a8f84854f21fbbb319da81ac43 Reviewed-on: https://review.coreboot.org/c/coreboot/+/76932 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com> Reviewed-by: Martin Roth <martin.roth@amd.corp-partner.google.com>
Diffstat (limited to 'src/soc/amd/mendocino/include')
-rw-r--r--src/soc/amd/mendocino/include/soc/data_fabric.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/soc/amd/mendocino/include/soc/data_fabric.h b/src/soc/amd/mendocino/include/soc/data_fabric.h
index 4a399eb34f..3249a8538b 100644
--- a/src/soc/amd/mendocino/include/soc/data_fabric.h
+++ b/src/soc/amd/mendocino/include/soc/data_fabric.h
@@ -23,13 +23,13 @@
union df_mmio_control {
struct {
- uint32_t re : 1; /* [ 0.. 0] */
- uint32_t we : 1; /* [ 1.. 1] */
- uint32_t : 2; /* [ 3.. 2] */
- uint32_t fabric_id : 4; /* [ 7.. 4] */
- uint32_t : 8; /* [15.. 8] */
- uint32_t np : 1; /* [16..16] */
- uint32_t : 15; /* [31..17] */
+ uint32_t re : 1; /* [ 0.. 0] */
+ uint32_t we : 1; /* [ 1.. 1] */
+ uint32_t : 2; /* [ 3.. 2] */
+ uint32_t dst_fabric_id : 4; /* [ 7.. 4] */
+ uint32_t : 8; /* [15.. 8] */
+ uint32_t np : 1; /* [16..16] */
+ uint32_t : 15; /* [31..17] */
};
uint32_t raw;
};