2007-11-07  Jonathan Larmour  <jifl@eCosCentric.com>

	* src/devs_flash_atmel_dataflash.c: Use SPI command codes that fit
	what datasheets now say for newer DF, and should work fine on older
	cards too. Previous command codes could put DF into problematic modes,
	but are still available with a define if really needed.
	(df_read_status): Return a df_status_byte_union_t to silence warnings.
	(df_wait_ready_buf): Accomodate new df_read_status return value type.
	(df_detect_device): Ditto.
	Also detect absence of card.
	(cyg_dataflash_compare_buf): Accomodate new df_read_status return
	value type.
	(cyg_dataflash_program): Ditto.

2007-10-29  Jonathan Larmour  <jifl@eCosCentric.com>

	* src/devs_flash_atmel_dataflash.c (df_read_status): Silence unsigned
	/ signed warning.
	(df_detect_device): Silence diag format type mismatch warning.

2006-11-02  Nick Garnett  <nickg@ecoscentric.com>

	* tests/dataflash1.c: 
	* cdl/devs_flash_atmel_dataflash.cdl: Add dataflash test program.

	* include/dataflash.h: 
	* src/devs_flash_atmel_dataflash.c: 
	* src/devs_flash_atmel_dataflash_flash_dev_funs.c: Some tweaks to
	diagnostic output.

2006-09-05  Jonathan Larmour  <jifl@eCosCentric.com>

	* src/devs_flash_atmel_dataflash.c (df_read_status): Avoid
	type-punning causing strict-aliasing problem (and silencing warning).

2005-12-12  Jonathan Larmour  <jifl@eCosCentric.com>

	* src/devs_flash_atmel_dataflash_flash_dev_funs.c (df_flash_block_lock): 
	Return OK, not an error if a lock op was requested - it's bound to mean
	there's another dev in the system that supports locking.
	This isn't ideal, but will have to do until the generic flash layer
	supports the notion of per-device attributes, such as locking support.
	(df_flash_block_unlock): Ditto.

2005-09-28  Jonathan Larmour  <jifl@eCosCentric.com>

	* src/devs_flash_atmel_dataflash.c (df_detect_device): Allow
	hardware to provide CYGHWR_SPI_DETECT_DATAFLASH macro to
	indicate platform-specific detection of cards.

2005-08-24  Jonathan Larmour  <jifl@eCosCentric.com>

	* cdl/devs_flash_atmel_dataflash.cdl: CYGPKG_ERROR not required.

2005-08-18  Nick Garnett  <nickg@ecoscentric.com>

	* src/devs_flash_atmel_dataflash.c (df_detect_device): Print some
	more info when a dataflash device is found.

2005-08-16  John Dallaway  <jld@ecoscentric.com>

	* cdl/devs_flash_atmel_dataflash.cdl: Make this package active
	only if the generic Flash I/O package is loaded.

	* doc/dataflash.sgml: Minor clean up.

2005-08-08  Nick Garnett  <nickg@ecoscentric.com>

	* include/dataflash.h: Updated from anoncvs. Added df_diag() for
	debugging.

	* src/devs_flash_atmel_dataflash.c (df_dev_info): Added some calls
	to df_diag() to permit execution tracing.

	* doc/dataflash_sa.sgml: Initial documentation.
	
2005-06-29  Jani Monoses <ani@iv.ro>

	* include/dataflash.h: Allow the package to be compiled without
	io/flash. Return correct value from cyg_dataflash_get_page_count()

2004-12-02  Bart Veer  <bartv@ecoscentric.com>

	* include/dataflash.h,
	src/devs_flash_atmel_dataflash_flash_dev_funs.c: include
	<cyg/io/flash_dev.h> explicitly rather than using _FLASH_PRIVATE_

2004-11-29  Bart Veer  <bartv@ecoscentric.com>

	(df_flash_hwr_map_error): this is now internal to the driver, no
	longer needed by the generic flash code.
	* src/devs_flash_atmel_dataflash_flash_dev_funs.c: use the dummy
	query/lock/unlock functions provided by the generic flash code

2004-11-22  Bart Veer  <bartv@ecoscentric.com>

	* include/dataflash.h, src/devs_flash_atmel_dataflash.c,
	src/devs_flash_atmel_dataflash_flash_dev_funs.c: merge the config
	and priv structures, removing the duplicate spi_dev data in the
	process. Adjust device driver API as per changes to the generic
	flash code.
	* src/devs_flash_atmel_dataflash_flash_dev_funs.c (df_flash_init):
	Rename cyg_block_info to cyg_flash_block_info

2004-11-21  Bart Veer  <bartv@ecoscentric.com>

	* cdl/devs_flash_atmel_dataflash.cdl: CYGHWR_IO_FLASH_DEVICE_V2 is
	now implicit

2004-11-20  Bart Veer  <bartv@ecoscentric.com>

	* cdl/devs_flash_atmel_dataflash.cdl: data flash requires indirect
	read support in the main flash code.

2004-10-07  Savin Zlobec  <savin@elatec.si> 

        * include/dataflash.h:
        * src/devs_flash_atmel_dataflash.c:
        Changed the API to be more consistent, included error
        reporting and added blocking/non blocking mode of operation.
        * src/devs_flash_atmel_dataflash_flash_dev_funs.c:
        Synced with new API and set the block size to DataFlash's
        native page size.

2004-10-07  Andrew Lunn  <andrew.lunn@ascom.ch>

	* cdl/devs_flash_atmel_dataflash.cdl: Remove
	CYGSEM_IO_FLASH_READ_INDIRECT which only legacy drivers should use
	when they provide a flash_read_buf function. For V2 drivers
	providing a read function in the device structure is sufficient.

2004-09-07  Savin Zlobec  <savin@elatec.si> 

        * cdl/devs_flash_atmel_dataflash.cdl:
        * include/dataflash.h:
        * src/devs_flash_atmel_dataflash.c:  
        * src/devs_flash_atmel_dataflash_flash_dev_funs.c:
        Atmel DataFlash driver implementation.   	 


//===========================================================================
// ####GPLCOPYRIGHTBEGIN####                                                
// -------------------------------------------                              
// This file is part of eCos, the Embedded Configurable Operating System.   
// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2005, 2006, 2007 Free Software Foundation, Inc.
// Copyright (C) 2005, 2006, 2007 eCosCentric Limited                       
//
// This program 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.                                                           
//
// This program is distributed in the hope that it will be useful, but      
// WITHOUT ANY WARRANTY; without even the implied warranty of               
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU        
// General Public License for more details.                                 
//
// You should have received a copy of the GNU General Public License        
// along with this program; if not, write to the                            
// Free Software Foundation, Inc., 51 Franklin Street,                      
// Fifth Floor, Boston, MA  02110-1301, USA.                                
// -------------------------------------------                              
// ####GPLCOPYRIGHTEND####                                                  
//===========================================================================
