# HG changeset patch # User jlarmour # Date 1234823778 0 # Node ID 6730c20e4ca3ebc35104ce773529c9ea01b9b7cc # Parent 763f435204f8f7bf3423386ae3c46f8e60626e36 * include/flash_am29xxxxx.inl: Silence warning with use of CYGHWR_DEVS_FLASH_ST_M29W320D. diff --git a/packages/devs/flash/amd/am29xxxxx/current/ChangeLog b/packages/devs/flash/amd/am29xxxxx/current/ChangeLog --- 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 + + * include/flash_am29xxxxx.inl: Silence warning with use of + CYGHWR_DEVS_FLASH_ST_M29W320D. + 2008-11-17 Jonathan Larmour * cdl/flash_amd_am29xxxxx.cdl: Indicate that this driver uses diff --git a/packages/devs/flash/amd/am29xxxxx/current/include/flash_am29xxxxx.inl b/packages/devs/flash/amd/am29xxxxx/current/include/flash_am29xxxxx.inl --- 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)