- hdr->flags |= SUPPORT_4712_CHIP;
- hdr->flags |= SUPPORT_INTEL_FLASH;
- hdr->flags |= SUPPORT_5325E_SWITCH;
+ hdr->flags[0] |= SUPPORT_4712_CHIP;
+ hdr->flags[0] |= SUPPORT_INTEL_FLASH;
+ hdr->flags[0] |= SUPPORT_5325E_SWITCH;
+ break;
+ case '4':
+ /* V4 firmware sets the flags to 0x1f */
+ hdr->hw_ver = 0;
+ hdr->flags[0] = 0x1f;