diff options
Diffstat (limited to 'target/linux/bmips/bcm6358/base-files/lib')
-rw-r--r-- | target/linux/bmips/bcm6358/base-files/lib/upgrade/platform.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/target/linux/bmips/bcm6358/base-files/lib/upgrade/platform.sh b/target/linux/bmips/bcm6358/base-files/lib/upgrade/platform.sh new file mode 100644 index 0000000000..1cf95be26a --- /dev/null +++ b/target/linux/bmips/bcm6358/base-files/lib/upgrade/platform.sh @@ -0,0 +1,16 @@ +# SPDX-License-Identifier: GPL-2.0-or-later + +PART_NAME=firmware +REQUIRE_IMAGE_METADATA=1 + +platform_check_image() { + return 0 +} + +platform_do_upgrade() { + case "$(board_name)" in + *) + default_do_upgrade "$1" + ;; + esac +} |