2006-09-27 Andrew Lunn * src/spi_at91.c (spi_at91_transaction_begin): Don't use #ifdef inside a macro invocation. The compiler throws a wobbly. 2006-09-07 John Eigelaar * src/spi_at91.c: Fixed the chip select functions. Changed the Mode Register setup as to disable the Mode Failure Detaction for variants that support it. The Mode Failure Detection breaks because NPCS0 is not connected, we are using GPIO, and is thus floating. 2006-06-01 John Eigelaar * src/spi_at91.c: * cdl/spi_at91.cdl: * include/spi_at91.h: Generalize so that multiple SPI busses can be driven. 2006-05-19 Andrew Lunn * src/spi_at91.c: Use the AT91 GPIO/PIO macros to aid portability between different AT91 device. 2004-11-11 Sebastian Block * src/spi_at91.c: Fixed negation of the chip select signal when not using a 4 to 16 decoder 2004-10-13 Savin Zlobec * src/spi_at91.c: Fixed a typo in spi_at91_transfer reported by Nicolas Brouard. 2004-08-31 Savin Zlobec * include/spi_at91.h: * src/spi_at91.c: Moved SPI registers and bits defines to HAL headers, added support for 4 to 16 decoder of chip select signals, support for transfers larger than 2^16 and per device configurable delay between two transfers. * cdl/spi_at91.cdl: Added option to enable support for 4 to 16 decoder of chip select signals. 2004-08-27 Savin Zlobec * cdl/spi_at91.cdl: * include/spi_at91.h: * src/spi_at91.c: * src/spi_at91_init.cxx: Atmel AT91 SPI bus driver implementation. //=========================================================================== //####ECOSGPLCOPYRIGHTBEGIN#### // ------------------------------------------- // This file is part of eCos, the Embedded Configurable Operating System. // Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc. // // eCos 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. // // eCos 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 eCos; if not, write to the Free Software Foundation, Inc., // 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. // // As a special exception, if other files instantiate templates or use macros // or inline functions from this file, or you compile this file and link it // with other works to produce a work based on this file, this file does not // by itself cause the resulting work to be covered by the GNU General Public // License. However the source code for this file must still be made available // in accordance with section (3) of the GNU General Public License. // // This exception does not invalidate any other reasons why a work based on // this file might be covered by the GNU General Public License. // // ------------------------------------------- //####ECOSGPLCOPYRIGHTEND#### //===========================================================================