Commit 40d79e483c359b8af4a379317a579c9b353dc821
Committed by
Tom Rini
1 parent
03514739dc
Exists in
v2017.01-smarct4x
and in
35 other branches
keystone2: config: update default mtd
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>
Showing 3 changed files with 3 additions and 3 deletions Side-by-side Diff
include/configs/k2e_evm.h
... | ... | @@ -20,7 +20,7 @@ |
20 | 20 | #define CONFIG_EXTRA_ENV_KS2_BOARD_SETTINGS \ |
21 | 21 | "addr_mon=0x0c140000\0" \ |
22 | 22 | "args_ubi=setenv bootargs ${bootargs} rootfstype=ubifs " \ |
23 | - "root=ubi0:rootfs rootflags=sync rw ubi.mtd=2,2048\0" \ | |
23 | + "root=ubi0:rootfs rootflags=sync rw ubi.mtd=ubifs,2048\0" \ | |
24 | 24 | "name_fdt=uImage-k2e-evm.dtb\0" \ |
25 | 25 | "name_mon=skern-k2e-evm.bin\0" \ |
26 | 26 | "name_ubi=k2e-evm-ubifs.ubi\0" \ |
include/configs/k2hk_evm.h
... | ... | @@ -20,7 +20,7 @@ |
20 | 20 | #define CONFIG_EXTRA_ENV_KS2_BOARD_SETTINGS \ |
21 | 21 | "addr_mon=0x0c5f0000\0" \ |
22 | 22 | "args_ubi=setenv bootargs ${bootargs} rootfstype=ubifs " \ |
23 | - "root=ubi0:rootfs rootflags=sync rw ubi.mtd=2,2048\0" \ | |
23 | + "root=ubi0:rootfs rootflags=sync rw ubi.mtd=ubifs,2048\0" \ | |
24 | 24 | "name_fdt=uImage-k2hk-evm.dtb\0" \ |
25 | 25 | "name_mon=skern-k2hk-evm.bin\0" \ |
26 | 26 | "name_ubi=k2hk-evm-ubifs.ubi\0" \ |
include/configs/k2l_evm.h
... | ... | @@ -20,7 +20,7 @@ |
20 | 20 | #define CONFIG_EXTRA_ENV_KS2_BOARD_SETTINGS \ |
21 | 21 | "addr_mon=0x0c140000\0" \ |
22 | 22 | "args_ubi=setenv bootargs ${bootargs} rootfstype=ubifs " \ |
23 | - "root=ubi0:rootfs rootflags=sync rw ubi.mtd=2,4096\0" \ | |
23 | + "root=ubi0:rootfs rootflags=sync rw ubi.mtd=ubifs,4096\0" \ | |
24 | 24 | "name_fdt=uImage-k2l-evm.dtb\0" \ |
25 | 25 | "name_mon=skern-k2l-evm.bin\0" \ |
26 | 26 | "name_ubi=k2l-evm-ubifs.ubi\0" \ |