changeset 2806:6730c20e4ca3

* include/flash_am29xxxxx.inl: Silence warning with use of CYGHWR_DEVS_FLASH_ST_M29W320D.
author jlarmour
date Mon, 16 Feb 2009 22:36:18 +0000
parents 763f435204f8
children 9a8446cf24e9
files packages/devs/flash/amd/am29xxxxx/current/ChangeLog packages/devs/flash/amd/am29xxxxx/current/include/flash_am29xxxxx.inl
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/packages/devs/flash/amd/am29xxxxx/current/ChangeLog
+++ b/packages/devs/flash/amd/am29xxxxx/current/ChangeLog
@@ -1,3 +1,8 @@
+2009-02-16  René Schipp von Branitz Nielsen  <rbn@vitesse.com>
+
+	* include/flash_am29xxxxx.inl: Silence warning with use of
+	CYGHWR_DEVS_FLASH_ST_M29W320D.
+
 2008-11-17  Jonathan Larmour  <jifl@eCosCentric.com>
 
 	* cdl/flash_amd_am29xxxxx.cdl: Indicate that this driver uses
--- a/packages/devs/flash/amd/am29xxxxx/current/include/flash_am29xxxxx.inl
+++ b/packages/devs/flash/amd/am29xxxxx/current/include/flash_am29xxxxx.inl
@@ -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)