Pārlūkot izejas kodu

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 gadi atpakaļ
vecāks
revīzija
a78d49473c
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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