de-duplicate EEPROM checksum calculation routines to reduce code size
and improve code maintainability.