From ae92bf32bcd5ef34d12e81f728bd0321aaec71e7 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Fri, 17 Jan 2014 09:34:39 -0500 Subject: [PATCH] ti_armv7_common.h: Correct ubi parameters We do not support sub-page on NAND on any of these parts so we must always provide the location of the VID header offset and this is always our page size. Signed-off-by: Tom Rini --- include/configs/ti_armv7_common.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/configs/ti_armv7_common.h b/include/configs/ti_armv7_common.h index 5e1c6199b2..4f3004eb2d 100644 --- a/include/configs/ti_armv7_common.h +++ b/include/configs/ti_armv7_common.h @@ -287,7 +287,8 @@ "root=${nandroot} " \ "rootfstype=${nandrootfstype}\0" \ "dfu_alt_info_nand=" DFU_ALT_INFO_NAND "\0" \ - "nandroot=ubi0:rootfs rw ubi.mtd=9,2048\0" \ + "nandroot=ubi0:rootfs rw ubi.mtd=9," \ + __stringify(CONFIG_SYS_NAND_PAGE_SIZE) "\0" \ "nandrootfstype=ubifs rootwait=1\0" \ "nandboot=echo Booting from nand ...; " \ "run nandargs; " \