]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
explicitly set userfs size and move userfs before dtb
authorLothar Waßmann <LW@KARO-electronics.de>
Sun, 30 Jun 2013 11:52:41 +0000 (13:52 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Sun, 30 Jun 2013 11:52:41 +0000 (13:52 +0200)
include/configs/tx28.h

index 1f5f3824629fed0b8a6d76426bc42f125209e195..7fa19a7336928a2bffcf040be509e84ce1e0cf73 100644 (file)
  * Environments on MMC
  */
 #ifdef CONFIG_ENV_IS_IN_MMC
-#define CONFIG_SYS_MMC_ENV_DEV 0
+#define CONFIG_SYS_MMC_ENV_DEV         0
 #define CONFIG_ENV_OVERWRITE
 /* Associated with the MMC layout defined in mmcops.c */
 #define CONFIG_ENV_OFFSET              SZ_1K
        xstr(CONFIG_ENV_RANGE)                                          \
        "(env),"                                                        \
        xstr(CONFIG_ENV_RANGE)                                          \
-       "(env2),4m(linux),16m(rootfs),256k(dtb),-(userfs)"
+       "(env2),4m(linux),16m(rootfs),107904k(userfs),256k(dtb),512k@0x7f80000(bbt)ro,"
 #else
 #define MTDPARTS_DEFAULT               "mtdparts=" MTD_NAME ":"        \
        "1m@" xstr(CONFIG_SYS_NAND_U_BOOT_OFFS) "(u-boot),"                     \
        xstr(CONFIG_ENV_RANGE)                                          \
-       "(env),4m(linux),16m(rootfs),256k(dtb),-(userfs)"
+       "(env),4m(linux),16m(rootfs),108288k(userfs),256k(dtb),512k@0x7f80000(bbt)ro"
 #endif
 
 #define CONFIG_SYS_SDRAM_BASE          PHYS_SDRAM_1