[LinuxBIOS] [PATCH] flashrom patch for iwill dk8_htx

Uwe Hermann uwe at hermann-uwe.de
Sat Apr 28 02:00:42 CEST 2007


On Fri, Apr 27, 2007 at 10:33:53PM +0200, Luc Verhaegen wrote:
> On Fri, Apr 27, 2007 at 04:44:10PM +0200, Mondrian Nuessle wrote:
> > Actually you do not need to set the index reg twice. I just used the
> > code pattern from the Agami Aruma board, which does the same thing...
> 
> In that case, we should introduce functions like:
> 
> void w83xxx_ext_enter(void);
> void w83xxx_ext_leave(void);
> 
> /* Enter extended functions before using these! */
> unsigned char w83xxx_ext_read(unsigned char index);
> void w83xxx_ext_write(unsigned char index, unsigned char data);
> void w83xxx_ext_mask(unsigned char index, unsigned char data,
> 		     unsigned char mask);

Hm, not sure. Looks a bit like overkill in this case.


Uwe.
-- 
http://www.hermann-uwe.de  | http://www.holsham-traders.de
http://www.crazy-hacks.org | http://www.unmaintained-free-software.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20070428/1d7298d0/attachment.sig>


More information about the coreboot mailing list