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:
Tom Rini 2014-01-31 09:46:12 -05:00
parent 848e2404de
commit a9863aa25f
1 changed files with 1 additions and 1 deletions

View File

@ -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 ...; " \