From a78d49473c81b8c95adfe684e62e5af6aa4f902d Mon Sep 17 00:00:00 2001
From: Simon Glass <sjg@chromium.org>
Date: Sat, 20 Oct 2012 12:33:15 +0000
Subject: [PATCH] x86: Define CONFIG_SYS_VSNPRINTF for coreboot

This option protects the printf() functions from overflow.

Signed-off-by: Simon Glass <sjg@chromium.org>
---
 include/configs/coreboot.h | 1 +
 1 file changed, 1 insertion(+)

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
-- 
2.39.5