diff options
author | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2007-10-02 15:49:25 +0000 |
---|---|---|
committer | Ward Vandewege <ward@gnu.org> | 2007-10-02 15:49:25 +0000 |
commit | 0de6f0a36f98b3e76a80451fbe6f98c97fdf60b1 (patch) | |
tree | 2b3f9ee6b4bf6dce768e477381e4beb11b569f4c /util/flashrom/flashchips.c | |
parent | 3617103cc78c460d98b9d8a6c282ffa227ce3f23 (diff) | |
download | coreboot-0de6f0a36f98b3e76a80451fbe6f98c97fdf60b1.tar.xz |
This patch aims to restructure SPI flash support in a more reasonable
way. It introduces a generic SPI host driver for the IT8716F Super I/O
which will enable easy SPI programming without having to care for the
peculiarities of the SPI host.
To activate probing for the IT8716F, you have to use the gigabyte:m57sli
mainboard override. SPI support will then use the gathered SPI host data
to access the SPI flash.
This has been tested sucessfully by Ward Vandewege <ward@gnu.org> on the
GA-M57SLI v2.0, which has a MX25L4005 SPI flash part.
Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Ward Vandewege <ward@gnu.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2817 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/flashrom/flashchips.c')
-rw-r--r-- | util/flashrom/flashchips.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/util/flashrom/flashchips.c b/util/flashrom/flashchips.c index ec8089a3bd..0c393a9f4e 100644 --- a/util/flashrom/flashchips.c +++ b/util/flashrom/flashchips.c @@ -38,6 +38,8 @@ struct flashchip flashchips[] = { probe_jedec, erase_chip_jedec, write_jedec}, {"Mx29f002", MX_ID, MX_29F002, 256, 64 * 1024, probe_29f002, erase_29f002, write_29f002}, + {"MX25L4005", MX_ID, MX_25L4005, 512, 4 * 1024, + probe_spi, NULL, NULL}, {"SST29EE020A", SST_ID, SST_29EE020A, 256, 128, probe_jedec, erase_chip_jedec, write_jedec}, {"SST28SF040A", SST_ID, SST_28SF040, 512, 256, |