coreboot-kgpe-d16/src/southbridge
Duncan Laurie d4bc067954 SPI: Add early romstage SPI driver using hardware sequencing
This is a basic romstage driver that can be used for the
MRC cache code on systems where we do not have the MRC cache
stored in a flash region that is memory mapped.

It uses the hardware sequencing interface to avoid having
to know anything about the flash chip itself.

BUG=chrome-os-partner:15031
BRANCH=stout
TEST=manual: this was tested with debug code added to romstage
that attempted to read the MRC cache at offset 0x3e0000.

SPI READ offset=003e0000 size=64 buffer=ff7fba00
SPI ADDR 0x003e0000
SPI HSFC 0x3f00
SPI READ: 0=4443524d
SPI READ: 1=00000bb0
SPI READ: 2=00008e24
SPI READ: 3=00000000
SPI READ: 4=001c8bbb
SPI READ: 5=0c206466
SPI READ: 6=0a043220
SPI READ: 7=000058b4
SPI READ: 8=00000000
SPI READ: 9=00000000
SPI READ: 10=00100000
SPI READ: 11=00100005
SPI READ: 12=20202025
SPI READ: 13=000e0001
SPI READ: 14=00000000
SPI READ: 15=00000000

Change-Id: I5f78f53111f912ff5dda52bbf90fdc1824b82681
Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-on: http://review.coreboot.org/1777
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
2012-11-12 17:09:59 +01:00
..
amd Get rid of hard coded strings in ACPI tables 2012-11-09 19:03:45 +01:00
broadcom Auto-declare chip_operations 2012-08-22 05:06:41 +02:00
intel SPI: Add early romstage SPI driver using hardware sequencing 2012-11-12 17:09:59 +01:00
nvidia Fix some issues with new "reference" toolchain 2012-11-02 18:06:49 +01:00
rdc Add support for RDC R8610 Southbridge 2012-03-27 18:39:05 +02:00
ricoh Auto-declare chip_operations 2012-08-22 05:06:41 +02:00
sis Auto-declare chip_operations 2012-08-22 05:06:41 +02:00
ti Remove chip.h files without config structure 2012-10-07 12:55:04 +02:00
via hpet: common ACPI generation 2012-10-08 21:23:08 +02:00
Kconfig Add support for RDC R8610 Southbridge 2012-03-27 18:39:05 +02:00
Makefile.inc Add support for RDC R8610 Southbridge 2012-03-27 18:39:05 +02:00