AGESA fam15: Fix entry to cimx/sb900
Move SB900 call to match comments and changes already made for family14 et al. Change-Id: I22aa0bbeeabf9cff929c49c23014005bc3d53ccb Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/6238 Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
This commit is contained in:
parent
b6f3da4ddc
commit
d005f78d29
3 changed files with 5 additions and 4 deletions
|
@ -40,9 +40,6 @@ 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
|
||||
|
|
|
@ -42,6 +42,7 @@
|
|||
#include "agesawrapper.h"
|
||||
#include <northbridge/amd/agesa/agesawrapper_call.h>
|
||||
#include "northbridge.h"
|
||||
#include "sb_cimx.h"
|
||||
|
||||
#define MAX_NODE_NUMS (MAX_NODES * MAX_DIES)
|
||||
|
||||
|
@ -591,6 +592,10 @@ static void domain_enable_resources(device_t dev)
|
|||
{
|
||||
/* Must be called after PCI enumeration and resource allocation */
|
||||
printk(BIOS_DEBUG, "\nFam15 - %s: AmdInitMid.\n", __func__);
|
||||
|
||||
#if CONFIG_AMD_SB_CIMX
|
||||
sb_After_Pci_Init();
|
||||
#endif
|
||||
AGESAWRAPPER(amdinitmid);
|
||||
printk(BIOS_DEBUG, " Fam15 - leaving %s.\n", __func__);
|
||||
}
|
||||
|
|
|
@ -34,7 +34,6 @@
|
|||
void sb_Poweron_Init(void);
|
||||
void sb_Before_Pci_Init(void);
|
||||
void sb_After_Pci_Init(void);
|
||||
void sb_Mid_Post_Init(void);
|
||||
void sb_Late_Post(void);
|
||||
|
||||
void sb7xx_51xx_enable_wideio(u8 wio_index, u16 base);
|
||||
|
|
Loading…
Reference in a new issue