Make amdk8 printk_raminit() accept just a single string parameter
authorPeter Stuge <peter@stuge.se>
Wed, 10 Nov 2010 02:12:05 +0000 (02:12 +0000)
committerPeter Stuge <peter@stuge.se>
Wed, 10 Nov 2010 02:12:05 +0000 (02:12 +0000)
The function is called with no format specifiers in the first parameter
throughout the code, so it needs to work also with just one parameter.

Signed-off-by: Peter Stuge <peter@stuge.se>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6056 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

src/northbridge/amd/amdk8/raminit_f.c

index 218acd0890accb10befbb601a62158c02d574fb9..0a1db664e13bc18ac4dce0a27b5f7f77cd37c61c 100644 (file)
@@ -33,9 +33,9 @@
 #endif
 
 #if CONFIG_DEBUG_RAM_SETUP
-#define printk_raminit(fmt, arg...) printk(BIOS_DEBUG, fmt, arg)
+#define printk_raminit(args...) printk(BIOS_DEBUG, args)
 #else
-#define printk_raminit(fmt, arg...)
+#define printk_raminit(args...)
 #endif