#include <arch/acpi.h>
#include <arch/io.h>
#include <device/device.h>
-#include "SBPLATFORM.h"
+#include "SbPlatform.h"
void acpi_create_fadt(acpi_fadt_t * fadt, acpi_facs_t * facs, void *dsdt)
{
#endif
#include <cpu/amd/amdfam10_sysconf.h>
#if CONFIG_AMD_SB_CIMX
-#include <sb_cimx.h>
+#include <SbEarly.h>
#endif
/* Global variables for MB layouts and these will be shared by irqtable mptable
#include <cpu/x86/msr.h>
#include <cpu/amd/mtrr.h>
#include <device/pci_def.h>
-#include "SBPLATFORM.h"
+#include "SbPlatform.h"
#include "chip.h"
uint64_t uma_memory_base, uma_memory_size;
#include <string.h>
#include <stdint.h>
#include <cpu/amd/amdfam10_sysconf.h>
-#include <SBPLATFORM.h>
+#include <SbPlatform.h>
extern int bus_isa;
extern u8 bus_rs780[11];
#endif
#include <cpu/amd/amdfam10_sysconf.h>
-#if CONFIG_AMD_SB_CIMX
+#if CONFIG_SOUTHBRIDGE_AMD_CIMX_SB800
#include <sb_cimx.h>
+#elif CONFIG_SOUTHBRIDGE_AMD_CIMX_SB900
+#include <SbEarly.h>
#endif
struct amdfam10_sysconf_t sysconf;
static void cpu_bus_init(device_t dev)
{
initialize_cpus(dev->link_list);
-#if CONFIG_AMD_SB_CIMX
+#if CONFIG_SOUTHBRIDGE_AMD_CIMX_SB800 || CONFIG_SOUTHBRIDGE_AMD_CIMX_SB900
sb_After_Pci_Init();
sb_Mid_Post_Init();
#endif
#include <device/pci_ids.h>
#include <arch/io.h> /* inl, outl */
#include <arch/romcc_io.h> /* device_t */
-#include "SBPLATFORM.h"
-#include "sb_cimx.h"
+#include "SbPlatform.h"
+#include "SbEarly.h"
#include "cfg.h" /*sb800_cimx_config*/
VOID sbGppForceGen1 (IN AMDSBCFG* pConfig, IN CONST UINT8 ActivePorts);
VOID sbGppForceGen2 (IN AMDSBCFG* pConfig, IN CONST UINT8 ActivePorts);
UINT8 GppPortPollingLtssm (IN AMDSBCFG* pConfig, IN UINT8 ActivePorts, IN BOOLEAN IsGen2);
+VOID SbStall (IN UINT32 uSec);
+VOID outPort80 (IN UINT32 pcode);
+// wtf Declaration ...
+VOID sbGppHotPlugSmiProcess (IN AMDSBCFG* pConfig, IN UINT32 HpPort);
+VOID sbGppHotUnplugSmiProcess (IN AMDSBCFG* pConfig, IN UINT32 HpPort);
+VOID sbGppHotplugSmiCallback (IN AMDSBCFG* pConfig, IN BOOLEAN IsPlugged);
/**
* GPP hot plug handler
* @param[in] HpPort The hot plug port number.
*
*/
-VOID
-sbGppHotPlugSmiProcess (
+
+VOID sbGppHotPlugSmiProcess (
IN AMDSBCFG* pConfig,
IN UINT32 HpPort
)