This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: _flash_xxx() in flash_am29xxxxx.inl
- From: Motoya Kurotsu <kurotsu at allied-telesis dot co dot jp>
- To: ecos-discuss at sources dot redhat dot com
- Date: Mon, 29 Jul 2002 15:00:28 +0900
- Subject: Re: [ECOS] _flash_xxx() in flash_am29xxxxx.inl
- References: <20020729144441.A2095@white.office1>
Hi,
Since my previous patch has a bug, ... sorry.
The attachment is what I mean.
Thanks,
Motoya Kurotsu
Allied Telesis K.K.
======================= patch =========================
--- flash_am29xxxxx.inl.orig Thu Jul 25 12:01:52 2002
+++ flash_am29xxxxx.inl Mon Jul 29 14:50:28 2002
@@ -154,6 +154,11 @@
__attribute__ ((section (".2ram.flash_erase_block")));
int flash_program_buf(void* addr, void* data, int len)
__attribute__ ((section (".2ram.flash_program_buf")));
+static void _flash_query(void* data) __attribute__ ((section (".2ram._flash_query")));
+static int _flash_erase_block(void* block, unsigned int size)
+ __attribute__ ((section (".2ram._flash_erase_block")));
+static int _flash_program_buf(void* addr, void* data, int len)
+ __attribute__ ((section (".2ram._flash_program_buf")));
//----------------------------------------------------------------------------
// Flash Query
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss