scripts/om-fwupgradecfg-gen.sh: add support for the OM5P-AC
[openwrt/staging/yousong.git] / scripts / om-fwupgradecfg-gen.sh
index e208e6d36681d0edf3d5b9119197ccf70e867663..6c3b74cc1c7b4cb383b6fd92e4188d9fce55cab2 100644 (file)
@@ -7,7 +7,7 @@
 #
 
 usage() {
-       echo "Usage: $0 <OM2P|OM5P|MR600|MR900|MR1750> <out file path> <kernel path> <rootfs path>"
+       echo "Usage: $0 <OM2P|OM5P|OM5PAC|MR600|MR900|MR1750> <out file path> <kernel path> <rootfs path>"
        rm -f $CFG_OUT
        exit 1
 }
@@ -26,7 +26,7 @@ case $CE_TYPE in
                FLASH_BS=262144
                MD5_SKIP_BLOCKS=1
                ;;
-       OM5P|MR600|MR900|MR1750)
+       OM5P|OM5PAC|MR600|MR900|MR1750)
                MAX_PART_SIZE=7808
                KERNEL_FLASH_ADDR=0xb0000
                FLASH_BS=65536