summaryrefslogtreecommitdiff
path: root/util/flashrom/flash.h
diff options
context:
space:
mode:
authorGiampiero Giancipoli <gianci@email.it>2006-11-20 20:03:07 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2006-11-20 20:03:07 +0000
commit0eb7424004525bf1776c25e16b58996bcd850395 (patch)
tree5c93ccf3ea2f015b6cfc44b800ce2e0bc3b9ff82 /util/flashrom/flash.h
parentc22851011f21d6ec4d44172ed403b47e7d22171d (diff)
downloadcoreboot-0eb7424004525bf1776c25e16b58996bcd850395.tar.xz
Support for the 256K SyncMos S29C51002T flash.
Signed-off-by: Giampiero Giancipoli <gianci@email.it> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2499 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/flashrom/flash.h')
-rw-r--r--util/flashrom/flash.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/util/flashrom/flash.h b/util/flashrom/flash.h
index 9009ee6d1a..086764f203 100644
--- a/util/flashrom/flash.h
+++ b/util/flashrom/flash.h
@@ -79,6 +79,9 @@ extern struct flashchip flashchips[];
#define MSYSTEMS_MD2800 0x30 /* hmm -- both 0x30 */
#define MSYSTEMS_MD2802 0x30 /* hmm -- both 0x30 */
+#define SM_ID 0x40 /* SyncMOS ID */
+#define S29C51002T 0x02
+
extern void myusec_delay(int time);
extern void myusec_calibrate_delay();
extern int enable_flash_write(void);