]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
keystone2: config: update default mtd
authorMichael Scherban <m-scherban@ti.com>
Fri, 26 Jun 2015 14:17:31 +0000 (09:17 -0500)
committerTom Rini <trini@konsulko.com>
Thu, 9 Jul 2015 01:51:41 +0000 (21:51 -0400)
Because it is possible for the MTD number to change, causing a
filesystem mount failure, we should use the volume name instead
of the MTD number and let Linux resolve the correct one.

Signed-off-by: Mike Scherban <m-scherban@ti.com>
include/configs/k2e_evm.h
include/configs/k2hk_evm.h
include/configs/k2l_evm.h

index d83e07e24238bcd1d124c9ddf07371bef6d38171..a28ceb7064a71c3789e97d61253bb9e7432a6031 100644 (file)
@@ -20,7 +20,7 @@
 #define CONFIG_EXTRA_ENV_KS2_BOARD_SETTINGS                            \
        "addr_mon=0x0c140000\0"                                         \
        "args_ubi=setenv bootargs ${bootargs} rootfstype=ubifs "        \
-       "root=ubi0:rootfs rootflags=sync rw ubi.mtd=2,2048\0"           \
+       "root=ubi0:rootfs rootflags=sync rw ubi.mtd=ubifs,2048\0"       \
        "name_fdt=uImage-k2e-evm.dtb\0"                                 \
        "name_mon=skern-k2e-evm.bin\0"                                  \
        "name_ubi=k2e-evm-ubifs.ubi\0"                                  \
index ffddf1391c435e9fbd5b43e1c6b1d93f2afbf34f..eae77217833873c4fe6a4ef3ab07684d804f84ef 100644 (file)
@@ -20,7 +20,7 @@
 #define CONFIG_EXTRA_ENV_KS2_BOARD_SETTINGS                            \
        "addr_mon=0x0c5f0000\0"                                         \
        "args_ubi=setenv bootargs ${bootargs} rootfstype=ubifs "        \
-       "root=ubi0:rootfs rootflags=sync rw ubi.mtd=2,2048\0"           \
+       "root=ubi0:rootfs rootflags=sync rw ubi.mtd=ubifs,2048\0"       \
        "name_fdt=uImage-k2hk-evm.dtb\0"                                \
        "name_mon=skern-k2hk-evm.bin\0"                                 \
        "name_ubi=k2hk-evm-ubifs.ubi\0"                                 \
index 805164a679defaa67f2f03e19df9b62ca228b2e3..57da0579255a17adcf2294f59a86a92729876c00 100644 (file)
@@ -20,7 +20,7 @@
 #define CONFIG_EXTRA_ENV_KS2_BOARD_SETTINGS                            \
        "addr_mon=0x0c140000\0"                                         \
        "args_ubi=setenv bootargs ${bootargs} rootfstype=ubifs "        \
-       "root=ubi0:rootfs rootflags=sync rw ubi.mtd=2,4096\0"           \
+       "root=ubi0:rootfs rootflags=sync rw ubi.mtd=ubifs,4096\0"       \
        "name_fdt=uImage-k2l-evm.dtb\0"                                 \
        "name_mon=skern-k2l-evm.bin\0"                                  \
        "name_ubi=k2l-evm-ubifs.ubi\0"                                  \