- Adds support for the Advantech eval board. Configuration was produced
on a SOM-DB2301 baseboard with a SOM-2354 cpu module. - Also does a slight tweak to the ram test code to make it more obvious when it fails. git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2231 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
@@ -69,17 +69,26 @@ static void ram_verify(unsigned long start, unsigned long stop)
|
||||
value = read_phys(addr);
|
||||
if (value != addr) {
|
||||
/* Display address with error */
|
||||
print_err("Fail: @0x");
|
||||
print_err_hex32(addr);
|
||||
print_err_char(':');
|
||||
print_err(" Read value=0x");
|
||||
print_err_hex32(value);
|
||||
print_err("\r\n");
|
||||
i++;
|
||||
if(i>256) break;
|
||||
if(i>256) {
|
||||
print_debug("Aborting.\n\r");
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
/* Display final address */
|
||||
print_debug_hex32(addr);
|
||||
print_debug("\r\nDRAM verified\r\n");
|
||||
if (i) {
|
||||
print_debug("\r\nDRAM did _NOT_ verify!\r\n");
|
||||
}
|
||||
else {
|
||||
print_debug("\r\nDRAM range verified.\r\n");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user