Explorar o código

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 %!s(int64=12) %!d(string=hai) anos
pai
achega
a78d49473c
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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