Rizwan Qureshi has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/52183 )
Change subject: intel/common/block/tcss: Add a weak funtion mainboard_tcss_get_port_info() ......................................................................
intel/common/block/tcss: Add a weak funtion mainboard_tcss_get_port_info()
Some of the TCSS code was moved to a common location. Add a weak funtion for mainboard hook. This will help unlink the mainboard and SoC patches and they can be pushed independently.
Signed-off-by: Rizwan Qureshi rizwan.qureshi@intel.com Change-Id: I6ccc799f28d45f5ffd0e9b8179ed973744af8113 --- M src/soc/intel/common/block/tcss/tcss.c 1 file changed, 6 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/83/52183/1
diff --git a/src/soc/intel/common/block/tcss/tcss.c b/src/soc/intel/common/block/tcss/tcss.c index 6d1f3af..dd7c475 100644 --- a/src/soc/intel/common/block/tcss/tcss.c +++ b/src/soc/intel/common/block/tcss/tcss.c @@ -10,6 +10,12 @@ #include <soc/pci_devs.h> #include <stdlib.h>
+__weak const struct tcss_port_map *mainboard_tcss_get_port_info(size_t *num_ports) +{ + printk(BIOS_ERR, "Mainboard TCSS port info missing\n"); + return NULL; +} + static uint32_t tcss_make_conn_cmd(int u, int u3, int u2, int ufp, int hsl, int sbu, int acc) {