summaryrefslogtreecommitdiff
path: root/common/soft_i2c.c
Commit message (Collapse)AuthorAgeLines
* soft_i2c: Pull SDA high before readingHaavard Skinnemoen2008-06-03-0/+1
| | | | | | | | | | | | | Spotted by Dean Capindale. Systems that support open-drain GPIO properly are allowed provide an empty I2C_TRISTATE define. However, this means that we need to be careful not to drive SDA low when the slave is expected to respond. This patch adds a missing I2C_SDA(1) to read_byte() required to tristate the SDA line on systems that support open-drain GPIO. Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
* Add MACH_TYPE records for several AT91 boards.Peter Pearse2007-08-14-1/+1
| | | | | | | | | | | Merge to two at45.c files into a common file, split to at45.c and spi.c Fix spelling error in DM9161 PHY Support. Initialize at91rm9200 board (and set LED). Add PIO control for at91rm9200dk LEDs and Mux. Change dataflash partition boundaries to be compatible with Linux 2.6. Signed-off-by: Peter Pearse <peter.pearse@arm.com> Signed-off-by: Ulf Samuelsson <ulf@atmel.com>
* New board SMN42 branchPeter Pearse2007-05-09-0/+3
|
* * Update Intel IXP4xx supportWolfgang Denk2006-05-30-0/+3
| | | | | | | | | | | - Add IXP4xx NPE ethernet MAC support - Add support for Intel IXDPG425 board - Add support for Prodrive PDNB3 board - Add IRQ support Patch by Stefan Roese, 23 May 2006 [This patch does not include cpu/ixp/npe/IxNpeMicrocode.c which still sufferes from licensing issues. Blame Intel.]
* GCC-4.x fixes: clean up global data pointer initialization for all boards.Wolfgang Denk2006-03-31-1/+4
|
* Change the sequence of events in soft_i2c.c:send_ack() to keep fromWolfgang Denk2006-03-13-4/+1
| | | | | incorrectly generating start/stop conditions on the bus. Patch by Andrew Dyer, 26 Jul 2005
* Coding Style cleanupWolfgang Denk2006-03-12-1/+1
|
* Fix comment in common/soft_i2c.cWolfgang Denk2006-03-12-1/+4
| | | | Patches by Peter Korsgaard/Tolunay Orkun, 26 May 2005
* Cleanup for GCC-4.xWolfgang Denk2005-10-13-1/+1
|
* * Update for AT91RM9200DK and CMC_PU2 boards:wdenk2004-11-21-0/+4
| | | | | | | - Enable booting directly from flash - fix CMC_PU2 flash driver * Fix mkimage usage message
* * Code cleanup:wdenk2003-06-27-4/+4
| | | | | | | | | - remove trailing white space, trailing empty lines, C++ comments, etc. - split cmd_boot.c (separate cmd_bdinfo.c and cmd_load.c) * Patches by Kenneth Johansson, 25 Jun 2003: - major rework of command structure (work done mostly by Michal Cendrowski and Joakim Kristiansen)
* Prepare for 0.3.0 releasewdenk2003-04-08-8/+5
| | | | | | * Add support for Purple Board (MIPS64 5Kc) * Add support for MIPS64 5Kc CPUs
* * Use 1-byte-read instead of -write for iprobe() functionwdenk2002-12-17-1/+2
| | | | | | Add i2c commands to PM826 config * extend I2C POST code: check for list on known addresses
* Initial revisionwdenk2002-11-03-0/+416