Remove useless 'extern' keywords (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@2769 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Uwe Hermann 2007-09-09 20:24:29 +00:00
parent 863c1bf525
commit f9b0f7fd91
2 changed files with 58 additions and 58 deletions

View File

@ -183,88 +183,88 @@ int linuxbios_init(void);
extern char *lb_part, *lb_vendor; extern char *lb_part, *lb_vendor;
/* 82802ab.c */ /* 82802ab.c */
extern int probe_82802ab(struct flashchip *flash); int probe_82802ab(struct flashchip *flash);
extern int erase_82802ab(struct flashchip *flash); int erase_82802ab(struct flashchip *flash);
extern int write_82802ab(struct flashchip *flash, uint8_t *buf); int write_82802ab(struct flashchip *flash, uint8_t *buf);
/* am29f040b.c */ /* am29f040b.c */
extern int probe_29f040b(struct flashchip *flash); int probe_29f040b(struct flashchip *flash);
extern int erase_29f040b(struct flashchip *flash); int erase_29f040b(struct flashchip *flash);
extern int write_29f040b(struct flashchip *flash, uint8_t *buf); int write_29f040b(struct flashchip *flash, uint8_t *buf);
/* jedec.c */ /* jedec.c */
extern void toggle_ready_jedec(volatile uint8_t *dst); void toggle_ready_jedec(volatile uint8_t *dst);
extern void data_polling_jedec(volatile uint8_t *dst, uint8_t data); void data_polling_jedec(volatile uint8_t *dst, uint8_t data);
extern void unprotect_jedec(volatile uint8_t *bios); void unprotect_jedec(volatile uint8_t *bios);
extern void protect_jedec(volatile uint8_t *bios); void protect_jedec(volatile uint8_t *bios);
int write_byte_program_jedec(volatile uint8_t *bios, uint8_t *src, int write_byte_program_jedec(volatile uint8_t *bios, uint8_t *src,
volatile uint8_t *dst); volatile uint8_t *dst);
extern int probe_jedec(struct flashchip *flash); int probe_jedec(struct flashchip *flash);
extern int erase_chip_jedec(struct flashchip *flash); int erase_chip_jedec(struct flashchip *flash);
extern int write_jedec(struct flashchip *flash, uint8_t *buf); int write_jedec(struct flashchip *flash, uint8_t *buf);
extern int erase_sector_jedec(volatile uint8_t *bios, unsigned int page); int erase_sector_jedec(volatile uint8_t *bios, unsigned int page);
extern int erase_block_jedec(volatile uint8_t *bios, unsigned int page); int erase_block_jedec(volatile uint8_t *bios, unsigned int page);
extern int write_sector_jedec(volatile uint8_t *bios, uint8_t *src, int write_sector_jedec(volatile uint8_t *bios, uint8_t *src,
volatile uint8_t *dst, unsigned int page_size); volatile uint8_t *dst, unsigned int page_size);
/* m29f400bt.c */ /* m29f400bt.c */
extern int probe_m29f400bt(struct flashchip *flash); int probe_m29f400bt(struct flashchip *flash);
extern int erase_m29f400bt(struct flashchip *flash); int erase_m29f400bt(struct flashchip *flash);
extern int block_erase_m29f400bt(volatile uint8_t *bios, int block_erase_m29f400bt(volatile uint8_t *bios,
volatile uint8_t *dst); volatile uint8_t *dst);
extern int write_m29f400bt(struct flashchip *flash, uint8_t *buf); int write_m29f400bt(struct flashchip *flash, uint8_t *buf);
extern int write_linuxbios_m29f400bt(struct flashchip *flash, uint8_t *buf); int write_linuxbios_m29f400bt(struct flashchip *flash, uint8_t *buf);
extern void toggle_ready_m29f400bt(volatile uint8_t *dst); void toggle_ready_m29f400bt(volatile uint8_t *dst);
extern void data_polling_m29f400bt(volatile uint8_t *dst, uint8_t data); void data_polling_m29f400bt(volatile uint8_t *dst, uint8_t data);
extern void protect_m29f400bt(volatile uint8_t *bios); void protect_m29f400bt(volatile uint8_t *bios);
extern void write_page_m29f400bt(volatile uint8_t *bios, uint8_t *src, void write_page_m29f400bt(volatile uint8_t *bios, uint8_t *src,
volatile uint8_t *dst, int page_size); volatile uint8_t *dst, int page_size);
/* mx29f002.c */ /* mx29f002.c */
extern int probe_29f002(struct flashchip *flash); int probe_29f002(struct flashchip *flash);
extern int erase_29f002(struct flashchip *flash); int erase_29f002(struct flashchip *flash);
extern int write_29f002(struct flashchip *flash, uint8_t *buf); int write_29f002(struct flashchip *flash, uint8_t *buf);
/* pm49fl004.c */ /* pm49fl004.c */
extern int probe_49fl004(struct flashchip *flash); int probe_49fl004(struct flashchip *flash);
extern int erase_49fl004(struct flashchip *flash); int erase_49fl004(struct flashchip *flash);
extern int write_49fl004(struct flashchip *flash, uint8_t *buf); int write_49fl004(struct flashchip *flash, uint8_t *buf);
/* sharplhf00l04.c */ /* sharplhf00l04.c */
extern int probe_lhf00l04(struct flashchip *flash); int probe_lhf00l04(struct flashchip *flash);
extern int erase_lhf00l04(struct flashchip *flash); int erase_lhf00l04(struct flashchip *flash);
extern int write_lhf00l04(struct flashchip *flash, uint8_t *buf); int write_lhf00l04(struct flashchip *flash, uint8_t *buf);
extern void toggle_ready_lhf00l04(volatile uint8_t *dst); void toggle_ready_lhf00l04(volatile uint8_t *dst);
extern void data_polling_lhf00l04(volatile uint8_t *dst, uint8_t data); void data_polling_lhf00l04(volatile uint8_t *dst, uint8_t data);
extern void protect_lhf00l04(volatile uint8_t *bios); void protect_lhf00l04(volatile uint8_t *bios);
/* sst28sf040.c */ /* sst28sf040.c */
extern int probe_28sf040(struct flashchip *flash); int probe_28sf040(struct flashchip *flash);
extern int erase_28sf040(struct flashchip *flash); int erase_28sf040(struct flashchip *flash);
extern int write_28sf040(struct flashchip *flash, uint8_t *buf); int write_28sf040(struct flashchip *flash, uint8_t *buf);
/* sst39sf020.c */ /* sst39sf020.c */
extern int probe_39sf020(struct flashchip *flash); int probe_39sf020(struct flashchip *flash);
extern int write_39sf020(struct flashchip *flash, uint8_t *buf); int write_39sf020(struct flashchip *flash, uint8_t *buf);
/* sst49lf040.c */ /* sst49lf040.c */
extern int erase_49lf040(struct flashchip *flash); int erase_49lf040(struct flashchip *flash);
extern int write_49lf040(struct flashchip *flash, uint8_t *buf); int write_49lf040(struct flashchip *flash, uint8_t *buf);
/* sst49lfxxxc.c */ /* sst49lfxxxc.c */
extern int probe_49lfxxxc(struct flashchip *flash); int probe_49lfxxxc(struct flashchip *flash);
extern int erase_49lfxxxc(struct flashchip *flash); int erase_49lfxxxc(struct flashchip *flash);
extern int write_49lfxxxc(struct flashchip *flash, uint8_t *buf); int write_49lfxxxc(struct flashchip *flash, uint8_t *buf);
/* sst_fwhub.c */ /* sst_fwhub.c */
extern int probe_sst_fwhub(struct flashchip *flash); int probe_sst_fwhub(struct flashchip *flash);
extern int erase_sst_fwhub(struct flashchip *flash); int erase_sst_fwhub(struct flashchip *flash);
extern int write_sst_fwhub(struct flashchip *flash, uint8_t *buf); int write_sst_fwhub(struct flashchip *flash, uint8_t *buf);
/* w29ee011.c */ /* w29ee011.c */
extern int probe_w29ee011(struct flashchip *flash); int probe_w29ee011(struct flashchip *flash);
/* w49f002u.c */ /* w49f002u.c */
extern int write_49f002(struct flashchip *flash, uint8_t *buf); int write_49f002(struct flashchip *flash, uint8_t *buf);
#endif /* !__FLASH_H__ */ #endif /* !__FLASH_H__ */

View File

@ -91,9 +91,9 @@
#define doc_toggle(base) /* 0, 1, 0, 1, 0, 1, ... if a doc is present */ \ #define doc_toggle(base) /* 0, 1, 0, 1, 0, 1, ... if a doc is present */ \
( (doc_read(base, ECCConfiguration) & 0x04) >> 2 ) ( (doc_read(base, ECCConfiguration) & 0x04) >> 2 )
extern int probe_md2802(struct flashchip *flash); int probe_md2802(struct flashchip *flash);
extern int read_md2802(struct flashchip *flash, uint8_t *buf); int read_md2802(struct flashchip *flash, uint8_t *buf);
extern int erase_md2802(struct flashchip *flash); int erase_md2802(struct flashchip *flash);
extern int write_md2802(struct flashchip *flash, uint8_t *buf); int write_md2802(struct flashchip *flash, uint8_t *buf);
#endif /* !__MSYS_DOC_H__ */ #endif /* !__MSYS_DOC_H__ */