Kill off stage1_mtrr.c completely, and bring in mtrr.c for stage2 from v2.

Signed-off-by: Corey Osgood <corey.osgood@gmail.com>

It could use some cleanup, but looks good.

Acked-by: Peter Stuge <peter@stuge.se>

With some cleanup.

Acked-by: Ronald G. Minnich <rminnich@gmail.com>




git-svn-id: svn://coreboot.org/repository/coreboot-v3@1085 f3766cd6-281f-0410-b1cd-43a5c92072e9
This commit is contained in:
Ronald G. Minnich 2008-12-23 19:02:44 +00:00
commit a492ff7cc9
10 changed files with 465 additions and 10 deletions

View file

@ -107,7 +107,7 @@ struct node_core_id get_node_core_id(void);
void set_var_mtrr_x(
unsigned long reg, u32 base_lo, u32 base_hi, u32 size_lo, u32 size_hi, unsigned long type);
void set_var_mtrr(
unsigned long reg, unsigned long base, unsigned long size, unsigned long type);
unsigned int reg, unsigned long basek, unsigned long sizek, unsigned long type, unsigned long address_bits);
/* generic SMP functions required to be supported (even by non-SMP)
*/

View file

@ -35,7 +35,6 @@
void x86_setup_var_mtrrs(unsigned address_bits);
void x86_setup_mtrrs(unsigned address_bits);
int x86_mtrr_check(void);
void early_mtrr_init(void);
#endif