Skip to content

Commit

Permalink
mvebu: switch to generic sdcard upgrade method
Browse files Browse the repository at this point in the history
Now that we have a generic sdcard upgrade method, which was copied from
the mvebu platform method, we can switch mvebu to the generic method.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
  • Loading branch information
stintel committed Aug 6, 2021
1 parent 8347d8b commit b1bff5c
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 101 deletions.
2 changes: 1 addition & 1 deletion target/linux/mvebu/Makefile
Expand Up @@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk

BOARD:=mvebu
BOARDNAME:=Marvell EBU Armada
FEATURES:=fpu usb pci pcie gpio nand squashfs ramdisk boot-part rootfs-part
FEATURES:=fpu usb pci pcie gpio nand squashfs ramdisk boot-part rootfs-part sdcard
SUBTARGETS:=cortexa9 cortexa53 cortexa72

KERNEL_PATCHVER:=5.4
Expand Down
91 changes: 0 additions & 91 deletions target/linux/mvebu/base-files/lib/upgrade/sdcard.sh

This file was deleted.

Expand Up @@ -15,7 +15,7 @@ platform_check_image() {
globalscale,espressobin-ultra|\
globalscale,espressobin-v7|\
globalscale,espressobin-v7-emmc)
platform_check_image_sdcard "$1"
sdcard_check_image "$1"
;;
*)
return 0
Expand All @@ -31,7 +31,7 @@ platform_do_upgrade() {
globalscale,espressobin-ultra|\
globalscale,espressobin-v7|\
globalscale,espressobin-v7-emmc)
platform_do_upgrade_sdcard "$1"
sdcard_do_upgrade "$1"
;;
methode,udpu)
platform_do_upgrade_uDPU "$1"
Expand All @@ -49,7 +49,7 @@ platform_copy_config() {
globalscale,espressobin-ultra|\
globalscale,espressobin-v7|\
globalscale,espressobin-v7-emmc)
platform_copy_config_sdcard
sdcard_copy_config
;;
methode,udpu)
platform_copy_config_uDPU
Expand Down
Expand Up @@ -11,7 +11,7 @@ platform_check_image() {
case "$(board_name)" in
marvell,armada8040-mcbin-doubleshot|\
marvell,armada8040-mcbin-singleshot)
platform_check_image_sdcard "$1"
sdcard_check_image "$1"
;;
*)
return 0
Expand All @@ -23,7 +23,7 @@ platform_do_upgrade() {
case "$(board_name)" in
marvell,armada8040-mcbin-doubleshot|\
marvell,armada8040-mcbin-singleshot)
platform_do_upgrade_sdcard "$1"
sdcard_do_upgrade "$1"
;;
*)
default_do_upgrade "$1"
Expand All @@ -34,7 +34,7 @@ platform_copy_config() {
case "$(board_name)" in
marvell,armada8040-mcbin-doubleshot|\
marvell,armada8040-mcbin-singleshot)
platform_copy_config_sdcard
sdcard_copy_config
;;
esac
}
Expand Up @@ -13,7 +13,7 @@ platform_check_image() {
kobol,helios4|\
solidrun,clearfog-base-a1|\
solidrun,clearfog-pro-a1)
platform_check_image_sdcard "$1"
sdcard_check_image "$1"
;;
*)
return 0
Expand All @@ -30,7 +30,7 @@ platform_do_upgrade() {
kobol,helios4|\
solidrun,clearfog-base-a1|\
solidrun,clearfog-pro-a1)
platform_do_upgrade_sdcard "$1"
sdcard_do_upgrade "$1"
;;
linksys,wrt1200ac|\
linksys,wrt1900ac-v1|\
Expand All @@ -51,7 +51,7 @@ platform_copy_config() {
kobol,helios4|\
solidrun,clearfog-base-a1|\
solidrun,clearfog-pro-a1)
platform_copy_config_sdcard
sdcard_copy_config
;;
linksys,wrt1200ac|\
linksys,wrt1900ac-v1|\
Expand Down

0 comments on commit b1bff5c

Please sign in to comment.