This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: strata.h fix


Here's one way to fix it.The other is to include cyg_type from strata
I'll send that if that's preffered.Sorry again for the trouble.


Index: io/flash//current/ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos/packages/io/flash/current/ChangeLog,v
retrieving revision 1.26
diff -u -r1.26 ChangeLog
--- io/flash//current/ChangeLog	19 Mar 2003 14:14:56 -0000	1.26
+++ io/flash//current/ChangeLog	14 Apr 2003 10:12:47 -0000
@@ -1,3 +1,7 @@
+2003-04-14  Jani Monoses <jani at iv dot ro>
+	
+	* include/flash_dev.h: Include <cyg/infra/cyg_type.h> 
+	
 2003-03-19  Thomas Koeller <thomas dot koeller at baslerweb dot com>
 
 	* src/flashiodev.c: Fixed trivial error.
Index: io/flash//current/include/flash_dev.h
===================================================================
RCS file: /cvs/ecos/ecos/packages/io/flash/current/include/flash_dev.h,v
retrieving revision 1.5
diff -u -r1.5 flash_dev.h
--- io/flash//current/include/flash_dev.h	23 May 2002 23:06:15 -0000	1.5
+++ io/flash//current/include/flash_dev.h	14 Apr 2003 10:12:48 -0000
@@ -59,6 +59,7 @@

//=====================================================================
===== 
 #ifdef _FLASH_PRIVATE_
+#include <cyg/infra/cyg_type.h>
 
 //
------------------------------------------------------------------------
//

> > 
> > Oops!
> > 
> > All applied. Thanks!
> > 
> 
> There appears to be something wrong with this patch. Configuring and
> building RedBoot for the iq80321 I get a whole slew of compile errors
> in the strata flash driver. All centered around flash_data_t.
> 
> I've not investigated very deeply, I'll leave it to Jani to
> investigate and propose a solution.
> 
> 
> -- 
> Nick Garnett                    eCos Kernel Architect
> http://www.ecoscentric.com/     The eCos and RedBoot experts
> 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]