mediatek: generate UBI images for the rev board

Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
John Crispin
2020-07-16 09:16:34 +02:00
parent ea2884e018
commit 5a5031e70b
3 changed files with 48 additions and 2 deletions

View File

@@ -7,6 +7,9 @@ platform_do_upgrade() {
#of eMMC and to the location of the kernel
get_image "$1" | dd of=/dev/mmcblk0 bs=2097152 seek=1 conv=fsync
;;
mediatek,mt7622,ubi)
nand_do_upgrade "$1"
;;
*)
default_do_upgrade "$1"
;;