sizeram removal/conversion.
- mem.h and sizeram.h and all includes killed because the are no longer needed. - linuxbios_table.c updated to directly look at the device tree for occupied memory areas. - first very incomplete stab a converting the ppc code to work with the dynamic device tree - Ignore resources before we have read them from devices, (if the device is disabled ignore it's resources). - First stab at Pentium-M support - add part/init_timer.h making init_timer conditional until there is a better way of handling it. - Converted all of the x86 sizeram to northbridge set_resources functions. git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1722 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
#ifndef MEM_H
|
||||
#define MEM_H
|
||||
|
||||
struct mem_range {
|
||||
unsigned long basek;
|
||||
unsigned long sizek;
|
||||
};
|
||||
|
||||
/* mem_range arrays are non-overlapping, in ascending order and null terminated */
|
||||
|
||||
struct mem_range *sizeram(void);
|
||||
|
||||
#endif /* MEM_H */
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
#ifndef ASSEMBLY
|
||||
|
||||
#if HAVE_FALLBACK_BOOT
|
||||
#if HAVE_FALLBACK_BOOT == 1
|
||||
void boot_successful(void);
|
||||
#else
|
||||
#define boot_successful()
|
||||
|
||||
10
src/include/part/init_timer.h
Normal file
10
src/include/part/init_timer.h
Normal file
@@ -0,0 +1,10 @@
|
||||
#ifndef PART_INIT_TIMER_H
|
||||
#define PART_DELAY_H
|
||||
|
||||
#if HAVE_INIT_TIMER == 1
|
||||
void init_timer(void);
|
||||
#else
|
||||
#define init_timer() do{} while(0)
|
||||
#endif
|
||||
|
||||
#endif /* PART_INIT_TIMER_H */
|
||||
@@ -1,7 +0,0 @@
|
||||
#ifndef PART_SIZERAM_H
|
||||
#define PART_SIZERAM_H
|
||||
|
||||
struct mem_rang;
|
||||
struct mem_range *sizeram(void);
|
||||
|
||||
#endif /* PART_SIZERAM_H */
|
||||
Reference in New Issue
Block a user