]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
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 cfe5db35a0042ef4ee033bd61138cb34ae3bd357..a010adc2d99a4f014af0f199d3ce530ec1c94e81 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