public inbox for ecos-patches@sourceware.org
 help / color / mirror / Atom feed
* Compilation warning in am29xxxxx.inl
@ 2009-02-12  8:29 Rene Nielsen
  2009-02-16 22:36 ` Jonathan Larmour
  0 siblings, 1 reply; 2+ messages in thread
From: Rene Nielsen @ 2009-02-12  8:29 UTC (permalink / raw)
  To: ecos-patches

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)

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Compilation warning in am29xxxxx.inl
  2009-02-12  8:29 Compilation warning in am29xxxxx.inl Rene Nielsen
@ 2009-02-16 22:36 ` Jonathan Larmour
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Larmour @ 2009-02-16 22:36 UTC (permalink / raw)
  To: Rene Nielsen; +Cc: ecos-patches

Rene Nielsen wrote:
> The following patch fixes a compilation warning in devs/flash/amd/am29xxxxx.inl.

Applied, thanks!

Jifl
-- 
*See us at Embedded World 2009, Nürnberg, Germany, 3-5 Mar, Stand 11-300*
eCosCentric Limited      http://www.eCosCentric.com/     The eCos experts
Barnwell House, Barnwell Drive, Cambridge, UK.       Tel: +44 1223 245571
Registered in England and Wales: Reg No 4422071.
------["Si fractum non sit, noli id reficere"]------       Opinions==mine

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-02-16 22:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-12  8:29 Compilation warning in am29xxxxx.inl Rene Nielsen
2009-02-16 22:36 ` Jonathan Larmour

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).