aboutsummaryrefslogtreecommitdiff
path: root/src/soc/amd/glinda/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/glinda/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/glinda/include')
-rw-r--r--src/soc/amd/glinda/include/soc/data_fabric.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/soc/amd/glinda/include/soc/data_fabric.h b/src/soc/amd/glinda/include/soc/data_fabric.h
index 9ebb74f96b..acacb0ea6e 100644
--- a/src/soc/amd/glinda/include/soc/data_fabric.h
+++ b/src/soc/amd/glinda/include/soc/data_fabric.h
@@ -18,13 +18,13 @@
union df_mmio_control {
struct {
- uint32_t re : 1; /* [ 0.. 0] */
- uint32_t we : 1; /* [ 1.. 1] */
- uint32_t : 1; /* [ 2.. 2] */
- uint32_t np : 1; /* [ 3.. 3] */
- uint32_t : 12; /* [15.. 4] */
- uint32_t fabric_id : 6; /* [21..16] */
- uint32_t : 10; /* [31..22] */
+ uint32_t re : 1; /* [ 0.. 0] */
+ uint32_t we : 1; /* [ 1.. 1] */
+ uint32_t : 1; /* [ 2.. 2] */
+ uint32_t np : 1; /* [ 3.. 3] */
+ uint32_t : 12; /* [15.. 4] */
+ uint32_t dst_fabric_id : 6; /* [21..16] */
+ uint32_t : 10; /* [31..22] */
};
uint32_t raw;
};