diff mbox

[U-Boot,11/12] x86: Define CONFIG_SYS_VSNPRINTF for coreboot

Message ID 1350772396-28946-12-git-send-email-sjg@chromium.org
State Accepted, archived
Delegated to: Simon Glass
Headers show

Commit Message

Simon Glass Oct. 20, 2012, 10:33 p.m. UTC
This option protects the printf() functions from overflow.

Signed-off-by: Simon Glass <sjg@chromium.org>
---
 include/configs/coreboot.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff mbox

Patch

diff --git a/include/configs/coreboot.h b/include/configs/coreboot.h
index fe589f3..56bc699 100644
--- a/include/configs/coreboot.h
+++ b/include/configs/coreboot.h
@@ -38,6 +38,7 @@ 
 #undef CONFIG_SHOW_BOOT_PROGRESS
 #define CONFIG_LAST_STAGE_INIT
 #define CONFIG_NO_RESET_CODE
+#define CONFIG_SYS_VSNPRINTF
 
 #define CONFIG_STD_DEVICES_SETTINGS     "stdin=usbkbd,vga,serial\0" \
 					"stdout=vga,serial,cbmem\0" \