diff options
author | Ronald G. Minnich <rminnich@gmail.com> | 2003-09-26 17:16:14 +0000 |
---|---|---|
committer | Ronald G. Minnich <rminnich@gmail.com> | 2003-09-26 17:16:14 +0000 |
commit | 11dbdf5d782b94fb40c6f57488333d927d244975 (patch) | |
tree | 745b2976c49bfe47a40804413bacf42bb9fac97a /src/mainboard/via | |
parent | 430111b9d1472ef72d9960020eb3eb28e276ca7e (diff) |
just to get us back where we were.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1151 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/via')
-rw-r--r-- | src/mainboard/via/epia/auto.c | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/src/mainboard/via/epia/auto.c b/src/mainboard/via/epia/auto.c index 3ac96078e5..f8ad4e3e7d 100644 --- a/src/mainboard/via/epia/auto.c +++ b/src/mainboard/via/epia/auto.c @@ -11,6 +11,8 @@ #include "arch/i386/lib/console.c" #include "ram/ramtest.c" #include "northbridge/via/vt8601/raminit.h" +/* + */ void udelay(int usecs) { int i; for(i = 0; i < usecs; i++) @@ -43,21 +45,24 @@ static inline int spd_read_byte(unsigned device, unsigned address) #include "northbridge/via/vt8601/raminit.c" -#include "sdram/generic_sdram.c" /* +#include "sdram/generic_sdram.c" */ static void main(void) { - struct mem_controller cpu[1]; - // init_timer(); + /* init_timer();*/ uart_init(); console_init(); enable_smbus(); + /* memreset_setup(); -// sdram_initialize(sizeof(cpu)/sizeof(cpu[0]), cpu); + this is way more generic than we need. + sdram_initialize(sizeof(cpu)/sizeof(cpu[0]), cpu); + */ + sdram_set_registers((const struct mem_controller *) 0); /* Check all of memory */ |