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@zonnet.nl
Regards, Ronald