From 0b7afe65fb83bece914bb314e2c707d6d4b7ec4c Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Sun, 1 Apr 2007 19:44:21 +0000 Subject: Coding style fixes Corresponding to flashrom svn r97 and coreboot v2 svn r2577. Signed-off-by: Uwe Hermann Acked-by: Uwe Hermann --- msys_doc.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'msys_doc.h') diff --git a/msys_doc.h b/msys_doc.h index 02da23c1d..1d79e1319 100644 --- a/msys_doc.h +++ b/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__ */ -- cgit v1.2.3