arm: karo: tx6: reference mmc root device by UUID
authorLothar Waßmann <LW@KARO-electronics.de>
Tue, 13 May 2014 12:48:26 +0000 (14:48 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 13 May 2014 12:48:26 +0000 (14:48 +0200)
include/configs/tx6.h

index e65436b..4ca37e7 100644 (file)
        "bootargs_jffs2=run default_bootargs;set bootargs ${bootargs}"  \
        " root=/dev/mtdblock3 rootfstype=jffs2\0"                       \
        "bootargs_mmc=run default_bootargs;set bootargs ${bootargs}"    \
-       " root=/dev/mmcblk0p2 rootwait\0"                               \
+       " root=PARTUUID=${rootpart_uuid} rootwait\0"                    \
        "bootargs_nfs=run default_bootargs;set bootargs ${bootargs}"    \
        " root=/dev/nfs nfsroot=${nfs_server}:${nfsroot},nolock"        \
        " ip=dhcp\0"                                                    \
        "mtdparts=" MTDPARTS_DEFAULT "\0"                               \
        "nfsroot=/tftpboot/rootfs\0"                                    \
        "otg_mode=device\0"                                             \
+       "rootpart_uuid=0cc66cc0-02\0"                                   \
        "touchpanel=tsc2007\0"                                          \
        "video_mode=VGA\0"
 #endif /*  CONFIG_ENV_IS_NOWHERE */