*** empty log message ***

git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1291 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Greg Watson 2003-11-15 15:54:16 +00:00
parent 354955799b
commit 370845147f
1 changed files with 3 additions and 2 deletions

View File

@ -671,7 +671,8 @@ mpc107_probe_dimms(int no_dimms, sdram_dimm_info *dimms, sdram_bank_info * bank)
unsigned char data[256]; unsigned char data[256];
unsigned dimm; unsigned dimm;
printk_debug("i2c testing\n"); printk_debug("Probing DIMMS...\n");
mpc107_i2c_start(NULL); mpc107_i2c_start(NULL);
for(dimm = 0; dimm < no_dimms; dimm++) for(dimm = 0; dimm < no_dimms; dimm++)
@ -691,7 +692,7 @@ mpc107_probe_dimms(int no_dimms, sdram_dimm_info *dimms, sdram_bank_info * bank)
data, DIMM_LENGTH); data, DIMM_LENGTH);
if (limit > 3) { if (limit > 3) {
sdram_dimm_to_bank_info(data, dimms + dimm, 0); sdram_dimm_to_bank_info(data, dimms + dimm, 1);
memcpy(dimms[dimm].part_number, data + 73, 18); memcpy(dimms[dimm].part_number, data + 73, 18);
dimms[dimm].part_number[18] = 0; dimms[dimm].part_number[18] = 0;
printk_debug("Part Number: %s\n", dimms[dimm].part_number); printk_debug("Part Number: %s\n", dimms[dimm].part_number);