* Carl-Daniel Hailfinger email@example.com [070801 16:17]:
- Nvidia CK804
- AMD 76X
- Intel ICHx
The code in mtd is completely useless. It just enables mapping the flash to memory.
Not really. At least for ck804, it also enables flashing. Just look for pci_read_config_byte in ck804xrom.c and notice the similarities with chipset_enable.c from flashrom.
Correct. Unfortunately SPI is a completely different kettle of fish.
have pretty bad side effects.
probe_jedec is called for every supported chip in the list with probe_jedec as probe function. Calling probe_jedec only once for every possible/reasonable chip size would be a lot more efficient.
Ok. But how do you go for the other probing functions then?
We could build an array of probe addresses/probe functions and do a "sort unique" ;-)