summaryrefslogtreecommitdiff
path: root/src/mainboard/via/epia/auto.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/via/epia/auto.c')
-rw-r--r--src/mainboard/via/epia/auto.c13
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 */