Patchwork [U-Boot,v2,10/15] x86: Enable CONFIG_CMD_ZBOOT for coreboot

login
register
mail settings
Submitter Simon Glass
Date Dec. 2, 2012, 2:49 p.m.
Message ID <1354459800-22370-11-git-send-email-sjg@chromium.org>
Download mbox | patch
Permalink /patch/203227/
State Accepted, archived
Delegated to: Simon Glass
Headers show

Comments

Simon Glass - Dec. 2, 2012, 2:49 p.m.
Enable this option to support booting a zImage.

Signed-off-by: Simon Glass <sjg@chromium.org>
---
Changes in v2:
- Enable CONFIG_ZBOOT_32 to make CONFIG_CMD_BOOT work correctly

 include/configs/coreboot.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

Patch

diff --git a/include/configs/coreboot.h b/include/configs/coreboot.h
index fcfa7ed..e45ecad 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"