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>
This commit is contained in:
Kyösti Mälkki
2014-07-07 15:06:00 +03:00
parent 232ae17718
commit b6f3da4ddc
17 changed files with 14 additions and 90 deletions

View File

@@ -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;