soc/intel/xeon_sp/chip_common: Improve the domain ID
commit8c99ebc97ae55d90400d96f26c31bbb221ca8f74
authorPatrick Rudolph <patrick.rudolph@9elements.com>
Fri, 19 Jan 2024 16:28:47 +0000 (19 17:28 +0100)
committerLean Sheng Tan <sheng.tan@9elements.com>
Wed, 24 Jan 2024 08:52:50 +0000 (24 08:52 +0000)
treed485349c69c89abd33ee1308438ea51f1c7d1123
parentab6bcd2c1a3e47f3bd1ad5c7f1b984a1b38f6da1
soc/intel/xeon_sp/chip_common: Improve the domain ID

Use a union to access the PCI domain ID.
This will become handy in the following commits to gather meta-data
from the domain ID.

Change-Id: I5c371961768410167a571358f6f366847a259eb6
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/80099
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
src/soc/intel/xeon_sp/chip_common.c
src/soc/intel/xeon_sp/include/soc/chip_common.h
src/soc/intel/xeon_sp/spr/ioat.c