This is a general cleanup patch
- drop include/part and move files to include/ - get rid lots of warnings - make resource allocator happy with w83627thg - trivial cbmem resume fix - fix payload and log level settings in abuild - fix kontron mptable for virtual wire mode - drop some dead includes and dead code. Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Ronald G. Minnich <rminnich@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5136 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
d650e9934f
commit
de3206a7be
78 changed files with 275 additions and 220 deletions
|
|
@ -184,7 +184,7 @@ void cbmem_initialize(void)
|
|||
if (acpi_slp_type == 3) {
|
||||
if (!cbmem_reinit(high_tables_base)) {
|
||||
/* Something went wrong, our high memory area got wiped */
|
||||
acpi_slp_type == 0;
|
||||
acpi_slp_type = 0;
|
||||
cbmem_init(high_tables_base, high_tables_size);
|
||||
}
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
#include <console/console.h>
|
||||
#include <part/fallback_boot.h>
|
||||
#include <part/watchdog.h>
|
||||
#include <fallback.h>
|
||||
#include <watchdog.h>
|
||||
#include <pc80/mc146818rtc.h>
|
||||
#include <arch/io.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ static void ram_fill(unsigned long start, unsigned long stop)
|
|||
* Fill.
|
||||
*/
|
||||
#if CONFIG_USE_PRINTK_IN_CAR
|
||||
printk_debug("DRAM fill: 0x%08x-0x%08x\r\n", start, stop);
|
||||
printk_debug("DRAM fill: 0x%08lx-0x%08lx\r\n", start, stop);
|
||||
#else
|
||||
print_debug("DRAM fill: ");
|
||||
print_debug_hex32(start);
|
||||
|
|
@ -42,7 +42,7 @@ static void ram_fill(unsigned long start, unsigned long stop)
|
|||
/* Display address being filled */
|
||||
if (!(addr & 0xfffff)) {
|
||||
#if CONFIG_USE_PRINTK_IN_CAR
|
||||
printk_debug("%08x \r", addr);
|
||||
printk_debug("%08lx \r", addr);
|
||||
#else
|
||||
print_debug_hex32(addr);
|
||||
print_debug(" \r");
|
||||
|
|
@ -52,7 +52,7 @@ static void ram_fill(unsigned long start, unsigned long stop)
|
|||
};
|
||||
/* Display final address */
|
||||
#if CONFIG_USE_PRINTK_IN_CAR
|
||||
printk_debug("%08x\r\nDRAM filled\r\n", addr);
|
||||
printk_debug("%08lx\r\nDRAM filled\r\n", addr);
|
||||
#else
|
||||
print_debug_hex32(addr);
|
||||
print_debug("\r\nDRAM filled\r\n");
|
||||
|
|
@ -67,7 +67,7 @@ static void ram_verify(unsigned long start, unsigned long stop)
|
|||
* Verify.
|
||||
*/
|
||||
#if CONFIG_USE_PRINTK_IN_CAR
|
||||
printk_debug("DRAM verify: 0x%08x-0x%08x\r\n", start, stop);
|
||||
printk_debug("DRAM verify: 0x%08lx-0x%08lx\r\n", start, stop);
|
||||
#else
|
||||
print_debug("DRAM verify: ");
|
||||
print_debug_hex32(start);
|
||||
|
|
@ -80,7 +80,7 @@ static void ram_verify(unsigned long start, unsigned long stop)
|
|||
/* Display address being tested */
|
||||
if (!(addr & 0xfffff)) {
|
||||
#if CONFIG_USE_PRINTK_IN_CAR
|
||||
printk_debug("%08x \r", addr);
|
||||
printk_debug("%08lx \r", addr);
|
||||
#else
|
||||
print_debug_hex32(addr);
|
||||
print_debug(" \r");
|
||||
|
|
@ -90,7 +90,7 @@ static void ram_verify(unsigned long start, unsigned long stop)
|
|||
if (value != addr) {
|
||||
/* Display address with error */
|
||||
#if CONFIG_USE_PRINTK_IN_CAR
|
||||
printk_err("Fail: @0x%08x Read value=0x%08x\r\n", addr, value);
|
||||
printk_err("Fail: @0x%08lx Read value=0x%08lx\r\n", addr, value);
|
||||
#else
|
||||
print_err("Fail: @0x");
|
||||
print_err_hex32(addr);
|
||||
|
|
@ -111,7 +111,7 @@ static void ram_verify(unsigned long start, unsigned long stop)
|
|||
}
|
||||
/* Display final address */
|
||||
#if CONFIG_USE_PRINTK_IN_CAR
|
||||
printk_debug("%08x", addr);
|
||||
printk_debug("%08lx", addr);
|
||||
#else
|
||||
print_debug_hex32(addr);
|
||||
#endif
|
||||
|
|
@ -142,7 +142,7 @@ void ram_check(unsigned long start, unsigned long stop)
|
|||
* are tested. -Tyson
|
||||
*/
|
||||
#if CONFIG_USE_PRINTK_IN_CAR
|
||||
printk_debug("Testing DRAM : %08x - %08x\r\n", start, stop);
|
||||
printk_debug("Testing DRAM : %08lx - %08lx\r\n", start, stop);
|
||||
#else
|
||||
print_debug("Testing DRAM : ");
|
||||
print_debug_hex32(start);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue