Changeset 1151 for trunk/spi.c


Ignore:
Timestamp:
09/03/10 20:21:21 (21 months ago)
Author:
uwe
Message:

Add Intel Gigabit NIC SPI flashing support.
Tested on a 82541PI (0x8086, 0x107c) using 32-bit hardware.

The last line in nicintel_request_spibus() could be changed so that FL_BUSY
is used instead.

Shortened sample log:
[...]
Found "Intel 82541PI Gigabit Ethernet Controller" (8086:107c, BDF 01:03.0).
Found chip "ST M25P10.RES" (128 KB, SPI) at physical address 0xfffe0000.
Multiple flash chips were detected: M25P05.RES M25P10.RES
Please specify which chip to use with the -c <chipname> option.
[...]

Signed-off-by: Idwer Vollering <vidwer@…>
Acked-by: Uwe Hermann <uwe@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/spi.c

    r1115 r1151  
    130130#if CONFIG_RAYER_SPI == 1 
    131131        { /* SPI_CONTROLLER_RAYER */ 
     132                .command = bitbang_spi_send_command, 
     133                .multicommand = default_spi_send_multicommand, 
     134                .read = bitbang_spi_read, 
     135                .write_256 = bitbang_spi_write_256, 
     136        }, 
     137#endif 
     138 
     139#if CONFIG_NICINTEL_SPI == 1 
     140        { /* SPI_CONTROLLER_NICINTEL */ 
    132141                .command = bitbang_spi_send_command, 
    133142                .multicommand = default_spi_send_multicommand, 
Note: See TracChangeset for help on using the changeset viewer.