Patchwork [U-Boot,v2] x86: Turn on support for EFI's GPT in the coreboot config

login
register
mail settings
Submitter Simon Glass
Date Dec. 6, 2012, 1:10 a.m.
Message ID <1354756258-32333-1-git-send-email-sjg@chromium.org>
Download mbox | patch
Permalink /patch/204091/
State Accepted, archived
Delegated to: Simon Glass
Headers show

Comments

Simon Glass - Dec. 6, 2012, 1:10 a.m.
From: Gabe Black <gabeblack@chromium.org>

This allows u-boot to figure out the partitions of a chrome-os install.

Signed-off-by: Gabe Black <gabeblack@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
---
Changes in v2:
- Add CONFIG_CMD_PART and CONFIG_PARTITION_UUIDS which are required

 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 46b8d78..06d2b2f 100644
--- a/include/configs/coreboot.h
+++ b/include/configs/coreboot.h
@@ -126,13 +126,16 @@ 
 /************************************************************
  * DISK Partition support
  ************************************************************/
+#define CONFIG_EFI_PARTITION
 #define CONFIG_DOS_PARTITION
 #define CONFIG_MAC_PARTITION
 #define CONFIG_ISO_PARTITION		/* Experimental */
 
+#define CONFIG_CMD_PART
 #define CONFIG_CMD_CBFS
 #define CONFIG_CMD_EXT4
 #define CONFIG_CMD_EXT4_WRITE
+#define CONFIG_PARTITION_UUIDS
 
 /*-----------------------------------------------------------------------
  * Video Configuration