Hello Rao,
On 23.11.21 18:15, Rao G wrote:
I think the issue is with table *chipset_enables *defined inside -> flashrom-master\flashrom-master\Chipset_enable.c is not matching Elkhart Lake PCH ID which is causing
WARNING: No chipset found. Flash detection will most likely fail
that's correct. Elkhart Lake is not supported yet. If Intel didn't change their course, the flash chip's DID won't matter, as Intel wants their hardware to handle that. Flashrom would then treat it as an "opaque flash chip".
For the moment, you could just try if it works if you add the EHL PCH ID. However, I wouldn't know which chipset generation (enum ich_chipset) to choose.
For a permanent solution, somebody should review all the code around `enum ich_chipset` against the EHL datasheet, to figure which paths would suit it best, if any. If none, we should extend the enum.
Beside the actual SPI-controller support, flashrom also maintains support for Intel's flash descriptor (IFD). This is also strongly tied to `enum ich_chipset`. To review the related code, one needs the "SPI Guide" for EHL. Alas, this is usually only available under NDA. If you can get it, it's usually part of the firmware package for the management engine ((TX|CS(M)|M)E, or whatever it's called this time ^^).
Hope that helps, Nico