p54: fix eeprom parser length sanity checks