]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - include/configs/omap3_logic.h
OMAP3_logic: Add NAND args to boot UBIFS
[people/ms/u-boot.git] / include / configs / omap3_logic.h
index 9ea6ef35111af1cfe06a4c61d6f30a911a00cb61..fba2a1256b84baaf3def372e22f305191e5d6263 100644 (file)
        "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; " \
                "${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" \