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/phoenix/include/soc/data_fabric.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/soc/amd/phoenix/include') diff --git a/src/soc/amd/phoenix/include/soc/data_fabric.h b/src/soc/amd/phoenix/include/soc/data_fabric.h index e950817cbe..bfe49d58e9 100644 --- a/src/soc/amd/phoenix/include/soc/data_fabric.h +++ b/src/soc/amd/phoenix/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; }; -- cgit v1.2.3