#define DEFAULT_MMC_TI_ARGS \
"mmcdev=0\0" \
"mmcrootfstype=ext4 rootwait\0" \
- "finduuid=part uuid mmc ${bootpart} uuid\0" \
+ "finduuid=part uuid mmc ${rootpart} uuid\0" \
"args_mmc=run finduuid;setenv bootargs console=${console} " \
"${optargs} " \
"root=PARTUUID=${uuid} rw " \
"console=" CONSOLEDEV ",115200n8\0" \
"fdtfile=undefined\0" \
"bootpart=0:2\0" \
+ "rootpart=0:2\0" \
"bootdir=/boot\0" \
"bootfile=zImage\0" \
"bootfilecmd=bootz\0" \
"fi;" \
"run findfdt; " \
"setenv mmcdev 0; " \
- "setenv bootpart 0:2; " \
+ "setenv bootpart 0:1; " \
+ "setenv rootpart 0:2; " \
"run envboot; " \
"run mmcboot;" \
"setenv mmcdev 1; " \
- "setenv bootpart 1:2; " \
+ "setenv bootpart 1:1; " \
+ "setenv rootpart 1:2; " \
"run mmcboot;" \
""
#endif