[coreboot] r81 - trunk/filo/main

svn at coreboot.org svn at coreboot.org
Thu Oct 9 22:36:19 CEST 2008


Author: stuge
Date: 2008-10-09 22:36:19 +0200 (Thu, 09 Oct 2008)
New Revision: 81

Modified:
   trunk/filo/main/filo.c
Log:
Use printf() instead of grub_printf() in main/

When CONFIG_USE_GRUB is set, include/debug.h automatically redefines printf()
so that grub_printf() is called when available.

Thanks to Roman Yeryomin for finding this!

Signed-off-by: Peter Stuge <peter at stuge.se>
Acked-by: Peter Stuge <peter at stuge.se>


Modified: trunk/filo/main/filo.c
===================================================================
--- trunk/filo/main/filo.c	2008-10-05 18:02:45 UTC (rev 80)
+++ trunk/filo/main/filo.c	2008-10-09 20:36:19 UTC (rev 81)
@@ -94,7 +94,7 @@
 
 void __attribute__((weak)) platform_reboot(void)
 {
-	grub_printf("Rebooting not supported.\n");
+	printf("Rebooting not supported.\n");
 }
 
 void reset_handler(void)





More information about the coreboot mailing list