mvebu: Fix ClearFog sysupgrade board definitions
authorRyan Mounce <ryan@mounce.com.au>
Thu, 13 Jul 2017 09:11:59 +0000 (18:41 +0930)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 14 Oct 2017 22:24:22 +0000 (00:24 +0200)
Remove redundancy for platform_do_upgrade_clearfog
Fix platform_copy_config_clearfog to reflect -base/-pro split

Signed-off-by: Ryan Mounce <ryan@mounce.com.au>
target/linux/mvebu/base-files/lib/upgrade/platform.sh

index 89d884f1bfd0c4d4aaf78f4413519cb36e5cfb62..8241d1edcf913f3997bae63cefac6c03d18a44c1 100755 (executable)
@@ -16,10 +16,7 @@ platform_do_upgrade() {
        armada-385-linksys-caiman|armada-385-linksys-cobra|armada-385-linksys-rango|armada-385-linksys-shelby|armada-xp-linksys-mamba)
                platform_do_upgrade_linksys "$ARGV"
                ;;
-       armada-388-clearfog-pro)
-               platform_do_upgrade_clearfog "$ARGV"
-               ;;
-       armada-388-clearfog-base)
+       armada-388-clearfog-base|armada-388-clearfog-pro)
                platform_do_upgrade_clearfog "$ARGV"
                ;;
        *)
@@ -32,7 +29,7 @@ platform_copy_config() {
        armada-385-linksys-caiman|armada-385-linksys-cobra|armada-385-linksys-rango|armada-385-linksys-shelby|armada-xp-linksys-mamba)
                platform_copy_config_linksys
                ;;
-       armada-388-clearfog)
+       armada-388-clearfog-base|armada-388-clearfog-pro)
                platform_copy_config_clearfog "$ARGV"
                ;;
        esac