[coreboot] [patch] SST25VF016B (2MB) flash on m57sli (IT8716F).

Ronald Hoogenboom ronald at zonnet.nl
Thu Feb 28 00:05:26 CET 2008

On Mon, 2008-02-25 at 22:42 +0100, Carl-Daniel Hailfinger wrote:
> On 25.02.2008 22:36, Ronald Hoogenboom wrote:
> > On Mon, 2008-02-25 at 15:10 -0500, Ward Vandewege wrote:
> >>>       
> >> OK; do you want to prepare a new patch?
> >>
> >>     
> >
> > I would like to find a (semi-)nice way to get the SPI IO port number
> > (now hardcoded 0x820) from the device tree settings. Do you have a
> > suggestion?
> >  Otherwise I'll add yet another Config variable (not so nice).
> >   
> Read it from the Super I/O?
I've found a nicer way: make an init_gpio in the superio.c that puts the
port value in a global var if the PIOROM_STREAM is enabled.

This patch allows direct out-of-SPI-flash boot of a Linux kernel. It
circumvents the 512KB limitation in the IT8716f superio of memory
mapping an SPI flash device by using a PIO method for reading the data.
Limitation: no nrv2b support.

Signed-off-by: Ronald Hoogenboom <hoogenboom30 at zonnet.nl>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: piorom.patch
Type: text/x-patch
Size: 19344 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20080228/a75e030f/attachment.patch>

More information about the coreboot mailing list