UPGT_H2_TYPE_EEPROM
eeprom->header2.type = htole16(UPGT_H2_TYPE_EEPROM);
if (h1_type == UPGT_H1_TYPE_CTRL && h2_type == UPGT_H2_TYPE_EEPROM) {