diff mbox

[U-Boot,3/3] dra7xx_evm: Enable GPT commands

Message ID 1390342508-29335-3-git-send-email-trini@ti.com
State Accepted
Delegated to: Tom Rini
Headers show

Commit Message

Tom Rini Jan. 21, 2014, 10:15 p.m. UTC
Signed-off-by: Tom Rini <trini@ti.com>
---
 include/configs/dra7xx_evm.h |   11 +++++++++++
 1 file changed, 11 insertions(+)

Comments

Tom Rini Feb. 21, 2014, 7:15 p.m. UTC | #1
On Tue, Jan 21, 2014 at 05:15:08PM -0500, Tom Rini wrote:
> Signed-off-by: Tom Rini <trini@ti.com>
> 
> ---
> include/configs/dra7xx_evm.h |   11 +++++++++++
>  1 file changed, 11 insertions(+)
> 
> diff --git a/include/configs/dra7xx_evm.h b/include/configs/dra7xx_evm.h
> index f210ed8..94cfb5e 100644
> --- a/include/configs/dra7xx_evm.h
> +++ b/include/configs/dra7xx_evm.h
> @@ -34,8 +34,19 @@
>  
>  #define CONFIG_SYS_OMAP_ABE_SYSCK
>  
> +/* Define the default GPT table for eMMC */
> +#define PARTS_DEFAULT \
> +	"uuid_disk=${uuid_gpt_disk};" \
> +	"name=rootfs,start=2MiB,size=-,uuid=${uuid_gpt_rootfs}"
> +
>  #include <configs/omap5_common.h>
>  
> +/* Enhance our eMMC support / experience. */
> +#define CONFIG_CMD_GPT
> +#define CONFIG_EFI_PARTITION
> +#define CONFIG_PARTITION_UUIDS
> +#define CONFIG_CMD_PART
> +
>  /* CPSW Ethernet */
>  #define CONFIG_CMD_NET			/* 'bootp' and 'tftp' */
>  #define CONFIG_CMD_DHCP

Applied to u-boot-ti/master, thanks!
diff mbox

Patch

diff --git a/include/configs/dra7xx_evm.h b/include/configs/dra7xx_evm.h
index f210ed8..94cfb5e 100644
--- a/include/configs/dra7xx_evm.h
+++ b/include/configs/dra7xx_evm.h
@@ -34,8 +34,19 @@ 
 
 #define CONFIG_SYS_OMAP_ABE_SYSCK
 
+/* Define the default GPT table for eMMC */
+#define PARTS_DEFAULT \
+	"uuid_disk=${uuid_gpt_disk};" \
+	"name=rootfs,start=2MiB,size=-,uuid=${uuid_gpt_rootfs}"
+
 #include <configs/omap5_common.h>
 
+/* Enhance our eMMC support / experience. */
+#define CONFIG_CMD_GPT
+#define CONFIG_EFI_PARTITION
+#define CONFIG_PARTITION_UUIDS
+#define CONFIG_CMD_PART
+
 /* CPSW Ethernet */
 #define CONFIG_CMD_NET			/* 'bootp' and 'tftp' */
 #define CONFIG_CMD_DHCP