mvebu: switch to generic sdcard upgrade method
[openwrt/openwrt.git] / target / linux / mvebu / cortexa72 / base-files / lib / upgrade / platform.sh
index 04ea634097a12cf8606d19b6d7efeefd10a873fe..1713f55b72a3e2a20621c477ba4b825716b9ce95 100755 (executable)
@@ -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
@@ -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"
@@ -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
 }