scripts/om-fwupgradecfg-gen.sh: add support for the OM5P
[openwrt/openwrt.git] / scripts / om-fwupgradecfg-gen.sh
index 779598a2f8f76daffed2ef9774eabf4a6663ffab..8869059602663b8343a50bd9d54c4d84422e0771 100644 (file)
@@ -7,7 +7,7 @@
 #
 
 usage() {
-       echo "Usage: $0 <OM2P|MR600> <out file path> <kernel path> <rootfs path>"
+       echo "Usage: $0 <OM2P|OM5P|MR600> <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
                ;;
-       MR600)
+       OM5P|MR600)
                MAX_PART_SIZE=7808
                KERNEL_FLASH_ADDR=0xb0000
                FLASH_BS=65536