[flashrom] [PATCH 3/5] ft2232_spi: allow CLOCK_X5 to be set at runtime

Joerg Mayer jmayer at loplof.de
Fri Nov 12 13:44:48 CET 2010


On Fri, Nov 12, 2010 at 12:52:14PM +0100, Carl-Daniel Hailfinger wrote:

#if (defined TYPE_2232H and defined TYPE_4232H)
> > +	if (ftdic->type != TYPE_2232H && ftdic->type != TYPE_4232H) {
> > +		msg_pdbg("FTDI chip type %d is not high-speed\n",
> > +			ftdic->type);
> > +		clock_5x = 0;
> > +	}
#endif

> TYPE_2232H and TYPE_4232H are not defined before libftdi 0.16.
> 
> Do you have any idea how to work around this except requiring a newer
> libftdi?

You'll just need to figure out the correct syntax :-)

Ciao
 Joerg

-- 
Joerg Mayer                                           <jmayer at loplof.de>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.




More information about the flashrom mailing list