summaryrefslogtreecommitdiff
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
parent5b1be1bd01dfa6868a6ab7cf430e9049212c36a9 (diff)
downloadu-boot-imx-a78d49473c81b8c95adfe684e62e5af6aa4f902d.zip
u-boot-imx-a78d49473c81b8c95adfe684e62e5af6aa4f902d.tar.gz
u-boot-imx-a78d49473c81b8c95adfe684e62e5af6aa4f902d.tar.bz2
x86: Define CONFIG_SYS_VSNPRINTF for coreboot
This option protects the printf() functions from overflow. Signed-off-by: Simon Glass <sjg@chromium.org>
-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 cfe5db3..a010adc 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