mvebu: switch to generic sdcard upgrade method
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>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user