ftdi_eeprom: Add device release number support
authorRoman Lapin <lampus.lapin@gmail.com>
Sat, 9 May 2020 20:13:58 +0000 (23:13 +0300)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Thu, 14 May 2020 19:17:14 +0000 (21:17 +0200)
commit0f683bb574ff665aeabd1db8f1c0cc1cc8dc87b8
treea132a296849e5838962dc1d006f39fb519b7b3ac
parentafd738fc27844d48d3dbe3677c224dd9ab3a1539
ftdi_eeprom: Add device release number support

In process of firmware repairing of some FTDI-chip based device I have
found that I can't get binary identical EEPROM dumps from properly
working device and ftdi_eeprom --build_eeprom command because of
ftdi_eeprom does not support changing of device release number (byte
with addr 0x06).

[TJ: Keep old behavior if release_number is not set in the config file]
ftdi_eeprom/main.c