2008-11-13  Jonathan Larmour  <jifl@eCosCentric.com>

	* src/sam9_mmc.c (sam9_mci_xfer_blocks): cyg_mmcsd_check_transfer_ok()
	now takes card argument too.

2008-10-23  Jonathan Larmour  <jifl@eCosCentric.com>

	* src/sam9_mmc.c: Allow platform to set which slot pins to use,
	A or B.
	(calc_dtor): Don't throw an error if we overflow, instead just set
	to max.

2008-09-30  Jonathan Larmour  <jifl@eCosCentric.com>

	* cdl/hal_arm_arm9_sam9.cdl: Remove override of HAL_BREAKINST_THUMB
	here as it now takes place in ARM9 variant HAL.

2008-09-10  Nick Garnett  <nickg@ecoscentric.com>

	* cdl/hal_arm_arm9_sam9.cdl: Add options to explicitly set the
	cache sizes for the different SAM9 models.

2008-09-05  John Dallaway  <jld@ecoscentric.com>

	* doc/cldiv-equation.png: Rename to sam9-cldiv-eqn.png to avoid
	filename clash with other documentation images.
	* doc/sam9.sgml: Accommodate above change.

2008-06-27  Nick Garnett  <nickg@ecoscentric.com>

	* cdl/hal_arm_arm9_sam9.cdl:
	Change CYGARC_HAL_ARM_ARM9_SAM9_DCACHE_SIZE to a calculated
	option.

2008-06-26  Nick Garnett  <nickg@ecoscentric.com>

	* include/sam9.h: Add definitions for SAM9263 variant.

	* include/var_ints.h: Reorganize to support SAM9263 variant.
	
	* cdl/hal_arm_arm9_sam9.cdl:
	Add CYGARC_HAL_ARM_ARM9_SAM9_DCACHE_SIZE to permit customization
	of data cache size for different variants.
	Add CYGHWR_HAL_ARM_ARM9_SAM9_SAM9263_MCI to configure address of
	MCI device to be used by driver. 

	* src/sam9_i2c.c (TWI_*): Add definitions for SAM9263 variant.

	* src/sam9_mmc.c (sam9_mci_xfer_blocks): Add calls to disable PDC
	before setting up DMA transfer. The on-chip bootloader on some
	parts (SAM9263 in particular) doesn't seem to tidy up properly and
	leaves the PDC in an invalid state.

	* src/sam9_misc.c (hal_delay_us): Add a short delay to the main
	loop. Without this the SAM9263 terminates the loop
	early. Something to do with subtracting val1 from val2 making
	ticks go massively negative. The delay means val1 and val2 will
	always differ and the loop completes in the time requested.
	
2008-05-08  Jonathan Larmour  <jifl@eCosCentric.com>

	* cdl/hal_arm_arm9_sam9.cdl: Update MCI driver CDL for
	reworked driver which includes SD support.
	* doc/sam9.sgml: Document MCI driver which was inexplicably
	commented out before, and add doc on use with SD cards.
	* src/sam9_mmc.c: Greatly reworked driver, based on AT91RM9200
	driver, for new MMC/SD generic support.

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

	* src/sam9_misc.c (_sam9_hardware_init): Always initialise clock
	when we provide delay function.

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

	* include/sam9.h: Add AHB bus matrix for SAM9260.
	Add SDRAM controller defines.
	* include/sam9_init.inc: Fix some comments.
	Provide proper sam9_init_sdram implementation.
	* src/sam9_misc.c (hal_clock_initialize): Compensate for PITC
	design flaw triggered when PITC has previously been enabled
	with higher period.
	(hal_clock_reset): mask pimr correctly.
	(hal_clock_read): No need to enable pitc now.

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

	* src/sam9_mmc.c (sam9_mci_xfer_blocks): AT91RM9200 erratum
	requiring byte swapping does not apply on SAM9, so remove.

2007-10-26  Nick Garnett  <nickg@ecoscentric.com>

	* cdl/hal_arm_arm9_sam9.cdl: Add definition of HAL_BREAKINST_THUMB
	to replace default which is used by debug unit.

2007-10-12  Nick Garnett  <nickg@ecoscentric.com>

	* include/sam9.h (AT91_US_IER_CTSIC, AT91_US_CSR_CTS): Add
	definitions of these bits for CTS support.

2007-09-25  Nick Garnett  <nickg@ecoscentric.com>

	* include/var_ints.h: 
	* include/sam9_init.inc: 
	* include/sam9.h: 
	* src/sam9_powersave.c: 
	* src/sam9_mmc.c: 
	* src/sam9_misc.c: 
	* src/sam9_i2c.c: 
	* src/hal_diag.c: 
	* tests/powersave.c: 
	* tests/at24c512-i2c.c: 
	* cdl/hal_arm_arm9_sam9.cdl: 
	* doc/sam9.sgml: 
	New package, SAM9 generic HAL.
	Based on AT91RM9200 HAL.

//===========================================================================
// ####GPLCOPYRIGHTBEGIN####                                                
// -------------------------------------------                              
// This file is part of eCos, the Embedded Configurable Operating System.   
// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
// Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 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####                                                  
//===========================================================================
