Bläddra i källkod

x86: Define CONFIG_SYS_VSNPRINTF for coreboot

This option protects the printf() functions from overflow.

Signed-off-by: Simon Glass <sjg@chromium.org>
Simon Glass 12 år sedan
förälder
incheckning
a78d49473c
1 ändrade filer med 1 tillägg och 0 borttagningar
  1. 1 0
      include/configs/coreboot.h

+ 1 - 0
include/configs/coreboot.h

@@ -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