From 34d6057be1a162ce6424314026af12f8963f2df2 Mon Sep 17 00:00:00 2001
From: Simon Glass <sjg@chromium.org>
Date: Sun, 2 Dec 2012 04:49:55 +0000
Subject: [PATCH] x86: Enable CONFIG_CMD_ZBOOT for coreboot

Enable this option to support booting a zImage.

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

diff --git a/include/configs/coreboot.h b/include/configs/coreboot.h
index fcfa7edfb4..e45ecad7b4 100644
--- a/include/configs/coreboot.h
+++ b/include/configs/coreboot.h
@@ -39,6 +39,7 @@
 #define CONFIG_LAST_STAGE_INIT
 #define CONFIG_X86_NO_RESET_VECTOR
 #define CONFIG_SYS_VSNPRINTF
+#define CONFIG_ZBOOT_32
 
 /*-----------------------------------------------------------------------
  * Watchdog Configuration
@@ -175,6 +176,8 @@
 #define CONFIG_CMD_FAT
 #define CONFIG_CMD_EXT2
 
+#define CONFIG_CMD_ZBOOT
+
 #define CONFIG_BOOTDELAY	2
 #define CONFIG_BOOTARGS		"root=/dev/mtdblock0 console=ttyS0,9600"
 
-- 
2.39.5