This is the mail archive of the ecos-patches@sourceware.org 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]

Compilation warning in am29xxxxx.inl


The following patch fixes a compilation warning in devs/flash/amd/am29xxxxx.inl.
 
Warning:
.../packages/devs/flash/arm/vcoreii/current/src/arm_vcoreii_flash.c:70:
.../build/obj/ecos/install/include/cyg/io/flash_am29xxxxx.inl:99:22: warning: "CYGHWR_DEVS_FLASH_ST_M29W320D" is not defined

Regards,
René Schipp von Branitz Nielsen
Vitesse Semiconductors
 
Index: flash_am29xxxxx.inl
===================================================================
RCS file: /cvs/ecos/ecos/packages/devs/flash/amd/am29xxxxx/current/include/flash_am29xxxxx.inl,v
retrieving revision 1.26
diff -u -r1.26 flash_am29xxxxx.inl
--- flash_am29xxxxx.inl 29 Jan 2009 17:48:16 -0000      1.26
+++ flash_am29xxxxx.inl 12 Feb 2009 08:23:44 -0000
@@ -96,7 +96,7 @@
 #endif
 
 
-# if (_16AS8 == 0)||CYGHWR_DEVS_FLASH_ST_M29W320D
+# if (_16AS8 == 0)|| defined(CYGHWR_DEVS_FLASH_ST_M29W320D)
 # define FLASH_Setup_Addr1              (0x555)
 # define FLASH_Setup_Addr2              (0x2AA)
 # define FLASH_VendorID_Addr            (0)


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