karo: tx6: write FDT to same eMMC partition that is selected for boot
authorLothar Waßmann <LW@KARO-electronics.de>
Mon, 24 Aug 2015 14:57:39 +0000 (16:57 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Mon, 24 Aug 2015 14:57:39 +0000 (16:57 +0200)
include/configs/tx6.h

index f383862..36ff58d 100644 (file)
 #define CONFIG_SYS_MMCSD_FS_BOOT_PARTITION 1
 #define CONFIG_SYS_BOOT_CMD_NAND       ""
 #define CONFIG_SYS_FDTSAVE_CMD                                         \
-       "fdtsave=mmc partconf 0 ${emmc_boot_ack} ${emmc_boot_part} 1"   \
+       "fdtsave=mmc partconf 0 ${emmc_boot_ack} ${emmc_boot_part} ${emmc_boot_part}" \
        ";mmc write ${fdtaddr} " xstr(CONFIG_SYS_DTB_BLKNO) " 80"       \
        ";mmc partconf 0 ${emmc_boot_ack} ${emmc_boot_part} 0\0"
 #define MTD_NAME                       ""