diff options
author | Adam Ford <aford173@gmail.com> | 2016-02-10 01:41:10 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-02-15 12:04:47 -0500 |
commit | a094c9211e98f51668d84430b5fe081faa9d4a32 (patch) | |
tree | fff6d9cafa686addcacf5f7b8e99fa4ce36224fa | |
parent | 46f7bb0062281e6387b0c7edb91fff7de03ac4e5 (diff) | |
download | u-boot-a094c9211e98f51668d84430b5fe081faa9d4a32.zip u-boot-a094c9211e98f51668d84430b5fe081faa9d4a32.tar.gz u-boot-a094c9211e98f51668d84430b5fe081faa9d4a32.tar.bz2 |
OMAP3_logic: Add NAND args to boot UBIFS
With the recent addition of UBI support, this patch will add the preset
parameters to allow for mouting an UBIFS from the 'fs' partition in NAND.
-V2: ubi.mtd=fs instead of ubi.mtd=4
Signed-off-by: Adam Ford <aford173@gmail.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
-rw-r--r-- | include/configs/omap3_logic.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/configs/omap3_logic.h b/include/configs/omap3_logic.h index 9ea6ef3..fba2a12 100644 --- a/include/configs/omap3_logic.h +++ b/include/configs/omap3_logic.h @@ -180,6 +180,8 @@ "mmcdev=0\0" \ "mmcroot=/dev/mmcblk0p2 rw\0" \ "mmcrootfstype=ext4 rootwait\0" \ + "nandroot=ubi0:rootfs rw ubi.mtd=fs noinitrd\0" \ + "nandrootfstype=ubifs rootwait\0" \ "autoboot=mmc dev ${mmcdev}; if mmc rescan; then " \ "if run loadbootscript; then " \ "run bootscript; " \ @@ -221,6 +223,10 @@ "${optargs} " \ "root=${mmcroot} " \ "rootfstype=${mmcrootfstype}\0" \ + "nandargs=run setconsole; setenv bootargs console=${console} " \ + "${optargs} " \ + "root=${nandroot} " \ + "rootfstype=${nandrootfstype}\0" \ "fdtaddr=0x86000000\0" \ "loadfdtimage=mmc rescan; " \ "fatload mmc ${mmcdev} ${fdtaddr} ${fdtimage}\0" \ |