aboutsummaryrefslogtreecommitdiff
path: root/src/northbridge/amd/amdht/ht_wrapper.c
diff options
context:
space:
mode:
authorDamien Zammit <damien@zamaudio.com>2016-02-10 14:01:36 +1100
committerMartin Roth <martinroth@google.com>2016-03-30 16:23:07 +0200
commit33aaa921f7538761816900652e186b610d2ab35b (patch)
tree2288af51802352076b174dcac8afc0231465c6e6 /src/northbridge/amd/amdht/ht_wrapper.c
parent27e085a8eea7f34ed4987b83c513d2f1818b33a1 (diff)
northbridge/amd/amdfam10: Add family15h model10h-1fh (Trinity)
Change-Id: I96d695ed10176276116fcf3a2b77605fb3f2d5db Signed-off-by: Damien Zammit <damien@zamaudio.com> Reviewed-on: https://review.coreboot.org/13710 Tested-by: build bot (Jenkins) Tested-by: Raptor Engineering Automated Test Stand <noreply@raptorengineeringinc.com> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/northbridge/amd/amdht/ht_wrapper.c')
-rw-r--r--src/northbridge/amd/amdht/ht_wrapper.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/northbridge/amd/amdht/ht_wrapper.c b/src/northbridge/amd/amdht/ht_wrapper.c
index 32cf175cdd..f31fcd228d 100644
--- a/src/northbridge/amd/amdht/ht_wrapper.c
+++ b/src/northbridge/amd/amdht/ht_wrapper.c
@@ -258,6 +258,11 @@ static BOOL AMD_CB_IgnoreLink (u8 node, u8 link)
static void amd_ht_init(struct sys_info *sysinfo)
{
+ if (!sysinfo) {
+ printk(BIOS_DEBUG, "Skipping amd_ht_init()\n");
+ return;
+ }
+
AMD_HTBLOCK ht_wrapper = {
NULL, // u8 **topolist;
0, // u8 AutoBusStart;