AGESA F15 wrapper for Trinity

The wrapper for Trinity. Support S3. Parme is a example board.

Change-Id: Ib4f653b7562694177683e1e1ffdb27ea176aeaab
Signed-off-by: Zheng Bao <zheng.bao@amd.com>
Signed-off-by: zbao <fishbaozi@gmail.com>
Reviewed-on: http://review.coreboot.org/1156
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
This commit is contained in:
zbao
2012-07-02 15:32:58 +08:00
committed by Patrick Georgi
parent 7d94cf93ee
commit 2c08f6ade4
25 changed files with 2399 additions and 8 deletions

View File

@@ -35,7 +35,16 @@
#define CPU_ID_FEATURES_MSR 0xC0011004
#define CPU_ID_EXT_FEATURES_MSR 0xC0011005
static msr_t rdmsr_amd(u32 index);
static void wrmsr_amd(u32 index, msr_t msr);
msr_t rdmsr_amd(u32 index);
void wrmsr_amd(u32 index, msr_t msr);
#if defined(__PRE_RAM__)
void wait_all_core0_started(void);
void wait_all_other_cores_started(u32 bsp_apicid);
void wait_all_aps_started(u32 bsp_apicid);
void allow_all_aps_stop(u32 bsp_apicid);
#endif
u32 get_initial_apicid(void);
void get_bus_conf(void);
#endif /* CPU_AMD_FAM15_H */

View File

@@ -285,6 +285,7 @@
#define PCI_DEVICE_ID_ATI_RADEON_RD 0x5147
#define PCI_DEVICE_ID_AMD_15H_MODEL_000F_NB_HT 0x1600
#define PCI_DEVICE_ID_AMD_15H_MODEL_001F_NB_HT 0x1400
#define PCI_DEVICE_ID_AMD_10H_NB_HT 0x1200
#define PCI_DEVICE_ID_ATI_SB600_LPC 0x438D