summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2019-01-03 11:38:57 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2019-01-04 17:23:04 +0000
commit21c60fa2b2907776e2faee5bf39e6c8a8d4c4f65 (patch)
tree2f059837c9fe05fd7bbe8b0e80f27c0e596da85d /src
parent6bc6c5548ef13a54d064005602e61695ef54923c (diff)
downloadcoreboot-21c60fa2b2907776e2faee5bf39e6c8a8d4c4f65.tar.xz
amdfam10 boards: Add temporary pirq_router_bus variable
It's expected that further analysis shows this to always evaluate to 0. Change-Id: I68599b961ca3b5e3652539c5d825a00444958d1b Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/30644 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/include/cpu/amd/amdfam10_sysconf.h2
-rw-r--r--src/northbridge/amd/amdfam10/northbridge.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/include/cpu/amd/amdfam10_sysconf.h b/src/include/cpu/amd/amdfam10_sysconf.h
index aa35c714b6..a226c51f91 100644
--- a/src/include/cpu/amd/amdfam10_sysconf.h
+++ b/src/include/cpu/amd/amdfam10_sysconf.h
@@ -69,4 +69,6 @@ extern struct amdfam10_sysconf_t sysconf;
void get_bus_conf(void);
void get_pci1234(void);
+extern u8 pirq_router_bus;
+
#endif
diff --git a/src/northbridge/amd/amdfam10/northbridge.c b/src/northbridge/amd/amdfam10/northbridge.c
index 245e3abb99..d652746765 100644
--- a/src/northbridge/amd/amdfam10/northbridge.c
+++ b/src/northbridge/amd/amdfam10/northbridge.c
@@ -54,6 +54,7 @@
#endif
struct amdfam10_sysconf_t sysconf;
+u8 pirq_router_bus;
#define FX_DEVS NODE_NUMS
static struct device *__f0_dev[FX_DEVS];