add one debug print, move all smbus_read_byte to spd_read_byte. attached.
ron
Add a debug print. Change all smbus_read_byte to spd_read_byte. Signed-off-by: Ronald G. Minnich <[EMAIL PROTECTED]> Index: arch/x86/geodelx/geodelx.c =================================================================== --- arch/x86/geodelx/geodelx.c (revision 524) +++ arch/x86/geodelx/geodelx.c (working copy) @@ -150,6 +150,7 @@ { struct msr msr_glcp_sys_pll; /* GeodeLink PLL control MSR */ + printk(BIOS_DEBUG, "pll_reset: read msr %#x\n", GLCP_SYS_RSTPLL); msr_glcp_sys_pll = rdmsr(GLCP_SYS_RSTPLL); printk(BIOS_DEBUG, "_MSR GLCP_SYS_RSTPLL (%08x) value is: %08x:%08x\n", @@ -346,20 +347,20 @@ * Note: We only support a module width of 64. */ dimms = 0; - spdbyte0 = smbus_read_byte(dimm0, SPD_PRIMARY_SDRAM_WIDTH); + spdbyte0 = spd_read_byte(dimm0, SPD_PRIMARY_SDRAM_WIDTH); if (spdbyte0 != 0xFF) { dimms++; spdbyte0 = (u8)64 / spdbyte0 * - (u8)(smbus_read_byte(dimm0, SPD_NUM_DIMM_BANKS)); + (u8)(spd_read_byte(dimm0, SPD_NUM_DIMM_BANKS)); } else { spdbyte0 = 0; } - spdbyte1 = smbus_read_byte(dimm1, SPD_PRIMARY_SDRAM_WIDTH); + spdbyte1 = spd_read_byte(dimm1, SPD_PRIMARY_SDRAM_WIDTH); if (spdbyte1 != 0xFF) { dimms++; spdbyte1 = (u8)64 / spdbyte1 * - (u8)(smbus_read_byte(dimm1, SPD_NUM_DIMM_BANKS)); + (u8)(spd_read_byte(dimm1, SPD_NUM_DIMM_BANKS)); } else { spdbyte1 = 0; }
-- linuxbios mailing list linuxbios@linuxbios.org http://www.linuxbios.org/mailman/listinfo/linuxbios