From 84a60fbb1bdd17b3ca51532f5991fb78ad0f8635 Mon Sep 17 00:00:00 2001 From: Felix Held Date: Fri, 4 Aug 2023 18:45:36 +0200 Subject: 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 Change-Id: I0a17d82a5d7b66a8f84854f21fbbb319da81ac43 Reviewed-on: https://review.coreboot.org/c/coreboot/+/76932 Tested-by: build bot (Jenkins) Reviewed-by: Fred Reitberger Reviewed-by: Martin Roth --- src/soc/amd/cezanne/include/soc/data_fabric.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/soc/amd/cezanne/include') diff --git a/src/soc/amd/cezanne/include/soc/data_fabric.h b/src/soc/amd/cezanne/include/soc/data_fabric.h index 5aabc2308b..3cb0fd71ed 100644 --- a/src/soc/amd/cezanne/include/soc/data_fabric.h +++ b/src/soc/amd/cezanne/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 : 2; /* [ 3.. 2] */ - uint32_t fabric_id : 10; /* [13.. 4] */ - uint32_t : 2; /* [15..14] */ - 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 : 10; /* [13.. 4] */ + uint32_t : 2; /* [15..14] */ + uint32_t np : 1; /* [16..16] */ + uint32_t : 15; /* [31..17] */ }; uint32_t raw; }; -- cgit v1.2.3