diff options
author | Jason Wang <Qingpei.Wang@amd.com> | 2008-11-28 21:36:51 +0000 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2008-11-28 21:36:51 +0000 |
commit | 269eeed6e72b9c22c2699897b80533e69d803ac9 (patch) | |
tree | b1e437eb9e184676bc4ca62472bfb103ca4d2196 /spi.h | |
parent | 91c19f8a021338af955c186ad3af33a4af3e56c5 (diff) | |
download | flashrom-269eeed6e72b9c22c2699897b80533e69d803ac9.zip flashrom-269eeed6e72b9c22c2699897b80533e69d803ac9.tar.gz |
Add support for the AMD/ATI SB600 southbridge SPI functionality
This has been tested by Uwe Hermann on an RS690/SB600 board.
Reviewed-by: Joe Bao <zheng.bao@amd.com>
Corresponding to flashrom svn r351 and coreboot v2 svn r3779.
Signed-off-by: Jason Wang <Qingpei.Wang@amd.com>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
Diffstat (limited to 'spi.h')
-rw-r--r-- | spi.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -80,6 +80,11 @@ #define JEDEC_RDSR_INSIZE 0x01 #define JEDEC_RDSR_BIT_WIP (0x01 << 0) +/* Write Status Enable */ +#define JEDEC_EWSR 0x50 +#define JEDEC_EWSR_OUTSIZE 0x01 +#define JEDEC_EWSR_INSIZE 0x00 + /* Write Status Register */ #define JEDEC_WRSR 0x01 #define JEDEC_WRSR_OUTSIZE 0x02 |