From a3f04be761d45aed2f6113eb2a6d08679370f546 Mon Sep 17 00:00:00 2001 From: Jason Wang Date: Fri, 28 Nov 2008 21:36:51 +0000 Subject: Add support for the AMD/ATI SB600 southbridge SPI functionality This has been tested by Uwe Hermann on an RS690/SB600 board. Corresponding to flashrom svn r351 and coreboot v2 svn r3779. Signed-off-by: Jason Wang Reviewed-by: Joe Bao Acked-by: Uwe Hermann --- spi.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'spi.h') diff --git a/spi.h b/spi.h index c096dce5c..25ce29774 100644 --- a/spi.h +++ b/spi.h @@ -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 -- cgit v1.2.3