x86: Define CONFIG_SYS_VSNPRINTF for coreboot
authorSimon Glass <sjg@chromium.org>
Sat, 20 Oct 2012 12:33:15 +0000 (12:33 +0000)
committerSimon Glass <sjg@chromium.org>
Fri, 30 Nov 2012 21:44:05 +0000 (13:44 -0800)
This option protects the printf() functions from overflow.

Signed-off-by: Simon Glass <sjg@chromium.org>
include/configs/coreboot.h

index cfe5db3..a010adc 100644 (file)
@@ -38,6 +38,7 @@
 #undef CONFIG_SHOW_BOOT_PROGRESS
 #define CONFIG_LAST_STAGE_INIT
 #define CONFIG_X86_NO_RESET_VECTOR
+#define CONFIG_SYS_VSNPRINTF
 
 /*-----------------------------------------------------------------------
  * Watchdog Configuration