]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
configs: j721e_evm_a72: Add Support for GPT partitions
authorFaiz Abbas <faiz_abbas@ti.com>
Thu, 16 Jan 2020 14:12:23 +0000 (19:42 +0530)
committerLokesh Vutla <lokeshvutla@ti.com>
Mon, 20 Jan 2020 04:40:28 +0000 (10:10 +0530)
Introduce a default GPT partition table for eMMC.

Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
include/configs/j721e_evm.h

index 71cea3dd8a3d2f6273c272152e868d7cbe0141c7..bbbbe4296e667c064f51882c9f81dab693919103 100644 (file)
        "args_all=setenv optargs earlycon=ns16550a,mmio32,0x02800000\0" \
        "run_kern=booti ${loadaddr} ${rd_spec} ${fdtaddr}\0"
 
+#define PARTS_DEFAULT \
+       /* Linux partitions */ \
+       "uuid_disk=${uuid_gpt_disk};" \
+       "name=rootfs,start=0,size=-,uuid=${uuid_gpt_rootfs}\0"
+
 /* U-Boot MMC-specific configuration */
 #define EXTRA_ENV_J721E_BOARD_SETTINGS_MMC                             \
        "boot=mmc\0"                                                    \
@@ -88,6 +93,7 @@
                "load mmc ${bootpart} ${overlayaddr} ${bootdir}/${overlay} && " \
                "fdt apply ${overlayaddr};"                             \
                "done;\0"                                               \
+       "partitions=" PARTS_DEFAULT                                     \
        "get_kern_mmc=load mmc ${bootpart} ${loadaddr} "                \
                "${bootdir}/${name_kern}\0"