]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
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 f383862131ecee22ec22e1d80012c185182b19a9..36ff58d6c80b4a3d9237d4e6c815b67b8bab33c4 100644 (file)
 #define CONFIG_SYS_MMCSD_FS_BOOT_PARTITION 1
 #define CONFIG_SYS_BOOT_CMD_NAND       ""
 #define CONFIG_SYS_FDTSAVE_CMD                                         \
 #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                       ""
        ";mmc write ${fdtaddr} " xstr(CONFIG_SYS_DTB_BLKNO) " 80"       \
        ";mmc partconf 0 ${emmc_boot_ack} ${emmc_boot_part} 0\0"
 #define MTD_NAME                       ""