summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRonald G. Minnich <rminnich@gmail.com>2003-09-26 14:36:27 +0000
committerRonald G. Minnich <rminnich@gmail.com>2003-09-26 14:36:27 +0000
commit987fe0f2a477a133ddf5a912535354ae49565afd (patch)
treebf72703f1c3236faf055e77fd744f88b1fd47258 /src
parent0502b7a64c748ffba5e509b8be400debf0396a0e (diff)
downloadcoreboot-987fe0f2a477a133ddf5a912535354ae49565afd.tar.xz
fix 'deprecated' warnings
more via fixes git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1144 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
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;
};