realtek: update the tree to the latest refactored version
[openwrt/staging/jow.git] / target / linux / realtek / base-files / lib / upgrade / platform.sh
1 PART_NAME=firmware
2 REQUIRE_IMAGE_METADATA=1
3
4 RAMFS_COPY_BIN='fw_printenv fw_setenv'
5 RAMFS_COPY_DATA='/etc/fw_env.config /var/lock/fw_printenv.lock'
6
7 platform_check_image() {
8 return 0
9 }
10
11 platform_do_upgrade() {
12 local board=$(board_name)
13
14 case "$board" in
15 *)
16 default_do_upgrade "$1"
17 ;;
18 esac
19 }