diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2018-06-29 21:19:08 +0300 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2018-07-23 11:59:48 +0300 |
commit | 4242de43bb386199c705271dfbb19ccf4b3c281f (patch) | |
tree | 3db4f93c5fa8e6c0a0dbab70429ef865c2729afe /include/configs | |
parent | 7985987dc4990d2ecc75bb11b433735c5ce41911 (diff) | |
download | u-boot-4242de43bb386199c705271dfbb19ccf4b3c281f.tar.xz |
pico-imx7d: Add GPT partitioning support
This allow the use of:
> run setup_emmc
inside of the U-Boot prompt to do the partitioning of the disk.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/pico-imx7d.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/configs/pico-imx7d.h b/include/configs/pico-imx7d.h index d27b925110..9746caae91 100644 --- a/include/configs/pico-imx7d.h +++ b/include/configs/pico-imx7d.h @@ -50,6 +50,10 @@ "ramdiskaddr=0x83000000\0" \ "scriptaddr=" __stringify(CONFIG_LOADADDR) "\0" \ "finduuid=part uuid mmc 0:1 uuid\0" \ + "partitions=" \ + "uuid_disk=${uuid_gpt_disk};" \ + "name=rootfs,size=0,uuid=${uuid_gpt_rootfs}\0" \ + "setup_emmc=mmc dev 0; gpt write mmc 0 $partitions; reset;\0" \ BOOTENV #define BOOT_TARGET_DEVICES(func) \ |