[flashrom] Support for sub-1KByte EEPROM-s

2024-08-14 Thread Miklós Márton
Hello all, I tried to add support for some Microchip serial EEPROMs to being able to program them with an STLinkV3. I ran into problems with the smaller EEPROMs for e.g. 25LC040 which is only a 4Kbit device. The total_size in the flashchip structure is an unsigned int so I could only enter 0 as t

[flashrom] Re: Support for sub-1KByte EEPROM-s

2024-08-15 Thread Miklós Márton
tions (like 256 and 512 bytes)? > > Maybe it can be a feature flag (FEATURE_MICRO256B or something like > that), and then with this feature flag layout with 256 bytes region > can be silently created. > > On Thu, Aug 15, 2024 at 12:10 AM Miklós Márton > wrote: > > > >