aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukasz Majewski2018-05-11 16:51:10 +0200
committerStefano Babic2018-06-18 15:44:21 +0200
commitdd4ed88bf13d5357038446a6839ff9808d4981b4 (patch)
tree9948d670f7e02a667c185fbf8c6acb8ddd403a57
parent76d1d169f302b533249aa1fb84b765af0722a629 (diff)
display5: config: Provide 'tftp_mmc_rootfs_bkp' command to write BACKUP rootfs
Signed-off-by: Lukasz Majewski <lukma@denx.de>
-rw-r--r--include/configs/display5.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/configs/display5.h b/include/configs/display5.h
index 929741dedd7..fed88801ea4 100644
--- a/include/configs/display5.h
+++ b/include/configs/display5.h
@@ -348,7 +348,12 @@
"rootfs_part_active=2\0" \
"rootfs_part_backup=4\0" \
"rootfs_file=core-image-lwn-display5.ext4\0" \
+ "rootfs_file_backup=core-image-lwn-backup-display5.ext4\0" \
__TFTP_UPDATE_ROOTFS \
+ "tftp_mmc_rootfs_bkp=" \
+ "setenv rootfs_part ${rootfs_part_backup};" \
+ "setenv rootfs_file ${rootfs_file_backup};" \
+ "run tftp_mmc_rootfs\0" \
TFTP_UPDATE_RECOVERY_SWU_KERNEL \
TFTP_UPDATE_RECOVERY_SWU_INITRAMFS \
"\0" \