summaryrefslogtreecommitdiff
path: root/src/cpu
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/cpu
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/cpu')
-rw-r--r--src/cpu/amd/agesa/amd_late_init.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/cpu/amd/agesa/amd_late_init.c b/src/cpu/amd/agesa/amd_late_init.c
index cf1caf1afd..83e9ed83cb 100644
--- a/src/cpu/amd/agesa/amd_late_init.c
+++ b/src/cpu/amd/agesa/amd_late_init.c
@@ -24,6 +24,10 @@
#include "agesawrapper.h"
#include <northbridge/amd/agesa/agesawrapper_call.h>
+#if CONFIG_AMD_SB_CIMX
+#include <sb_cimx.h>
+#endif
+
void get_bus_conf(void);
static void agesawrapper_post_device(void *unused)
@@ -36,6 +40,12 @@ static void agesawrapper_post_device(void *unused)
/* Preparation for write_tables(). */
get_bus_conf();
+#if CONFIG_AMD_SB_CIMX && CONFIG_NORTHBRIDGE_AMD_AGESA_FAMILY15
+ sb_After_Pci_Init();
+#endif
+#if CONFIG_AMD_SB_CIMX
+ sb_Late_Post();
+#endif
if (!acpi_s3_resume_allowed())
return;