Hello,
I improved and extended libflashrom patch, so I am posting it for a second review. I based on work of Nico Huber and Anton Kochkov. As Nico Huber's patch has been already sent some time ago I will send only Anton Kochkov's building and compilation fixes (thanks for sharing it with me) and my changes.
Content: 1 / 4 - Fix libflashrom compilation (by Anton Kochkov) 2 / 4 - Fix libflashrom building (by Anton Kochkov) 3 / 4 - Added querying functions to libflashrom 4 / 4 - Added function which returns string list of multiple chips found
I will be grateful for your opinions - it helps me to improve the patch.
All this code you can also find here: https://github.com/lukaszdmitrowski/flashrom/tree/libflashrom
Regards, Lukasz Dmitrowski