summaryrefslogtreecommitdiff
path: root/src/northbridge
diff options
context:
space:
mode:
Diffstat (limited to 'src/northbridge')
-rw-r--r--src/northbridge/amd/amdfam10/get_pci1234.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/northbridge/amd/amdfam10/get_pci1234.c b/src/northbridge/amd/amdfam10/get_pci1234.c
index 71772b3feb..0d372f41df 100644
--- a/src/northbridge/amd/amdfam10/get_pci1234.c
+++ b/src/northbridge/amd/amdfam10/get_pci1234.c
@@ -110,6 +110,18 @@ void get_pci1234(void)
}
}
+void get_default_pci1234(int mb_hc_possible)
+{
+ int i;
+
+ for (i = 0; i < mb_hc_possible; i++) {
+ sysconf.pci1234[i] = 0x0000ffc;
+ sysconf.hcdn[i] = 0x20202020;
+ }
+ sysconf.hc_possible_num = mb_hc_possible;
+ get_pci1234();
+}
+
static void amd_bs_sysconf(void *arg)
{
/* Prepare sysconf structures, which are used to generate IRQ,