diff options
author | Fabio Berton <fabio.berton@ossystems.com.br> | 2017-11-16 09:59:48 -0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2017-11-20 09:54:09 +0100 |
commit | ebbdeb2a102c8f3578c56a63485b6d51a6b9af34 (patch) | |
tree | 5e57f91d54009f2209040d4180eac004caafa3b1 /include/configs/pico-imx6ul.h | |
parent | db430cd4799cb21c77bd58a4b9eb59cc33cc6bfc (diff) |
pico-imx6ul: Add function to create gpt partitions
Command run setup_emmc will create gpt partitions for mmc 0 device
based on patitions variable.
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'include/configs/pico-imx6ul.h')
-rw-r--r-- | include/configs/pico-imx6ul.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/pico-imx6ul.h b/include/configs/pico-imx6ul.h index 1ea79b9c18..310fceb14b 100644 --- a/include/configs/pico-imx6ul.h +++ b/include/configs/pico-imx6ul.h @@ -71,6 +71,7 @@ "partitions=" \ "uuid_disk=${uuid_gpt_disk};" \ "name=boot,size=16MiB;name=rootfs,size=0,uuid=${uuid_gpt_rootfs}\0" \ + "setup_emmc=gpt write mmc 0 $partitions; reset;\0" \ "mmcargs=setenv bootargs console=${console},${baudrate} " \ "root=PARTUUID=${uuid} rootwait rw\0" \ "loadimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image}\0" \ |