]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
am43xx_evm: Enable GPT commands
authorTom Rini <trini@ti.com>
Tue, 21 Jan 2014 22:15:07 +0000 (17:15 -0500)
committerTom Rini <trini@ti.com>
Fri, 21 Feb 2014 19:03:44 +0000 (14:03 -0500)
Signed-off-by: Tom Rini <trini@ti.com>
include/configs/am43xx_evm.h

index d3c4756349bcf764f884e8591879e701d9974fd6..9b4716f5aaa65bc2b0c4138c1ed9425193c17adf 100644 (file)
 #define CONFIG_OMAP_USB_PHY
 #define CONFIG_AM437X_USB2PHY2_HOST
 
+/* Enhance our eMMC support / experience. */
+#define CONFIG_CMD_GPT
+#define CONFIG_EFI_PARTITION
+#define CONFIG_PARTITION_UUIDS
+#define CONFIG_CMD_PART
+
 #ifndef CONFIG_SPL_BUILD
 #define CONFIG_EXTRA_ENV_SETTINGS \
        "loadaddr=0x80200000\0" \
        "bootdir=/boot\0" \
        "bootfile=zImage\0" \
        "console=ttyO0,115200n8\0" \
+       "partitions=" \
+               "uuid_disk=${uuid_gpt_disk};" \
+               "name=rootfs,start=2MiB,size=-,uuid=${uuid_gpt_rootfs}\0" \
        "optargs=\0" \
        "mmcdev=0\0" \
        "mmcroot=/dev/mmcblk0p2 rw\0" \