Add a "skip" layout in dfu_boot_info.
- kvim3 target: u-boot-n2.bin will be skipped.
- odroid-n2 target: u-boot-kvim3.bin will be skipped.
Change-Id: I2a81f88c1610d3e5a13e560a4d5cc6c2322df538
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
if (!strncmp(devstr, "0", 1))
alt_boot = DFU_ALT_BOOT_SD;
else
- alt_boot = DFU_ALT_BOOT_EMMC;
+ alt_boot = DFU_ALT_BOOT_EMMC_ODROID_N2;
return alt_boot;
}
if (!strncmp(devstr, "0", 1))
alt_boot = DFU_ALT_BOOT_SD;
else
- alt_boot = DFU_ALT_BOOT_EMMC;
+ alt_boot = DFU_ALT_BOOT_EMMC_KVIM3;
return alt_boot;
}
"ramdisk.img part 1 7\0"
-#define DFU_ALT_BOOT_EMMC "u-boot.bin raw 0x1 0x850"
+#define DFU_ALT_BOOT_EMMC_ODROID_N2 "u-boot.bin raw 0x1 0x850;" \
+ "u-boot-n2.bin raw 0x1 0x850;" \
+ "u-boot-kvim3.bin skip 0 0"
+#define DFU_ALT_BOOT_EMMC_KVIM3 "u-boot.bin raw 0x1 0x850;" \
+ "u-boot-kvim3.bin raw 0x1 0x850;" \
+ "u-boot-n2.bin skip 0 0"
#define DFU_ALT_BOOT_SD ""
#define CONFIG_SET_DFU_ALT_INFO
#define CONFIG_SET_DFU_ALT_BUF_LEN (SZ_1K)