AMD boards (non-AGESA): Cleanup post_cache_as_ram.c includes
Change-Id: Ib3a69e3364418426438f88ba14e5cf744e2414fa Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/4524 Tested-by: build bot (Jenkins) Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> Reviewed-by: Bruce Griffith <Bruce.Griffith@se-eng.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
This commit is contained in:
parent
88a67f0cc9
commit
142b52cd32
73 changed files with 5 additions and 70 deletions
|
@ -77,7 +77,7 @@ static void vErrata343(void)
|
|||
|
||||
void cache_as_ram_switch_stack(void *resume_backup_memory);
|
||||
|
||||
static void post_cache_as_ram(void)
|
||||
void post_cache_as_ram(void)
|
||||
{
|
||||
void *resume_backup_memory = NULL;
|
||||
#if 1
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "defaults.h"
|
||||
#include <stdlib.h>
|
||||
#include <cpu/x86/lapic.h>
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
|
||||
#if CONFIG_HAVE_OPTION_TABLE
|
||||
#include "option_table.h"
|
||||
#endif
|
||||
|
|
|
@ -54,6 +54,7 @@ void cache_as_ram_main(void);
|
|||
#else
|
||||
void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx);
|
||||
#endif
|
||||
void post_cache_as_ram(void);
|
||||
|
||||
/* Defined in src/lib/hexdump.c */
|
||||
void hexdump(unsigned long memory, int length);
|
||||
|
|
|
@ -63,7 +63,6 @@ static int spd_read_byte(u32 device, u32 address)
|
|||
#include "northbridge/amd/amdfam10/pci.c"
|
||||
#include "resourcemap.c"
|
||||
#include "cpu/amd/quadcore/quadcore.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/microcode.h"
|
||||
#include "cpu/amd/model_10xxx/init_cpus.c"
|
||||
#include "northbridge/amd/amdfam10/early_ht.c"
|
||||
|
|
|
@ -62,7 +62,6 @@ static int spd_read_byte(u32 device, u32 address)
|
|||
#include "northbridge/amd/amdfam10/pci.c"
|
||||
#include "resourcemap.c"
|
||||
#include "cpu/amd/quadcore/quadcore.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/microcode.h"
|
||||
|
||||
#include "cpu/amd/model_10xxx/init_cpus.c"
|
||||
|
|
|
@ -58,7 +58,6 @@ static inline int spd_read_byte(u32 device, u32 address)
|
|||
#include "lib/generic_sdram.c"
|
||||
#include "resourcemap.c"
|
||||
#include "cpu/amd/dualcore/dualcore.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/model_fxx/init_cpus.c"
|
||||
#include "cpu/amd/model_fxx/fidvid.c"
|
||||
#include "northbridge/amd/amdk8/early_ht.c"
|
||||
|
|
|
@ -59,7 +59,6 @@ static inline int spd_read_byte(u32 device, u32 address)
|
|||
#include "lib/generic_sdram.c"
|
||||
#include "resourcemap.c"
|
||||
#include "cpu/amd/dualcore/dualcore.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/model_fxx/init_cpus.c"
|
||||
#include "cpu/amd/model_fxx/fidvid.c"
|
||||
#include "northbridge/amd/amdk8/early_ht.c"
|
||||
|
|
|
@ -62,7 +62,6 @@ static int spd_read_byte(u32 device, u32 address)
|
|||
#include "northbridge/amd/amdfam10/pci.c"
|
||||
#include "resourcemap.c"
|
||||
#include "cpu/amd/quadcore/quadcore.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/microcode.h"
|
||||
|
||||
#include "cpu/amd/model_10xxx/init_cpus.c"
|
||||
|
|
|
@ -53,7 +53,6 @@ static inline int spd_read_byte(u32 device, u32 address)
|
|||
#include "lib/generic_sdram.c"
|
||||
#include "resourcemap.c"
|
||||
#include "cpu/amd/dualcore/dualcore.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/model_fxx/init_cpus.c"
|
||||
#include "cpu/amd/model_fxx/fidvid.c"
|
||||
#include "northbridge/amd/amdk8/early_ht.c"
|
||||
|
|
|
@ -77,7 +77,6 @@ static inline int spd_read_byte(unsigned device, unsigned address)
|
|||
#include "resourcemap.c"
|
||||
#include "cpu/amd/dualcore/dualcore.c"
|
||||
#include <spd.h>
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/model_fxx/init_cpus.c"
|
||||
#include "cpu/amd/model_fxx/fidvid.c"
|
||||
|
||||
|
|
|
@ -83,7 +83,6 @@ static int spd_read_byte(u32 device, u32 address)
|
|||
#include "northbridge/amd/amdfam10/pci.c"
|
||||
#include "resourcemap.c"
|
||||
#include "cpu/amd/quadcore/quadcore.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/microcode.h"
|
||||
|
||||
#include "cpu/amd/model_10xxx/init_cpus.c"
|
||||
|
|
|
@ -61,7 +61,6 @@ static int spd_read_byte(u32 device, u32 address)
|
|||
#include "northbridge/amd/amdfam10/pci.c"
|
||||
#include "resourcemap.c"
|
||||
#include "cpu/amd/quadcore/quadcore.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/microcode.h"
|
||||
|
||||
#include "cpu/amd/model_10xxx/init_cpus.c"
|
||||
|
|
|
@ -59,7 +59,6 @@ static inline int spd_read_byte(unsigned device, unsigned address)
|
|||
#include "northbridge/amd/amdk8/coherent_ht.c"
|
||||
#include "lib/generic_sdram.c"
|
||||
#include "cpu/amd/dualcore/dualcore.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/model_fxx/init_cpus.c"
|
||||
|
||||
void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
|
||||
|
|
|
@ -63,7 +63,6 @@ static inline int spd_read_byte(u32 device, u32 address)
|
|||
#include "lib/generic_sdram.c"
|
||||
#include "resourcemap.c"
|
||||
#include "cpu/amd/dualcore/dualcore.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/model_fxx/init_cpus.c"
|
||||
#include "cpu/amd/model_fxx/fidvid.c"
|
||||
#include "northbridge/amd/amdk8/early_ht.c"
|
||||
|
|
|
@ -59,7 +59,6 @@ static inline int spd_read_byte(unsigned device, unsigned address)
|
|||
#include "lib/generic_sdram.c"
|
||||
#include "southbridge/nvidia/ck804/early_setup_ss.h"
|
||||
#include "southbridge/nvidia/ck804/early_setup.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/model_fxx/init_cpus.c"
|
||||
#include "northbridge/amd/amdk8/early_ht.c"
|
||||
|
||||
|
|
|
@ -83,7 +83,6 @@ void soft_reset(void)
|
|||
#include "northbridge/amd/amdk8/raminit.c"
|
||||
#include "lib/generic_sdram.c"
|
||||
#include "cpu/amd/dualcore/dualcore.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/model_fxx/init_cpus.c"
|
||||
#include "cpu/amd/model_fxx/fidvid.c"
|
||||
#include "northbridge/amd/amdk8/resourcemap.c"
|
||||
|
|
|
@ -83,7 +83,6 @@ void soft_reset(void)
|
|||
#include "northbridge/amd/amdk8/raminit.c"
|
||||
#include "lib/generic_sdram.c"
|
||||
#include "cpu/amd/dualcore/dualcore.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/model_fxx/init_cpus.c"
|
||||
#include "cpu/amd/model_fxx/fidvid.c"
|
||||
#include "northbridge/amd/amdk8/resourcemap.c"
|
||||
|
|
|
@ -81,7 +81,6 @@ void soft_reset(void)
|
|||
#include "northbridge/amd/amdk8/raminit.c"
|
||||
#include "lib/generic_sdram.c"
|
||||
#include "cpu/amd/dualcore/dualcore.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/model_fxx/init_cpus.c"
|
||||
#include "cpu/amd/model_fxx/fidvid.c"
|
||||
#include "northbridge/amd/amdk8/resourcemap.c"
|
||||
|
|
|
@ -67,7 +67,6 @@ static inline int spd_read_byte(unsigned int device, unsigned int address)
|
|||
#include "cpu/amd/dualcore/dualcore.c"
|
||||
#include "southbridge/nvidia/mcp55/early_setup_ss.h"
|
||||
#include "southbridge/nvidia/mcp55/early_setup_car.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/model_fxx/init_cpus.c"
|
||||
#include "cpu/amd/model_fxx/fidvid.c"
|
||||
#include "northbridge/amd/amdk8/early_ht.c"
|
||||
|
|
|
@ -66,7 +66,6 @@ static inline int spd_read_byte(unsigned device, unsigned address)
|
|||
#include "northbridge/amd/amdk8/raminit_f.c"
|
||||
#include "lib/generic_sdram.c"
|
||||
#include "cpu/amd/dualcore/dualcore.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/model_fxx/init_cpus.c"
|
||||
|
||||
#define SB_VFSMAF 0
|
||||
|
|
|
@ -68,7 +68,6 @@ static inline int spd_read_byte(unsigned device, unsigned address)
|
|||
#include "northbridge/amd/amdk8/raminit_f.c"
|
||||
#include "lib/generic_sdram.c"
|
||||
#include "cpu/amd/dualcore/dualcore.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/model_fxx/init_cpus.c"
|
||||
#include "cpu/amd/model_fxx/fidvid.c"
|
||||
#include "northbridge/amd/amdk8/resourcemap.c"
|
||||
|
|
|
@ -61,7 +61,6 @@ static int spd_read_byte(u32 device, u32 address)
|
|||
#include "northbridge/amd/amdfam10/pci.c"
|
||||
#include "resourcemap.c"
|
||||
#include "cpu/amd/quadcore/quadcore.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/microcode.h"
|
||||
|
||||
#include "cpu/amd/model_10xxx/init_cpus.c"
|
||||
|
|
|
@ -61,7 +61,6 @@ static int spd_read_byte(u32 device, u32 address)
|
|||
#include "northbridge/amd/amdfam10/pci.c"
|
||||
#include "resourcemap.c"
|
||||
#include "cpu/amd/quadcore/quadcore.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/microcode.h"
|
||||
|
||||
#include "cpu/amd/model_10xxx/init_cpus.c"
|
||||
|
|
|
@ -63,7 +63,6 @@ static int spd_read_byte(u32 device, u32 address)
|
|||
#include "northbridge/amd/amdfam10/pci.c"
|
||||
#include "resourcemap.c"
|
||||
#include "cpu/amd/quadcore/quadcore.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/microcode.h"
|
||||
#include "cpu/amd/model_10xxx/init_cpus.c"
|
||||
#include "northbridge/amd/amdfam10/early_ht.c"
|
||||
|
|
|
@ -63,7 +63,6 @@ static int spd_read_byte(u32 device, u32 address)
|
|||
#include "northbridge/amd/amdfam10/pci.c"
|
||||
#include "resourcemap.c"
|
||||
#include "cpu/amd/quadcore/quadcore.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/microcode.h"
|
||||
#include "cpu/amd/model_10xxx/init_cpus.c"
|
||||
#include "northbridge/amd/amdfam10/early_ht.c"
|
||||
|
|
|
@ -54,7 +54,6 @@ static inline int spd_read_byte(unsigned device, unsigned address)
|
|||
#include "resourcemap.c"
|
||||
#include "cpu/amd/dualcore/dualcore.c"
|
||||
#include <spd.h>
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/model_fxx/init_cpus.c"
|
||||
#include "northbridge/amd/amdk8/early_ht.c"
|
||||
|
||||
|
|
|
@ -82,7 +82,6 @@ static inline int spd_read_byte(unsigned device, unsigned address)
|
|||
RES_PORT_IO_8, SYSCTRL_IO_BASE + 0xc0+60, 0x00, 0x60,/* GPIO61 FANCTL1 */
|
||||
|
||||
#include "southbridge/sis/sis966/early_setup_ss.h"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/model_fxx/init_cpus.c"
|
||||
#include "cpu/amd/model_fxx/fidvid.c"
|
||||
#include "northbridge/amd/amdk8/early_ht.c"
|
||||
|
|
|
@ -74,7 +74,6 @@ static inline int spd_read_byte(unsigned device, unsigned address)
|
|||
#include "lib/generic_sdram.c"
|
||||
#include "resourcemap.c"
|
||||
#include "cpu/amd/dualcore/dualcore.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/model_fxx/init_cpus.c"
|
||||
#include "cpu/amd/model_fxx/fidvid.c"
|
||||
#include "northbridge/amd/amdk8/early_ht.c"
|
||||
|
|
|
@ -57,7 +57,6 @@ static int spd_read_byte(u32 device, u32 address)
|
|||
#include "northbridge/amd/amdfam10/pci.c"
|
||||
#include "resourcemap.c"
|
||||
#include "cpu/amd/quadcore/quadcore.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/microcode.h"
|
||||
|
||||
#include "cpu/amd/model_10xxx/init_cpus.c"
|
||||
|
|
|
@ -57,7 +57,6 @@ static int spd_read_byte(u32 device, u32 address)
|
|||
#include "northbridge/amd/amdfam10/pci.c"
|
||||
#include "resourcemap.c"
|
||||
#include "cpu/amd/quadcore/quadcore.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/microcode.h"
|
||||
|
||||
#include "cpu/amd/model_10xxx/init_cpus.c"
|
||||
|
|
|
@ -61,7 +61,6 @@ static int spd_read_byte(u32 device, u32 address)
|
|||
#include "northbridge/amd/amdfam10/pci.c"
|
||||
#include "resourcemap.c"
|
||||
#include "cpu/amd/quadcore/quadcore.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/microcode.h"
|
||||
|
||||
#include "cpu/amd/model_10xxx/init_cpus.c"
|
||||
|
|
|
@ -81,7 +81,6 @@ static inline int spd_read_byte(unsigned device, unsigned address)
|
|||
#include "lib/generic_sdram.c"
|
||||
#include "cpu/amd/dualcore/dualcore.c"
|
||||
#include <spd.h>
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/model_fxx/init_cpus.c"
|
||||
|
||||
#define RC0 ((1<<1)<<8)
|
||||
|
|
|
@ -78,7 +78,6 @@ static inline int spd_read_byte(unsigned device, unsigned address)
|
|||
#include "lib/generic_sdram.c"
|
||||
#include <spd.h>
|
||||
#include "cpu/amd/dualcore/dualcore.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/model_fxx/init_cpus.c"
|
||||
#include "cpu/amd/model_fxx/fidvid.c"
|
||||
#include "northbridge/amd/amdk8/early_ht.c"
|
||||
|
|
|
@ -77,7 +77,6 @@ static inline int spd_read_byte(unsigned device, unsigned address)
|
|||
#include "northbridge/amd/amdfam10/raminit_sysinfo_in_ram.c"
|
||||
#include "northbridge/amd/amdfam10/pci.c"
|
||||
#include "cpu/amd/quadcore/quadcore.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/microcode.h"
|
||||
|
||||
#include "cpu/amd/model_10xxx/init_cpus.c"
|
||||
|
|
|
@ -56,7 +56,6 @@ static inline int spd_read_byte(unsigned device, unsigned address)
|
|||
#include "northbridge/amd/amdk8/coherent_ht.c"
|
||||
#include "lib/generic_sdram.c"
|
||||
#include "cpu/amd/dualcore/dualcore.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/model_fxx/init_cpus.c"
|
||||
|
||||
void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
|
||||
|
|
|
@ -56,7 +56,6 @@ static inline int spd_read_byte(unsigned device, unsigned address)
|
|||
#include "northbridge/amd/amdk8/coherent_ht.c"
|
||||
#include "lib/generic_sdram.c"
|
||||
#include "cpu/amd/dualcore/dualcore.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/model_fxx/init_cpus.c"
|
||||
|
||||
void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
|
||||
|
|
|
@ -63,7 +63,6 @@ static int spd_read_byte(u32 device, u32 address)
|
|||
#include "northbridge/amd/amdfam10/pci.c"
|
||||
#include "resourcemap.c"
|
||||
#include "cpu/amd/quadcore/quadcore.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/microcode.h"
|
||||
|
||||
#include "cpu/amd/model_10xxx/init_cpus.c"
|
||||
|
|
|
@ -65,7 +65,6 @@ static inline int spd_read_byte(unsigned device, unsigned address)
|
|||
#include "resourcemap.c"
|
||||
#include "cpu/amd/dualcore/dualcore.c"
|
||||
#include <spd.h>
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/model_fxx/init_cpus.c"
|
||||
#include "cpu/amd/model_fxx/fidvid.c"
|
||||
|
||||
|
|
|
@ -65,7 +65,6 @@ static inline int spd_read_byte(unsigned device, unsigned address)
|
|||
#include "northbridge/amd/amdk8/resourcemap.c"
|
||||
#include "cpu/amd/dualcore/dualcore.c"
|
||||
#include <spd.h>
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/model_fxx/init_cpus.c"
|
||||
#include "cpu/amd/model_fxx/fidvid.c"
|
||||
|
||||
|
|
|
@ -65,7 +65,6 @@ static inline int spd_read_byte(unsigned device, unsigned address)
|
|||
#include "northbridge/amd/amdk8/resourcemap.c"
|
||||
#include "cpu/amd/dualcore/dualcore.c"
|
||||
#include <spd.h>
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/model_fxx/init_cpus.c"
|
||||
#include "cpu/amd/model_fxx/fidvid.c"
|
||||
|
||||
|
|
|
@ -68,7 +68,6 @@ static int spd_read_byte(u32 device, u32 address)
|
|||
#include "northbridge/amd/amdfam10/pci.c"
|
||||
#include "resourcemap.c"
|
||||
#include "cpu/amd/quadcore/quadcore.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/microcode.h"
|
||||
|
||||
#include "cpu/amd/model_10xxx/init_cpus.c"
|
||||
|
|
|
@ -60,7 +60,6 @@ static inline int spd_read_byte(u32 device, u32 address)
|
|||
#include "lib/generic_sdram.c"
|
||||
#include "resourcemap.c"
|
||||
#include "cpu/amd/dualcore/dualcore.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/model_fxx/init_cpus.c"
|
||||
#include "cpu/amd/model_fxx/fidvid.c"
|
||||
#include "northbridge/amd/amdk8/early_ht.c"
|
||||
|
|
|
@ -63,7 +63,6 @@ static inline int spd_read_byte(unsigned device, unsigned address)
|
|||
#include "lib/generic_sdram.c"
|
||||
#include "southbridge/nvidia/ck804/early_setup_ss.h"
|
||||
#include "southbridge/nvidia/ck804/early_setup_car.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/model_fxx/init_cpus.c"
|
||||
#include "northbridge/amd/amdk8/early_ht.c"
|
||||
|
||||
|
|
|
@ -76,7 +76,6 @@ static inline int spd_read_byte(unsigned int device, unsigned int address)
|
|||
|
||||
#include "southbridge/nvidia/mcp55/early_setup_ss.h"
|
||||
#include "southbridge/nvidia/mcp55/early_setup_car.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/model_fxx/init_cpus.c"
|
||||
#include "cpu/amd/model_fxx/fidvid.c"
|
||||
#include "northbridge/amd/amdk8/early_ht.c"
|
||||
|
|
|
@ -82,7 +82,6 @@ static inline int spd_read_byte(unsigned device, unsigned address)
|
|||
#include "resourcemap.c"
|
||||
#include "cpu/amd/dualcore/dualcore.c"
|
||||
#include <spd.h>
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/model_fxx/init_cpus.c"
|
||||
#include "cpu/amd/model_fxx/fidvid.c"
|
||||
#include "northbridge/amd/amdk8/early_ht.c"
|
||||
|
|
|
@ -89,7 +89,6 @@ static inline int spd_read_byte(unsigned device, unsigned address)
|
|||
RES_PORT_IO_8, SYSCTRL_IO_BASE + 0xc0+45, ~(0xff), ((0<<4)|(0<<2)|(0<<0)),/* P7,GPIO46, PCIXB_PRSNT2_L*/ \
|
||||
|
||||
#include "southbridge/nvidia/mcp55/early_setup_car.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/model_fxx/init_cpus.c"
|
||||
// Disabled until it's actually used:
|
||||
// #include "cpu/amd/model_fxx/fidvid.c"
|
||||
|
|
|
@ -70,7 +70,6 @@ static inline int spd_read_byte(unsigned device, unsigned address)
|
|||
|
||||
#include "southbridge/nvidia/mcp55/early_setup_ss.h"
|
||||
#include "southbridge/nvidia/mcp55/early_setup_car.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/microcode.h"
|
||||
|
||||
#include "cpu/amd/model_10xxx/init_cpus.c"
|
||||
|
|
|
@ -62,7 +62,6 @@ static inline int spd_read_byte(unsigned device, unsigned address)
|
|||
#include "lib/generic_sdram.c"
|
||||
#include "resourcemap.c"
|
||||
#include "cpu/amd/dualcore/dualcore.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/model_fxx/init_cpus.c"
|
||||
|
||||
void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
|
||||
|
|
|
@ -75,7 +75,6 @@ static inline int spd_read_byte(unsigned device, unsigned address)
|
|||
|
||||
#include "southbridge/nvidia/mcp55/early_setup_ss.h"
|
||||
#include "southbridge/nvidia/mcp55/early_setup_car.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/model_fxx/init_cpus.c"
|
||||
#include "cpu/amd/model_fxx/fidvid.c"
|
||||
#include "northbridge/amd/amdk8/early_ht.c"
|
||||
|
|
|
@ -76,7 +76,6 @@ static inline int spd_read_byte(u32 device, u32 address)
|
|||
#include "lib/generic_sdram.c"
|
||||
#include "resourcemap.c"
|
||||
#include "cpu/amd/dualcore/dualcore.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/model_fxx/init_cpus.c"
|
||||
#include "cpu/amd/model_fxx/fidvid.c"
|
||||
#include "northbridge/amd/amdk8/early_ht.c"
|
||||
|
|
|
@ -63,7 +63,6 @@ static inline int spd_read_byte(unsigned device, unsigned address)
|
|||
RES_PORT_IO_8, SYSCTRL_IO_BASE + 0xc0+45, ~(0xff),((0<<4)|(0<<2)|(0<<0)),/* P7,GPIO46, PCIXB_PRSNT2_L*/
|
||||
|
||||
#include "southbridge/nvidia/ck804/early_setup_car.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/model_fxx/init_cpus.c"
|
||||
#include "northbridge/amd/amdk8/early_ht.c"
|
||||
|
||||
|
|
|
@ -126,7 +126,6 @@ static inline int spd_read_byte(unsigned device, unsigned address)
|
|||
#include "cpu/amd/dualcore/dualcore.c"
|
||||
#include "southbridge/nvidia/mcp55/early_setup_ss.h"
|
||||
#include "southbridge/nvidia/mcp55/early_setup_car.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/model_fxx/init_cpus.c"
|
||||
#include "cpu/amd/model_fxx/fidvid.c"
|
||||
#include "northbridge/amd/amdk8/early_ht.c"
|
||||
|
|
|
@ -67,7 +67,6 @@ static inline int spd_read_byte(unsigned device, unsigned address)
|
|||
#include "cpu/amd/dualcore/dualcore.c"
|
||||
#include "southbridge/nvidia/mcp55/early_setup_ss.h"
|
||||
#include "southbridge/nvidia/mcp55/early_setup_car.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/model_fxx/init_cpus.c"
|
||||
#include "cpu/amd/model_fxx/fidvid.c"
|
||||
#include "northbridge/amd/amdk8/early_ht.c"
|
||||
|
|
|
@ -63,7 +63,6 @@ static inline int spd_read_byte(unsigned device, unsigned address)
|
|||
#include "cpu/amd/quadcore/quadcore.c"
|
||||
#include "southbridge/nvidia/mcp55/early_setup_ss.h"
|
||||
#include "southbridge/nvidia/mcp55/early_setup_car.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/microcode.h"
|
||||
|
||||
#include "cpu/amd/model_10xxx/init_cpus.c"
|
||||
|
|
|
@ -69,7 +69,6 @@ static inline int spd_read_byte(unsigned device, unsigned address)
|
|||
#include "cpu/amd/quadcore/quadcore.c"
|
||||
#include "southbridge/nvidia/mcp55/early_setup_ss.h"
|
||||
#include "southbridge/nvidia/mcp55/early_setup_car.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/microcode.h"
|
||||
|
||||
#include "cpu/amd/model_10xxx/init_cpus.c"
|
||||
|
|
|
@ -63,7 +63,6 @@ static int spd_read_byte(u32 device, u32 address)
|
|||
#include "northbridge/amd/amdfam10/pci.c"
|
||||
#include "resourcemap.c"
|
||||
#include "cpu/amd/quadcore/quadcore.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/microcode.h"
|
||||
#include "cpu/amd/model_10xxx/init_cpus.c"
|
||||
#include "northbridge/amd/amdfam10/early_ht.c"
|
||||
|
|
|
@ -58,7 +58,6 @@ static inline int spd_read_byte(u32 device, u32 address)
|
|||
#include "lib/generic_sdram.c"
|
||||
#include "resourcemap.c"
|
||||
#include "cpu/amd/dualcore/dualcore.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/model_fxx/init_cpus.c"
|
||||
#include "cpu/amd/model_fxx/fidvid.c"
|
||||
#include "tn_post_code.c"
|
||||
|
|
|
@ -58,7 +58,6 @@ static inline int spd_read_byte(u32 device, u32 address)
|
|||
#include "lib/generic_sdram.c"
|
||||
#include "resourcemap.c"
|
||||
#include "cpu/amd/dualcore/dualcore.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/model_fxx/init_cpus.c"
|
||||
#include "cpu/amd/model_fxx/fidvid.c"
|
||||
#include "northbridge/amd/amdk8/early_ht.c"
|
||||
|
|
|
@ -52,7 +52,6 @@ static inline int spd_read_byte(unsigned device, unsigned address)
|
|||
#include "northbridge/amd/amdk8/coherent_ht.c"
|
||||
#include "lib/generic_sdram.c"
|
||||
#include "cpu/amd/dualcore/dualcore.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/model_fxx/init_cpus.c"
|
||||
|
||||
void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
|
||||
|
|
|
@ -52,7 +52,6 @@ static inline int spd_read_byte(unsigned device, unsigned address)
|
|||
#include "lib/generic_sdram.c"
|
||||
#include "northbridge/amd/amdk8/resourcemap.c"
|
||||
#include "cpu/amd/dualcore/dualcore.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/model_fxx/init_cpus.c"
|
||||
|
||||
void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
|
||||
|
|
|
@ -52,7 +52,6 @@ static inline int spd_read_byte(unsigned device, unsigned address)
|
|||
#include "northbridge/amd/amdk8/coherent_ht.c"
|
||||
#include "lib/generic_sdram.c"
|
||||
#include "cpu/amd/dualcore/dualcore.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/model_fxx/init_cpus.c"
|
||||
|
||||
void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
|
||||
|
|
|
@ -51,7 +51,6 @@ static inline int spd_read_byte(unsigned device, unsigned address)
|
|||
#include "northbridge/amd/amdk8/coherent_ht.c"
|
||||
#include "lib/generic_sdram.c"
|
||||
#include "cpu/amd/dualcore/dualcore.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/model_fxx/init_cpus.c"
|
||||
|
||||
void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
|
||||
|
|
|
@ -52,7 +52,6 @@ static inline int spd_read_byte(unsigned device, unsigned address)
|
|||
#include "northbridge/amd/amdk8/coherent_ht.c"
|
||||
#include "lib/generic_sdram.c"
|
||||
#include "cpu/amd/dualcore/dualcore.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/model_fxx/init_cpus.c"
|
||||
|
||||
void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
|
||||
|
|
|
@ -51,7 +51,6 @@ static inline int spd_read_byte(unsigned device, unsigned address)
|
|||
#include "lib/generic_sdram.c"
|
||||
#include "resourcemap.c"
|
||||
#include "cpu/amd/dualcore/dualcore.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/model_fxx/init_cpus.c"
|
||||
|
||||
void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
|
||||
|
|
|
@ -38,7 +38,6 @@ static inline int spd_read_byte(unsigned device, unsigned address)
|
|||
#include "cpu/amd/dualcore/dualcore.c"
|
||||
#include "southbridge/nvidia/ck804/early_setup_ss.h"
|
||||
#include "southbridge/nvidia/ck804/early_setup.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/model_fxx/init_cpus.c"
|
||||
#include "northbridge/amd/amdk8/early_ht.c"
|
||||
|
||||
|
|
|
@ -45,7 +45,6 @@ static inline int spd_read_byte(unsigned device, unsigned address)
|
|||
RES_PORT_IO_8, SYSCTRL_IO_BASE + 0xc0+45, ~(0xff),((0<<4)|(0<<2)|(0<<0)),/* P7,GPIO46, PCIXB_PRSNT2_L*/ \
|
||||
|
||||
#include "southbridge/nvidia/ck804/early_setup_car.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/model_fxx/init_cpus.c"
|
||||
#include "northbridge/amd/amdk8/early_ht.c"
|
||||
|
||||
|
|
|
@ -63,7 +63,6 @@ static inline int spd_read_byte(unsigned device, unsigned address)
|
|||
RES_PORT_IO_8, SYSCTRL_IO_BASE + 0xc0+45, ~(0xff),((0<<4)|(0<<2)|(0<<0)),/* P7,GPIO46, PCIXB_PRSNT2_L*/
|
||||
|
||||
#include "southbridge/nvidia/ck804/early_setup_car.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/model_fxx/init_cpus.c"
|
||||
#include "northbridge/amd/amdk8/early_ht.c"
|
||||
|
||||
|
|
|
@ -75,7 +75,6 @@ static inline int spd_read_byte(unsigned device, unsigned address)
|
|||
|
||||
#include "southbridge/nvidia/mcp55/early_setup_ss.h"
|
||||
#include "southbridge/nvidia/mcp55/early_setup_car.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/model_fxx/init_cpus.c"
|
||||
#include "cpu/amd/model_fxx/fidvid.c"
|
||||
#include "northbridge/amd/amdk8/early_ht.c"
|
||||
|
|
|
@ -71,7 +71,6 @@ static inline int spd_read_byte(unsigned device, unsigned address)
|
|||
|
||||
#include "southbridge/nvidia/mcp55/early_setup_ss.h"
|
||||
#include "southbridge/nvidia/mcp55/early_setup_car.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/microcode.h"
|
||||
|
||||
#include "cpu/amd/model_10xxx/init_cpus.c"
|
||||
|
|
|
@ -71,7 +71,6 @@ static inline int spd_read_byte(unsigned device, unsigned address)
|
|||
#include "resourcemap.c"
|
||||
#include "cpu/amd/dualcore/dualcore.c"
|
||||
#include <spd.h>
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/model_fxx/init_cpus.c"
|
||||
|
||||
#define RC0 ((1<<2)<<8)
|
||||
|
|
|
@ -79,7 +79,6 @@ static inline int spd_read_byte(unsigned device, unsigned address)
|
|||
#include "resourcemap.c"
|
||||
#include "cpu/amd/dualcore/dualcore.c"
|
||||
#include <spd.h>
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/model_fxx/init_cpus.c"
|
||||
|
||||
#define RC0 ((1<<2)<<8)
|
||||
|
|
|
@ -37,7 +37,6 @@ static inline int spd_read_byte(unsigned device, unsigned address)
|
|||
#include "cpu/amd/dualcore/dualcore.c"
|
||||
#include "southbridge/nvidia/ck804/early_setup_ss.h"
|
||||
#include "southbridge/nvidia/ck804/early_setup.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/model_fxx/init_cpus.c"
|
||||
#if CONFIG_SET_FIDVID
|
||||
#include "cpu/amd/model_fxx/fidvid.c"
|
||||
|
|
Loading…
Reference in a new issue