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


>>>>> Jani Monoses writes:

> 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.

I just checked this one in also. iq80321.h was getting pulled in by
hal_cache.h, but since that is no longer included by the driver...

--Mark


Index: packages/devs/flash/arm/iq80321/current/ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos/packages/devs/flash/arm/iq80321/current/ChangeLog,v
retrieving revision 1.2
diff -u -p -5 -r1.2 ChangeLog
--- packages/devs/flash/arm/iq80321/current/ChangeLog	23 May 2002 23:00:54 -0000	1.2
+++ packages/devs/flash/arm/iq80321/current/ChangeLog	14 Apr 2003 11:23:00 -0000
@@ -1,5 +1,9 @@
+2003-04-14  Mark Salter  <msalter at redhat dot com>
+
+	* include/iq80321_strataflash.inl: Include iq80321.h for IQ80321_FLASH_ADDR.
+
 2002-01-28  Mark Salter  <msalter at redhat dot com>
 
 	* include/iq80321_strataflash.inl: Include cyg/hal/plf_io.h.
 	* include/iq80321_strataflash.inl: Doh. Just remove it as unneccessary.
 
@@ -10,11 +14,11 @@
 	
 //===========================================================================
 //####ECOSGPLCOPYRIGHTBEGIN####
 // -------------------------------------------
 // This file is part of eCos, the Embedded Configurable Operating System.
-// Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 Red Hat, Inc.
 //
 // eCos is free software; you can redistribute it and/or modify it under
 // the terms of the GNU General Public License as published by the Free
 // Software Foundation; either version 2 or (at your option) any later version.
 //
Index: packages/devs/flash/arm/iq80321/current/include/iq80321_strataflash.inl
===================================================================
RCS file: /cvs/ecos/ecos/packages/devs/flash/arm/iq80321/current/include/iq80321_strataflash.inl,v
retrieving revision 1.2
diff -u -p -5 -r1.2 iq80321_strataflash.inl
--- packages/devs/flash/arm/iq80321/current/include/iq80321_strataflash.inl	23 May 2002 23:00:54 -0000	1.2
+++ packages/devs/flash/arm/iq80321/current/include/iq80321_strataflash.inl	14 Apr 2003 11:23:00 -0000
@@ -50,10 +50,12 @@
 //              
 //####DESCRIPTIONEND####
 //
 //==========================================================================
 
+#include <cyg/hal/iq80321.h>  // IQ80321_FLASH_ADDR
+
 // The iq80321 system has one 16-bit device.
 
 #define CYGNUM_FLASH_DEVICES 	(1)
 #define CYGNUM_FLASH_BASE 	IQ80321_FLASH_ADDR
 #define CYGNUM_FLASH_BASE_MASK  (0xFF800000u) // 8Mb devices


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