Revision: linuxbios@linuxbios.org--devel/freebios--devel--2.0--patch-47

Creator:  Ronald G. Minnich <rminnich@lanl.gov>


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1963 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
arch import user (historical)
2005-07-06 17:16:15 +00:00
parent 52871c4ad5
commit 897c78bd15
2 changed files with 324 additions and 92 deletions

View File

@@ -67,31 +67,9 @@ static void main(unsigned long bist)
// while(1)
print_err("HI THERE!\r\n");
sizemem();
// staticmem();
print_err("STATIC MEM DONE\r\n");
/* Halt if there was a built in self test failure */
// report_bist_failure(bist);
#if 0
print_pci_devices();
#endif
#if 0
if(!bios_reset_detected()) {
enable_smbus();
#if 0
dump_spd_registers(&memctrl[0]);
// dump_smbus_registers();
#endif
memreset_setup();
sdram_initialize(sizeof(memctrl)/sizeof(memctrl[0]), memctrl);
}
#endif
#if 0
else {
/* clear memory 1meg */
@@ -115,17 +93,9 @@ static void main(unsigned long bist)
dump_pci_device(PCI_DEV(0, 0, 0));
#endif
/*
#if 0
ram_check(0x00000000, msr.lo+(msr.hi<<32));
#else
#if 0
#if 1
print_err("RAM CHECK!\r\n");
// Check 16MB of memory @ 0
ram_check(0x00000000, 0x01000000);
#else
// Check 16MB of memory @ 2GB
ram_check(0x80000000, 0x81000000);
#endif
#endif
*/
}