summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2012-10-20 12:33:15 +0000
committerSimon Glass <sjg@chromium.org>2012-11-30 13:44:05 -0800
commita78d49473c81b8c95adfe684e62e5af6aa4f902d (patch)
tree14888985343f0d28e9f72df08c30ebc0a5d90abe /include
parent5b1be1bd01dfa6868a6ab7cf430e9049212c36a9 (diff)
x86: Define CONFIG_SYS_VSNPRINTF for coreboot
This option protects the printf() functions from overflow. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/configs/coreboot.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/coreboot.h b/include/configs/coreboot.h
index cfe5db35a0..a010adc2d9 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_X86_NO_RESET_VECTOR
+#define CONFIG_SYS_VSNPRINTF
/*-----------------------------------------------------------------------
* Watchdog Configuration