* Carl-Daniel Hailfinger <[EMAIL PROTECTED]> [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" ;-) 

Stefan

-- 
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
      Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: [EMAIL PROTECTED]  • http://www.coresystems.de/

-- 
linuxbios mailing list
linuxbios@linuxbios.org
http://www.linuxbios.org/mailman/listinfo/linuxbios

Reply via email to