]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
colibri-imx6ull/imx7: define bootubipart for distro boot
authorStefan Agner <stefan.agner@toradex.com>
Tue, 16 Jun 2020 19:20:03 +0000 (22:20 +0300)
committerStefano Babic <sbabic@denx.de>
Mon, 22 Jun 2020 15:42:04 +0000 (17:42 +0200)
When using distro boot to boot from UBI volumes the boot partition
has been hardcoded to "UBI" (capital letters). However, our default
MTD layout uses "ubi" (lower case letter). Define "ubi" as the
default UBI partition for distro boot for Toradex. This allows to
use distro boot without having to redefine the MTD partition layout
which is useful for TorizonCore.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
include/configs/colibri-imx6ull.h
include/configs/colibri_imx7.h

index 2d3b4c18177b070583c0048c14ef89e3ad836b0c..c80fb96fe2c7f71d17be0b9173f9be214d05633d 100644 (file)
@@ -88,6 +88,7 @@
        NFS_BOOTCMD \
        UBI_BOOTCMD \
        UBOOT_UPDATE \
+       "bootubipart=ubi\0" \
        "console=ttymxc0\0" \
        "defargs=user_debug=30\0" \
        "dfu_alt_info=" DFU_ALT_NAND_INFO "\0" \
index b550bc6156671c1ea9b8f8bcadad735a836a5355..b3f660b6fa2be87a7938772b31f5366993966ee1 100644 (file)
        MODULE_EXTRA_ENV_SETTINGS \
        UBOOT_UPDATE \
        "boot_file=zImage\0" \
+       "bootubipart=ubi\0" \
        "console=ttymxc0\0" \
        "defargs=\0" \
        "fdt_board=eval-v3\0" \