summaryrefslogtreecommitdiff
path: root/src/soc/intel/xeon_sp
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2024-07-29 17:23:41 +0200
committerFelix Held <felix-coreboot@felixheld.de>2024-07-31 14:32:51 +0000
commitad8d0eff746bf2612b1f043cee43b6f1dcd408aa (patch)
tree3c210c8ddf3ea4148667e843ccacd978f19ca017 /src/soc/intel/xeon_sp
parent32c38ca221ff5956a81026fd0e5df330d569fcca (diff)
device/path: rename domain path struct element to 'domain_id'
Rename the 'domain' element of the 'domain_path' struct to 'domain_id' to clarify that this element is the domain ID. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Suggested-by: Martin Roth <gaumless@gmail.com> Change-Id: I3995deb83a669699434f0073aed0e12b688bf6e7 Reviewed-on: https://review.coreboot.org/c/coreboot/+/83677 Reviewed-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@mailbox.org> Reviewed-by: Shuo Liu <shuo.liu@intel.com>
Diffstat (limited to 'src/soc/intel/xeon_sp')
-rw-r--r--src/soc/intel/xeon_sp/include/soc/chip_common.h2
-rw-r--r--src/soc/intel/xeon_sp/spr/ioat.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/intel/xeon_sp/include/soc/chip_common.h b/src/soc/intel/xeon_sp/include/soc/chip_common.h
index 4731bec2d7..ed278a3cd2 100644
--- a/src/soc/intel/xeon_sp/include/soc/chip_common.h
+++ b/src/soc/intel/xeon_sp/include/soc/chip_common.h
@@ -30,7 +30,7 @@ static inline void init_xeon_domain_path(struct device_path *path, int socket,
.bus = bus,
};
path->type = DEVICE_PATH_DOMAIN;
- path->domain.domain = dp.domain_path;
+ path->domain.domain_id = dp.domain_path;
};
/*
diff --git a/src/soc/intel/xeon_sp/spr/ioat.c b/src/soc/intel/xeon_sp/spr/ioat.c
index 8b9921a5df..fcc3a20e2d 100644
--- a/src/soc/intel/xeon_sp/spr/ioat.c
+++ b/src/soc/intel/xeon_sp/spr/ioat.c
@@ -44,7 +44,7 @@ static struct device *const create_ioat_domain(const union xeon_domain_path dp,
struct device_path path = {
.type = DEVICE_PATH_DOMAIN,
.domain = {
- .domain = new_path.domain_path,
+ .domain_id = new_path.domain_path,
},
};
struct device *const domain = alloc_find_dev(upstream, &path);