summaryrefslogtreecommitdiff
path: root/src/mainboard/amd
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2014-07-07 15:06:00 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2014-07-14 19:48:51 +0200
commitb6f3da4ddcd306b8039743f1101d41b648e0194d (patch)
treeaf77b453d49e948841218b1e156c22394d2d144a /src/mainboard/amd
parent232ae17718a3d183a4effb0eb4c8633ac87505b7 (diff)
downloadcoreboot-b6f3da4ddcd306b8039743f1101d41b648e0194d.tar.xz
AGESA CIMx: Move late init out of get_bus_conf()
Followup deals further with Fam15 case. For unknown reasons calls were commented out for amd/dinar and they remain that way. Change-Id: Ie0a25fbb6f5378019fbf0f19a02acf024d79817e Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/6237 Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Diffstat (limited to 'src/mainboard/amd')
-rw-r--r--src/mainboard/amd/dinar/get_bus_conf.c7
-rw-r--r--src/mainboard/amd/inagua/get_bus_conf.c6
-rw-r--r--src/mainboard/amd/persimmon/get_bus_conf.c6
-rw-r--r--src/mainboard/amd/south_station/get_bus_conf.c6
-rw-r--r--src/mainboard/amd/torpedo/get_bus_conf.c2
-rw-r--r--src/mainboard/amd/union_station/get_bus_conf.c6
6 files changed, 0 insertions, 33 deletions
diff --git a/src/mainboard/amd/dinar/get_bus_conf.c b/src/mainboard/amd/dinar/get_bus_conf.c
index e93ca84a02..d62e111d6c 100644
--- a/src/mainboard/amd/dinar/get_bus_conf.c
+++ b/src/mainboard/amd/dinar/get_bus_conf.c
@@ -25,9 +25,6 @@
#include <stdlib.h>
#include <cpu/amd/amdfam15.h>
#include "agesawrapper.h"
-#if CONFIG_AMD_SB_CIMX
-#include <sb_cimx.h>
-#endif
/* Global variables for MB layouts and these will be shared by irqtable mptable
@@ -116,9 +113,5 @@ void get_bus_conf(void)
/* I/O APICs: APIC ID Version State Address */
bus_isa = 10;
-#if CONFIG_AMD_SB_CIMX
-// sb_After_Pci_Init();
-// sb_Late_Post();
-#endif
printk(BIOS_DEBUG, "Mainboard - Get_bus_conf.c - get_bus_conf - End.\n");
}
diff --git a/src/mainboard/amd/inagua/get_bus_conf.c b/src/mainboard/amd/inagua/get_bus_conf.c
index ac72b48110..be113b37f5 100644
--- a/src/mainboard/amd/inagua/get_bus_conf.c
+++ b/src/mainboard/amd/inagua/get_bus_conf.c
@@ -25,9 +25,6 @@
#include <stdlib.h>
#include <cpu/amd/amdfam14.h>
#include "agesawrapper.h"
-#if CONFIG_AMD_SB_CIMX
-#include <sb_cimx.h>
-#endif
/* Global variables for MB layouts and these will be shared by irqtable mptable
@@ -99,7 +96,4 @@ void get_bus_conf(void)
apicid_base = CONFIG_MAX_CPUS;
apicid_sb800 = apicid_base;
-#if CONFIG_AMD_SB_CIMX
- sb_Late_Post();
-#endif
}
diff --git a/src/mainboard/amd/persimmon/get_bus_conf.c b/src/mainboard/amd/persimmon/get_bus_conf.c
index c8369e1cde..b31f687671 100644
--- a/src/mainboard/amd/persimmon/get_bus_conf.c
+++ b/src/mainboard/amd/persimmon/get_bus_conf.c
@@ -26,9 +26,6 @@
#include <cpu/amd/amdfam14.h>
#include "agesawrapper.h"
#include <arch/ioapic.h>
-#if CONFIG_AMD_SB_CIMX
-#include <sb_cimx.h>
-#endif
/* Global variables for MB layouts and these will be shared by irqtable mptable
@@ -109,7 +106,4 @@ void get_bus_conf(void)
apicid_sb800 = (io_apic_read(IO_APIC_ADDR, 0x00) >> 24);
apicver_sb800 = (io_apic_read(IO_APIC_ADDR, 0x01) & 0xFF);
-#if CONFIG_AMD_SB_CIMX
- sb_Late_Post();
-#endif
}
diff --git a/src/mainboard/amd/south_station/get_bus_conf.c b/src/mainboard/amd/south_station/get_bus_conf.c
index 7eedcba821..99b38807b5 100644
--- a/src/mainboard/amd/south_station/get_bus_conf.c
+++ b/src/mainboard/amd/south_station/get_bus_conf.c
@@ -25,9 +25,6 @@
#include <stdlib.h>
#include <cpu/amd/amdfam14.h>
#include "agesawrapper.h"
-#if CONFIG_AMD_SB_CIMX
-#include <sb_cimx.h>
-#endif
/* Global variables for MB layouts and these will be shared by irqtable mptable
@@ -102,7 +99,4 @@ void get_bus_conf(void)
apicid_base = CONFIG_MAX_CPUS;
apicid_sb800 = apicid_base;
-#if CONFIG_AMD_SB_CIMX
- sb_Late_Post();
-#endif
}
diff --git a/src/mainboard/amd/torpedo/get_bus_conf.c b/src/mainboard/amd/torpedo/get_bus_conf.c
index 36613f706c..b7895e4915 100644
--- a/src/mainboard/amd/torpedo/get_bus_conf.c
+++ b/src/mainboard/amd/torpedo/get_bus_conf.c
@@ -24,7 +24,6 @@
#include <stdint.h>
#include <stdlib.h>
#include <cpu/amd/amdfam12.h>
-#include "sb_cimx.h"
#include "agesawrapper.h"
/* Global variables for MB layouts and these will be shared by irqtable mptable
@@ -100,6 +99,5 @@ void get_bus_conf(void)
/* I/O APICs: APIC ID Version State Address */
bus_isa = 10;
- sb_Late_Post();
printk(BIOS_DEBUG, "Mainboard - %s - %s - End.\n", __FILE__, __func__);
}
diff --git a/src/mainboard/amd/union_station/get_bus_conf.c b/src/mainboard/amd/union_station/get_bus_conf.c
index 7eedcba821..99b38807b5 100644
--- a/src/mainboard/amd/union_station/get_bus_conf.c
+++ b/src/mainboard/amd/union_station/get_bus_conf.c
@@ -25,9 +25,6 @@
#include <stdlib.h>
#include <cpu/amd/amdfam14.h>
#include "agesawrapper.h"
-#if CONFIG_AMD_SB_CIMX
-#include <sb_cimx.h>
-#endif
/* Global variables for MB layouts and these will be shared by irqtable mptable
@@ -102,7 +99,4 @@ void get_bus_conf(void)
apicid_base = CONFIG_MAX_CPUS;
apicid_sb800 = apicid_base;
-#if CONFIG_AMD_SB_CIMX
- sb_Late_Post();
-#endif
}