ti_armv7_common: For UBI, pass in name not number
Depending on the number of partitions available (say if QSPI also has a table, or not) '9' is not the correct spot for the UBI image. It is however put on the "file-system" partition, so use that. Signed-off-by: Tom Rini <trini@ti.com>
This commit is contained in:
parent
848e2404de
commit
a9863aa25f
|
@ -287,7 +287,7 @@
|
|||
"root=${nandroot} " \
|
||||
"rootfstype=${nandrootfstype}\0" \
|
||||
"dfu_alt_info_nand=" DFU_ALT_INFO_NAND "\0" \
|
||||
"nandroot=ubi0:rootfs rw ubi.mtd=9," \
|
||||
"nandroot=ubi0:rootfs rw ubi.mtd=rootfs," \
|
||||
__stringify(CONFIG_SYS_NAND_PAGE_SIZE) "\0" \
|
||||
"nandrootfstype=ubifs rootwait=1\0" \
|
||||
"nandboot=echo Booting from nand ...; " \
|
||||
|
|
Loading…
Reference in New Issue