summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/boot/hardwaremain.c4
-rw-r--r--src/mainboard/via/epia/auto.c4
-rw-r--r--src/mainboard/via/epia/chip.h4
3 files changed, 7 insertions, 5 deletions
diff --git a/src/boot/hardwaremain.c b/src/boot/hardwaremain.c
index de7600743d..6231d1167e 100644
--- a/src/boot/hardwaremain.c
+++ b/src/boot/hardwaremain.c
@@ -88,11 +88,11 @@ void secondary_cpu_init(void)
int index;
atomic_inc(&active_cpus);
- printk_debug(__FUNCTION__ "\n");
+ printk_debug("%s\n", __FUNCTION__);
mem = get_ramsize();
id = cpu_initialize(mem);
index = processor_index(id);
- printk_debug(__FUNCTION__ " %d/%u\n", index, id);
+ printk_debug("%s %d/%u\n", __FUNCTION__ , index, id);
processor_map[index] = CPU_ENABLED;
atomic_dec(&active_cpus);
stop_cpu(id);
diff --git a/src/mainboard/via/epia/auto.c b/src/mainboard/via/epia/auto.c
index 5b8aa0bbdd..3ac96078e5 100644
--- a/src/mainboard/via/epia/auto.c
+++ b/src/mainboard/via/epia/auto.c
@@ -44,6 +44,8 @@ static inline int spd_read_byte(unsigned device, unsigned address)
#include "northbridge/via/vt8601/raminit.c"
#include "sdram/generic_sdram.c"
+/*
+ */
static void main(void)
{
@@ -55,7 +57,7 @@ static void main(void)
enable_smbus();
memreset_setup();
- sdram_initialize(sizeof(cpu)/sizeof(cpu[0]), cpu);
+// sdram_initialize(sizeof(cpu)/sizeof(cpu[0]), cpu);
/* Check all of memory */
diff --git a/src/mainboard/via/epia/chip.h b/src/mainboard/via/epia/chip.h
index 9836e2dfa9..94b632b5a8 100644
--- a/src/mainboard/via/epia/chip.h
+++ b/src/mainboard/via/epia/chip.h
@@ -1,5 +1,5 @@
-struct chip_control mainboard_arima_hdama_control;
+struct chip_control mainboard_via_epia_control;
-struct mainboard_arima_hdama_config {
+struct mainboard_via_epia_config {
int nothing;
};