summaryrefslogtreecommitdiff
path: root/util/flashrom/msys_doc.h
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2007-04-01 19:44:21 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2007-04-01 19:44:21 +0000
commit195237f2e1b42c144cb27fde0a6773b20c8cd01a (patch)
tree66bb1768241122933d135e5efeb84047443011da /util/flashrom/msys_doc.h
parent1a9c892d58c746aef0cb530481c214e63a6a6871 (diff)
downloadcoreboot-195237f2e1b42c144cb27fde0a6773b20c8cd01a.tar.xz
Coding style fixes (trivial).
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2577 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/flashrom/msys_doc.h')
-rw-r--r--util/flashrom/msys_doc.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/util/flashrom/msys_doc.h b/util/flashrom/msys_doc.h
index 02da23c1d6..1d79e1319f 100644
--- a/util/flashrom/msys_doc.h
+++ b/util/flashrom/msys_doc.h
@@ -19,13 +19,9 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-
-
#ifndef __MSYS_DOC_H__
#define __MSYS_DOC_H__ 1
-
-
/* idea from include/linux/mtd/doc2000.h */
/* registers with __ should not be read/written directly */
#define MSYSTEMS_DOC_R__ChipID 0x1000
@@ -66,8 +62,6 @@
#define MSYSTEMS_DOC_R_CDSNIO_BASE 0x0800
#define MSYSTEMS_DOC_W_CDSNIO_BASE 0x0800
-
-
#define doc_read(base,reg) \
(*(volatile uint8_t *)(base + MSYSTEMS_DOC_R_##reg))
@@ -98,13 +92,9 @@
#define doc_toggle(base) /* 0, 1, 0, 1, 0, 1, ... if a doc is present */ \
( (doc_read(base, ECCConfiguration) & 0x04) >> 2 )
-
-
extern int probe_md2802(struct flashchip *flash);
extern int read_md2802(struct flashchip *flash, uint8_t *buf);
extern int erase_md2802(struct flashchip *flash);
extern int write_md2802(struct flashchip *flash, uint8_t *buf);
-
-
#endif /* !__MSYS_DOC_H__ */