Attention is currently required from: Arthur Heymans, Christian Walter, Johnny Lin, Lean Sheng Tan, Shuo Liu, Tim Chu.
Patrick Rudolph has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/81298?usp=email )
Change subject: soc/intel/xeon_sp: Remove function from global scope ......................................................................
soc/intel/xeon_sp: Remove function from global scope
Make functions used only in chip_common.c private.
Change-Id: Idad0692cb15ee4fbc7e4af10b469790c5300d337 Signed-off-by: Patrick Rudolph patrick.rudolph@9elements.com --- M src/soc/intel/xeon_sp/chip_common.c M src/soc/intel/xeon_sp/include/soc/chip_common.h 2 files changed, 2 insertions(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/98/81298/1
diff --git a/src/soc/intel/xeon_sp/chip_common.c b/src/soc/intel/xeon_sp/chip_common.c index 0020629..c06421ca 100644 --- a/src/soc/intel/xeon_sp/chip_common.c +++ b/src/soc/intel/xeon_sp/chip_common.c @@ -189,7 +189,7 @@ return dn.stack; }
-void iio_pci_domain_read_resources(struct device *dev) +static void iio_pci_domain_read_resources(struct device *dev) { struct resource *res; const STACK_RES *sr = domain_to_stack_res(dev); @@ -310,7 +310,7 @@ &ubox_pcie_domain_ops, pci_segment_group); }
-void iio_cxl_domain_read_resources(struct device *dev) +static void iio_cxl_domain_read_resources(struct device *dev) { struct resource *res; const STACK_RES *sr = domain_to_stack_res(dev); 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 adf4e5e..7169508 100644 --- a/src/soc/intel/xeon_sp/include/soc/chip_common.h +++ b/src/soc/intel/xeon_sp/include/soc/chip_common.h @@ -49,8 +49,6 @@ #define DOMAIN_TYPE_UBX1 "UD" #define DOMAIN_TYPE_CXL "CX"
-void iio_pci_domain_read_resources(struct device *dev); -void iio_cxl_domain_read_resources(struct device *dev); void attach_iio_stacks(void);
void soc_create_ioat_domains(union xeon_domain_path path,