From f2b7a43f9d0806417847a16e24a55d07af972e10 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Tue, 30 Mar 2010 22:21:06 +0000 Subject: [PATCH] no USE_INIT Signed-off-by: Stefan Reinauer Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5339 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/lib/generic_sdram.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/lib/generic_sdram.c b/src/lib/generic_sdram.c index 9685267c08..79b501f9a4 100644 --- a/src/lib/generic_sdram.c +++ b/src/lib/generic_sdram.c @@ -6,8 +6,8 @@ static inline void print_debug_sdram_8(const char *strval, uint32_t val) { -#if CONFIG_USE_INIT - printk(BIOS_DEBUG, "%s%02x\r\n", strval, val); +#if CONFIG_USE_PRINTK_IN_CAR + printk(BIOS_DEBUG, "%s%02x\n", strval, val); #else print_debug(strval); print_debug_hex8(val); print_debug("\r\n"); #endif @@ -23,10 +23,10 @@ void sdram_initialize(int controllers, const struct mem_controller *ctrl) int i; /* Set the registers we can set once to reasonable values */ for(i = 0; i < controllers; i++) { - print_debug_sdram_8("Ram1.",i); + print_debug_sdram_8("Ram1.", i); #if RAMINIT_SYSINFO == 1 - sdram_set_registers(ctrl + i , sysinfo); + sdram_set_registers(ctrl + i, sysinfo); #else sdram_set_registers(ctrl + i); #endif @@ -34,10 +34,10 @@ void sdram_initialize(int controllers, const struct mem_controller *ctrl) /* Now setup those things we can auto detect */ for(i = 0; i < controllers; i++) { - print_debug_sdram_8("Ram2.",i); + print_debug_sdram_8("Ram2.", i); #if RAMINIT_SYSINFO == 1 - sdram_set_spd_registers(ctrl + i , sysinfo); + sdram_set_spd_registers(ctrl + i, sysinfo); #else sdram_set_spd_registers(ctrl + i); #endif