summaryrefslogtreecommitdiff
path: root/drivers
Commit message (Collapse)AuthorAgeLines
* Fix TSEC driver (now for real): avoid crashes if PHY is not attachedBen Warren2006-10-26-3/+6
| | | | | | | to a TSEC (e.g. a switch is connected via RMII) or if the PHY is defective/incorrectly configured. Signed-off-by: Ben Warren <bwarren@qstreams.com>
* Merge with /home/wd/git/u-boot/masterWolfgang Denk2006-10-24-1/+403
|\
| * Add common serial driver for Atmel AT32 and AT91 chipsWolfgang Denk2006-10-24-1/+403
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patch by Haavard Skinnemoen, 06 Sep 2006 This is a first attempt at creating a common serial driver for Atmel chips. For now, it supports the AT32AP7000 AVR32 chip, but it should be possible to support AT91RM9200 and other ARM-based chips with some minor modifications. There's nothing fundamentally AVR32-specific in this driver, but it does use some features which are currently only defined for the AT32AP CPU port: * pm_get_clock_freq: Obtain the clock frequency of a given domain * gd->console_uart: A "struct device" containing information about register mappings, gpio resources and clocks associated with the UART device. For more information about these features, please see the "AT32AP CPU" patch.
* | Merge with http://www.jdl.com/software/u-boot-86xx.gitWolfgang Denk2006-10-20-384/+1480
|\ \ | |/ |/|
| * Converted all 85xx boards to use a common FSL I2C driver.Jon Loeliger2006-10-20-3/+7
| | | | | | | | | | | | | | | | Introduced COFIG_FSL_I2C to select the common FSL I2C driver. And removed hard i2c path from a few u-boot.lds scipts too. Minor whitespace cleanups along the way. Signed-off-by: Jon Loeliger <jdl@freescale.com>
| * Rewrite a series of goto statements as a sequences ofJon Loeliger2006-10-19-31/+21
| | | | | | | | | | | | | | | | | | | | conditional expressions instead. Use consistent return code 0/-1 for good/bad indicators. Include one fewer file if the driver isn't used at all. Signed-off-by: Jon Loeliger <jdl@freescale.com>
| * Moved i2c driver out of cpu/mpc86xx/i2c.c into drivers/fsl_i2c.cJon Loeliger2006-10-19-1/+249
| | | | | | | | | | | | | | in an effort to begin to unify the umpteen FSL I2C drivers that are all otherwise very similar. Signed-off-by: Jon Loeliger <jdl@freescale.com>
| * Merge branch 'master' of http://www.denx.de/git/u-bootJon Loeliger2006-10-12-3/+3
| |\
| * | Remove unneeded include files and local variable.Jon Loeliger2006-10-12-3/+0
| | | | | | | | | | | | Signed-off-by: Jon Loeliger <jdl@freescale.com>
| * | Merge branch 'master' of http://www.denx.de/git/u-bootJon Loeliger2006-10-11-1/+870
| |\ \
| * \ \ Merge branch 'master' of http://www.denx.de/git/u-bootJon Loeliger2006-10-10-8/+7
| |\ \ \
| * | | | Ran lindent and cleaned up whitespace issues.Jon Loeliger2006-10-10-441/+455
| | | | | | | | | | | | | | | | | | | | Format for 80-columns too.
| * | | | Merge branch 'mpc85xx'Jon Loeliger2006-09-19-13/+77
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: drivers/tsec.c
| | * | | | Add support for eTSEC 3 & 4 on 8548 CDSAndy Fleming2006-09-19-10/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added support for using eTSEC 3 and eTSEC 4 on the 8548 CDS. This will only work on rev 1.3 boards (but doesn't break older boards) * Cleaned up some comments to reflect the expanded role of tsec in other systems
| * | | | | Merge branch 'master' of http://www.denx.de/git/u-bootJon Loeliger2006-09-19-29/+211
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: board/stxxtc/Makefile
| * \ \ \ \ \ Merge branch 'mpc86xx'Jon Loeliger2006-08-23-142/+138
| |\ \ \ \ \ \
| | * | | | | | Cleanup and lindent new AHCI driver.Jon Loeliger2006-08-23-142/+138
| | | | | | | |
| * | | | | | | Merge branch 'mpc86xx'Jon Loeliger2006-08-23-1/+707
| |\ \ \ \ \ \ \ | | |/ / / / / /
| | * | | | | | Add AHCI support to u-bootJin Zhengxiong2006-08-23-1/+707
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add AHCI support in u-boot, enable the sata disk controllers which following the AHCI protocol. Signed-off-by:Jason Jin<jason.jin@freescale.com>
| * | | | | | | Merge branch 'master' of http://www.denx.de/git/u-bootJon Loeliger2006-08-22-0/+3
| |\ \ \ \ \ \ \
| * \ \ \ \ \ \ \ Merge branch 'mpc85xx'Jon Loeliger2006-08-09-1/+1
| |\ \ \ \ \ \ \ \ | | | |_|_|/ / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: include/ft_build.h include/pci.h Resolved, though.
| | * | | | | | | * Made sure the code which disables prefetch for PCI devices sets the size ↵Matthew McClintock2006-08-09-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | of the prefetch region to 0 Patch by Andy Fleming on 17-Mar-2006 Signed-off-by: Andy Fleming <afleming@freescale.com>
| * | | | | | | | Merge branch 'wd'Jon Loeliger2006-08-09-12/+863
| |\ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ Merge branch 'mpc86xx'Jon Loeliger2006-06-28-1/+1
| |\ \ \ \ \ \ \ \ \ | | | |_|_|/ / / / / | | |/| | | | | | |
| | * | | | | | | | Change Id to symbolic name for RTL8139Jin Zhengxiong2006-06-28-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Jason Jin <Jason.jin@freescale.com>
| * | | | | | | | | Merge branch 'mpc86xx'Jon Loeliger2006-06-27-2/+4
| |\ \ \ \ \ \ \ \ \ | | |/ / / / / / / /
| | * | | | | | | | Fix RTL8139 in big endianJin Zhengxiong-R641882006-06-27-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | signed-off-by: Jason Jin <Jason.Jin@freescale.com> signed-off-by: Wei Zhang <wei.zhang@freescale.com>
| | * | | | | | | | Fix Tsec bug when no linkJin Zhengxiong-R641882006-06-27-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When tftp a non-exist file from the tftp server, u-boot will check the link of all eth port. The original file will return wrong link state on the no link ports. signed-off-by: Jason Jin <Jason.Jin@freescale.com>
| | * | | | | | | | Fix bug for io_bar size during pci scanJin Zhengxiong-R641882006-06-27-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During the pci scan process, Some devices return bar_reponse with the highest bytes 0, such as the pci bridge in uli1575 return bar_response with 0xffffff, So the bar_size should be manually set under 64K. Signed-off-by: Jason Jin <jason.jin@freescale.com>
| * | | | | | | | | Merge branch 'master' of http://www.denx.de/git/u-bootJon Loeliger2006-06-07-5/+1
| |\ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ Merge branch 'mpc86xx'Jon Loeliger2006-05-09-7/+82
| |\ \ \ \ \ \ \ \ \ \ | | | |/ / / / / / / / | | |/| | | | | | | |
| | * | | | | | | | | Revert bad PCI prefetch limit change.Jon Loeliger2006-04-27-1/+1
| | | | | | | | | | |
| | * | | | | | | | | Initial support for MPC8641 HPCN board.Jon Loeliger2006-04-26-8/+83
| | | | | | | | | | |
* | | | | | | | | | | Add board/cpu specific NAND chip select function to 440 NDFCStefan Roese2006-10-20-1/+8
| |_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Based on idea and implementation from Jeff Mann Patch by Stefan Roese, 20 Oct 2006
* | | | | | | | | | Fix spelling; minor code cleanup.Wolfgang Denk2006-10-12-3/+3
| |_|_|_|_|_|_|_|/ |/| | | | | | | |
* | | | | | | | | * Several improvements to the new NAND subsystem:Stefan Roese2006-10-10-1/+870
| |_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - JFFS2 related commands implemented in mtd-utils style - Support for bad blocks - Bad block testing commands - NAND lock commands Please take a look at doc/README.nand for more details Patch by Guido Classen, 10 Oct 2006
* | | | | | | | Move "ar" flags to config.mk to allow for silent "make -s"Wolfgang Denk2006-10-09-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Based on patch by Mike Frysinger, 20 Jun 2006
* | | | | | | | Coding style cleanupWolfgang Denk2006-10-09-4/+3
| |_|_|_|_|_|/ |/| | | | | |
* | | | | | | Merge with /home/m8/git/u-bootWolfgang Denk2006-09-04-29/+96
|\ \ \ \ \ \ \
| * | | | | | | Add support for a saving build objects in a separate directory.Marian Balakowicz2006-09-01-29/+96
| | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modifications are based on the linux kernel approach and support two use cases: 1) Add O= to the make command line 'make O=/tmp/build all' 2) Set environement variable BUILD_DIR to point to the desired location 'export BUILD_DIR=/tmp/build' 'make' The second approach can also be used with a MAKEALL script 'export BUILD_DIR=/tmp/build' './MAKEALL' Command line 'O=' setting overrides BUILD_DIR environent variable. When none of the above methods is used the local build is performed and the object files are placed in the source directory.
* | | | | | | Make the serial driver framework work with CONFIG_SERIAL_MULTI enabledWolfgang Denk2006-08-30-0/+115
|/ / / / / /
* | | | | | Fix drivers/dm9000.c when configured in 32 bit mode.Wolfgang Denk2006-08-14-0/+3
| |_|_|/ / |/| | | | | | | | | | | | | | Patch by Eric Benard, 17 Nov 2005
* | | | | Code cleanupWolfgang Denk2006-07-21-1/+1
| | | | |
* | | | | More code cleanupWolfgang Denk2006-07-21-4/+10
| | | | |
* | | | | Fix support for PS/2 keyboard on TQM85xx boardsWolfgang Denk2006-07-19-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The PS/2 keyobard driver for the TQM85xx modules only supports the internal DUART of the MPC85xx CPU. Since the MPC8560 doesn't include a DUART, the TQM8560 modules can't be used with the PS/2 keyboard controller on the STK85xx board. The PS/2 keyboard driver should work with the modules TQM8540, TQM8541 and TQM8555, but it only has been tested on a TQM8540, yet. Make sure the PS/2 controller on the STK85xx is programmed. Jumper settings: X66 1-2, 9-10; X61 2-3 Patch by Martin Krause, 21 Jun 2006
* | | | | Add support for TB5200 boardWolfgang Denk2006-07-19-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The TB5200 ("Tinybox") is a small baseboard for the TQM5200 module integrated in a little aluminium case. Patch by Martin Krause, 8 Jun 2006 Some code cleanup
* | | | | Major PCMCIA Cleanup to make code better readable and maintainable.Wolfgang Denk2006-07-10-2/+800
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Notes: - Board-dependend code for RPXLITE and RPXCLASSIC-based boards placed to the drivers/rpx_pmcia.c file to avoid duplication. Same for TQM8xx-based boards (drivers/tqm8xx_pmcia.c). - drivers/i82365.c has been split into two parts located at board/atc/ti113x.c and board/cpc45/pd67290.c (ATC and CPC45 are the only boards using CONFIG_82365). - Changes were tested for clean build and *very* *few* boards.
* | | | | Merge: Add support for AMCC 440SPe CPU based eval board (Yucca).Marian Balakowicz2006-06-30-1/+1
|\ \ \ \ \ | |_|_|_|/ |/| | | |
| * | | | Add support for AMCC 440SPe CPU based eval board (Yucca).Marian Balakowicz2006-06-30-1/+1
| | | | |
* | | | | Add support for wrPPMC7xx/74xx boardsHeiko Schocher2006-06-19-1/+1
| | | | | | | | | | | | | | | | | | | | Patch from Richard Danter, 12 Aug 2005