"askenv tmp \"Press ENTER to continue\"; " \
"fi"
+#define SET_TO_PARTITION_A \
+ "if test -e mmc ${mmcbootdev}:${mmcinformpart} ${slotfile}; " \
+ "then ;" \
+ "load mmc ${mmcbootdev}:${mmcinformpart} ${slot_addr} /${slotfile} 2; " \
+ "fi; " \
+ "mw.b ${slot_addr} 61; " \
+ "ext4write mmc ${mmcbootdev}:${mmcinformpart} ${slot_addr} /${slotfile} 2; " \
+
+#define SET_TO_PARTITION_B \
+ "if test -e mmc ${mmcbootdev}:${mmcinformpart} ${slotfile}; " \
+ "then ;" \
+ "load mmc ${mmcbootdev}:${mmcinformpart} ${slot_addr} /${slotfile} 2; " \
+ "fi; " \
+ "mw.b ${slot_addr} 62; " \
+ "ext4write mmc ${mmcbootdev}:${mmcinformpart} ${slot_addr} /${slotfile} 2; " \
+
#ifdef CONFIG_TARGET_RPI_4_32B
#define TIZEN_VC_MEM "vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 swiotlb=8192 "
#else
"dfu_device=" __stringify(CONFIG_MMC_DEFAULT_DEV) "\0" \
"mbr_parts=" PARTS_DEFAULT "\0" \
"mbr_check=" MBR_CHECK "\0" \
+ "set_to_part_a=" SET_TO_PARTITION_A "\0" \
+ "set_to_part_b=" SET_TO_PARTITION_B "\0" \
""
#endif /* __CONFIG_TIZEN_RPI_H */