fix 'deprecated' warnings
more via fixes git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1144 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
0502b7a64c
commit
987fe0f2a4
|
@ -88,11 +88,11 @@ void secondary_cpu_init(void)
|
||||||
int index;
|
int index;
|
||||||
|
|
||||||
atomic_inc(&active_cpus);
|
atomic_inc(&active_cpus);
|
||||||
printk_debug(__FUNCTION__ "\n");
|
printk_debug("%s\n", __FUNCTION__);
|
||||||
mem = get_ramsize();
|
mem = get_ramsize();
|
||||||
id = cpu_initialize(mem);
|
id = cpu_initialize(mem);
|
||||||
index = processor_index(id);
|
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;
|
processor_map[index] = CPU_ENABLED;
|
||||||
atomic_dec(&active_cpus);
|
atomic_dec(&active_cpus);
|
||||||
stop_cpu(id);
|
stop_cpu(id);
|
||||||
|
|
|
@ -44,6 +44,8 @@ static inline int spd_read_byte(unsigned device, unsigned address)
|
||||||
|
|
||||||
#include "northbridge/via/vt8601/raminit.c"
|
#include "northbridge/via/vt8601/raminit.c"
|
||||||
#include "sdram/generic_sdram.c"
|
#include "sdram/generic_sdram.c"
|
||||||
|
/*
|
||||||
|
*/
|
||||||
|
|
||||||
static void main(void)
|
static void main(void)
|
||||||
{
|
{
|
||||||
|
@ -55,7 +57,7 @@ static void main(void)
|
||||||
|
|
||||||
enable_smbus();
|
enable_smbus();
|
||||||
memreset_setup();
|
memreset_setup();
|
||||||
sdram_initialize(sizeof(cpu)/sizeof(cpu[0]), cpu);
|
// sdram_initialize(sizeof(cpu)/sizeof(cpu[0]), cpu);
|
||||||
|
|
||||||
|
|
||||||
/* Check all of memory */
|
/* Check all of memory */
|
||||||
|
|
|
@ -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;
|
int nothing;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue