From 7488e049df9899dd7062b2ffe393b3e9a6f50dc5 Mon Sep 17 00:00:00 2001 From: Joseph Smith Date: Fri, 9 Apr 2010 11:10:25 +0000 Subject: 1. This patch adds CAR for Intel P6 series processors. 2. Add support for Micro-FCBGA 479 Celeron and PIII's 3. Add support for model_6bx and microcode updates 4. Add support for CAR and Tinybootblock on RCA RM4100 and Thomson IP1000 Build and boot tested. Signed-off-by: Joseph Smith The change to CAR reveiled a few more warnings in the ICH4 and i830 code, I fixed them on the fly. Checking this in because my last two commits broke Joseph's CAR patch. This version fixes the issues. Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5388 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/northbridge/amd/amdk8/raminit_f_dqs.c | 4 +++- src/northbridge/intel/i82830/raminit.c | 5 ++--- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'src/northbridge') diff --git a/src/northbridge/amd/amdk8/raminit_f_dqs.c b/src/northbridge/amd/amdk8/raminit_f_dqs.c index 5a82c51dc3..a668c9f1e0 100644 --- a/src/northbridge/amd/amdk8/raminit_f_dqs.c +++ b/src/northbridge/amd/amdk8/raminit_f_dqs.c @@ -18,6 +18,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include + //0: mean no debug info #define DQS_TRAIN_DEBUG 0 @@ -2091,7 +2093,7 @@ static void train_ram(unsigned nodeid, struct sys_info *sysinfo, struct sys_info sysinfox->mem_trained[nodeid] = sysinfo->mem_trained[nodeid]; } -static void copy_and_run_ap_code_in_car(unsigned ret_addr); + static inline void train_ram_on_node(unsigned nodeid, unsigned coreid, struct sys_info *sysinfo, unsigned retcall) { if(coreid) return; // only do it on core0 diff --git a/src/northbridge/intel/i82830/raminit.c b/src/northbridge/intel/i82830/raminit.c index c9cbdbb8ec..27c48701ff 100644 --- a/src/northbridge/intel/i82830/raminit.c +++ b/src/northbridge/intel/i82830/raminit.c @@ -191,8 +191,8 @@ DIMM-independant configuration functions. -----------------------------------------------------------------------------*/ struct dimm_size { - unsigned long side1; - unsigned long side2; + unsigned int side1; + unsigned int side2; }; static struct dimm_size spd_get_dimm_size(unsigned device) @@ -541,7 +541,6 @@ static void northbridge_set_registers(void) static void sdram_initialize(void) { - int i; u32 reg32; /* Setup Initial SDRAM Registers */ -- cgit v1.2.3