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 <ryan@mounce.com.au>
owl
Ryan Mounce 2017-07-13 18:41:59 +09:30 committed by Hauke Mehrtens
parent 233633873b
commit 99cf825b06
1 changed files with 2 additions and 5 deletions

View File

@ -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) 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" platform_do_upgrade_linksys "$ARGV"
;; ;;
armada-388-clearfog-pro) armada-388-clearfog-base|armada-388-clearfog-pro)
platform_do_upgrade_clearfog "$ARGV"
;;
armada-388-clearfog-base)
platform_do_upgrade_clearfog "$ARGV" 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) armada-385-linksys-caiman|armada-385-linksys-cobra|armada-385-linksys-rango|armada-385-linksys-shelby|armada-xp-linksys-mamba)
platform_copy_config_linksys platform_copy_config_linksys
;; ;;
armada-388-clearfog) armada-388-clearfog-base|armada-388-clearfog-pro)
platform_copy_config_clearfog "$ARGV" platform_copy_config_clearfog "$ARGV"
;; ;;
esac esac