From 99cf825b06d08912a14b4ba213700c2a558bf888 Mon Sep 17 00:00:00 2001 From: Ryan Mounce Date: Thu, 13 Jul 2017 18:41:59 +0930 Subject: [PATCH] mvebu: Fix ClearFog sysupgrade board definitions Remove redundancy for platform_do_upgrade_clearfog Fix platform_copy_config_clearfog to reflect -base/-pro split Signed-off-by: Ryan Mounce --- target/linux/mvebu/base-files/lib/upgrade/platform.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/target/linux/mvebu/base-files/lib/upgrade/platform.sh b/target/linux/mvebu/base-files/lib/upgrade/platform.sh index 89d884f1bfd..8241d1edcf9 100755 --- a/target/linux/mvebu/base-files/lib/upgrade/platform.sh +++ b/target/linux/mvebu/base-files/lib/upgrade/platform.sh @@ -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