EEPROM: fix checksum for FT230X series
authorYegor Yefremov <yegorslists@googlemail.com>
Wed, 9 Aug 2023 12:28:15 +0000 (14:28 +0200)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Tue, 29 Aug 2023 13:11:08 +0000 (15:11 +0200)
commit0fad6f389a7cad0513b23f73b2439700e53d47b3
treea523fb8ed3e8fd5ade771e30f68f4797b3aaa5b3
parentb006371dbde50c000cd822143310d9b605b6dfe1
EEPROM: fix checksum for FT230X series

ftdi_eeprom_build() computes the checksum via reading the "Factory
Configuration Data" region. ftdi_eeprom_decode() computes the checksum
only on the EEPROM buffer. Hence, both checksums differ.

Add the info from "Factory Configuration Data" to the EEPROM buffer.
src/ftdi.c