]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
am335x_evm: Enable GPT commands
authorTom Rini <trini@ti.com>
Tue, 21 Jan 2014 22:15:06 +0000 (17:15 -0500)
committerTom Rini <trini@ti.com>
Fri, 21 Feb 2014 19:03:27 +0000 (14:03 -0500)
Signed-off-by: Tom Rini <trini@ti.com>
include/configs/am335x_evm.h

index 96ae369c6aca3f7e97ab1c5d0738ebd4e8236b15..59a8f36d16947d45b8726fac86973307a40db7d2 100644 (file)
 /* Always 128 KiB env size */
 #define CONFIG_ENV_SIZE                        (128 << 10)
 
+/* Enhance our eMMC support / experience. */
+#define CONFIG_CMD_GPT
+#define CONFIG_EFI_PARTITION
+#define CONFIG_PARTITION_UUIDS
+#define CONFIG_CMD_PART
+
 #ifdef CONFIG_NAND
 #define NANDARGS \
        "mtdids=" MTDIDS_DEFAULT "\0" \
@@ -65,6 +71,9 @@
        "bootfile=zImage\0" \
        "fdtfile=undefined\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 ro\0" \
 #if defined(CONFIG_SPL_BUILD) && defined(CONFIG_SPL_USBETH_SUPPORT)
 /* disable host part of MUSB in SPL */
 #undef CONFIG_MUSB_HOST
+/* disable EFI partitions and partition UUID support */
+#undef CONFIG_PARTITION_UUIDS
+#undef CONFIG_EFI_PARTITION
 /*
  * Disable CPSW SPL support so we fit within the 101KiB limit.
  */