2 REQUIRE_IMAGE_METADATA
=1
4 RAMFS_COPY_BIN
='fw_printenv fw_setenv'
5 RAMFS_COPY_DATA
='/etc/fw_env.config /var/lock/fw_printenv.lock'
7 platform_check_image
() {
11 platform_do_upgrade
() {
12 case "$(board_name)" in
20 nand_do_upgrade
"$ARGV"
23 platform_do_upgrade_linksys
"$ARGV"
26 PART_NAME
="os-image:rootfs"
27 MTD_CONFIG_ARGS
="-s 0x200000"
28 default_do_upgrade
"$ARGV"
31 PART_NAME
="kernel:rootfs"
32 MTD_CONFIG_ARGS
="-s 0x200000"
33 default_do_upgrade
"$ARGV"
37 default_do_upgrade
"$ARGV"
42 platform_nand_pre_upgrade
() {
43 case "$(board_name)" in