UPGT_H2_TYPE_EEPROM
eeprom->header2.type = htole16(UPGT_H2_TYPE_EEPROM);
h2_type == UPGT_H2_TYPE_EEPROM) {