summaryrefslogtreecommitdiffstats
path: root/drivers
Commit message (Collapse)AuthorAgeFilesLines
* ata: update the libata.h from ata.h of linux kernelDave Liu2008-04-131-7/+7
| | | | | | | | Current libata.h of u-boot is out of sync from linux kernel, this patch make it be consistent with linux kernel. Signed-off-by: Dave Liu <daveliu@freescale.com> Signed-off-by: Tor Krill <tor@excito.com>
* Fix OneNAND readKyungmin Park2008-04-131-0/+13
| | | | | | | | It should access with 16-bit instead of 8-bit Now it uses the generic memcpy with 8-bit access. It means it reads wrong data from OneNAND. Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
* Update CONFIG_PCIAUTO_SKIP_HOST_BRIDGE to related boardsTsiChung Liew2008-04-131-1/+1
| | | | | | | Remove test for CONFIG_MPC5200 in drivers/pci/pci_auto.c and define CONFIG_PCIAUTO_SKIP_HOST_BRIDGE in related board configuration files. Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
* drivers: code clean upDave Liu2008-04-131-18/+18
| | | | Signed-off-by: Dave Liu <daveliu@freescale.com>
* drivers: clean up the ata_piix.hDave Liu2008-04-131-11/+15
| | | | Signed-off-by: Dave Liu <daveliu@freescale.com>
* Fix warnings introduced by I2C bus speed setting patchKumar Gala2008-04-131-4/+3
| | | | Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* add an i2c driver for mx31Sascha Hauer2008-04-132-0/+203
| | | | | | | This patch adds an i2c driver for Freescale i.MX processors Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
* Coding Style cleanup; update CHANGELOGWolfgang Denk2008-04-131-77/+76
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* Merge branch 'master' of /home/wd/git/u-boot/custodiansWolfgang Denk2008-04-134-30/+831
|\
| * Merge branch 'master' of git://www.denx.de/git/u-boot-cfi-flashWolfgang Denk2008-04-131-30/+16
| |\
| | * cfi_flash: Support buffered writes on non-standard Spansion NOR flashGuennadi Liakhovetski2008-04-121-30/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some NOR flash chip from Spansion, for example, the s29ws-n MirrorBit series require different addresses for buffered write commands. Define a configuration option to support buffered writes on those chips. A more elegant solution would be to automatically detect those chips by parsing their CFI records, but that would require introduction of a fixup table into the cfi_flash driver. Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
| * | Merge branch 'master' of git://www.denx.de/git/u-boot-microblazeWolfgang Denk2008-04-133-0/+815
| |\ \ | | |/ | |/|
| | * microblaze: Add Emaclite driver to MakefileMichal Simek2008-04-081-0/+1
| | | | | | | | | | | | Signed-off-by: Michal Simek <monstr@monstr.eu>
| | * microblaze: Add Emac driver to MakefileMichal Simek2008-04-081-0/+1
| | | | | | | | | | | | Signed-off-by: Michal Simek <monstr@monstr.eu>
| | * microblaze: add Emac ethernet driverMichal Simek2008-04-081-0/+462
| | |
| | * microblaze: add Emaclite ethernet driverMichal Simek2008-04-081-0/+351
| | |
* | | LM73 bug fix for negative temperatures and cleanupLarry Johnson2008-04-131-30/+30
|/ / | | | | | | | | | | | | | | | | When the LM73 temperature sensor measures a temperature below 0 C, the current driver does not perform sign extension, so the result returned is 512 C too high. This patch fixes the problem, and does general cleanup of the code. Signed-off-by: Larry Johnson <lrj@acm.org>
* | Revert merge of git://www.denx.de/git/u-boot-arm, commit 62479b18:Wolfgang Denk2008-04-114-889/+0
|/ | | | | | | | | | | | | | | | | | | | | | Reverting became necessary after it turned out that the patches in the u-boot-arm repo were modified, and in some cases corrupted. This reverts the following commits: 066bebd6353e33af3adefc3404560871699e9961 7a837b7310166ae8fc8b8d66d7ef01b60a80f9d6 c88ae20580b2b01487b4cdcc8b2a113f551aee36 a147e56f03871bba4f05058d5e04ce7deb010b04 d6674e0e2a6a1f033945f78838566210d3f28c95 8c8463cce44d849e37744749b32d38e1dfb12e50 c98b47ad24b2d91f41c09a3d62d7f70ad84f4b7d 8bf69d81782619187933a605f1a95ee1d069478d 8c16cb0d3b971f46fbe77c072664c0f2dcd4471d a574a73852a527779234e73e17e7597fd8128882 1377b5583a48021d983e1fd565f7d40c89e84d63 1704dc20917b4f71e373e2c888497ee666d40380 Signed-off-by: Wolfgang Denk <wd@denx.de>
* Merge branch 'master' of git://www.denx.de/git/u-boot-at91Wolfgang Denk2008-04-083-66/+29
|\
| * dataflash: Move CONFIG_HAS_DATAFLASH to MakefileJean-Christophe PLAGNIOL-VILLARD2008-04-012-7/+4
| | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * Add support for AT91SAM9260EKStelian Pop2008-04-011-2/+2
| | | | | | | | | | | | | | Support for booting from internal DataFlash, external DataFlash card or NAND flash is available. Signed-off-by: Stelian Pop <stelian@popies.net>
| * Cleanup DataFlash partition handlingStelian Pop2008-04-011-57/+23
| | | | | | | | | | | | | | | | DataFlash partition information has become a mess. This patch defines a single partition scheme for Atmel DataFlashes. This partition scheme will be used by all AT91CAP9 and AT91SAM9 boards. Signed-off-by: Stelian Pop <stelian@popies.net>
* | Merge branch 'master' of git://www.denx.de/git/u-boot-netWolfgang Denk2008-04-089-15/+966
|\ \
| * | Add Vitesse 8601 support to TSEC driverTor Krill2008-03-312-0/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add phy_info for Vitesse VSC8601. Add config option, CFG_VSC8601_SKEWFIX, to enable RGMII skew timing compensation. Signed-off-by: Tor Krill <tor@excito.com> Reviewed-by: Kim Phillips <kim.phillips@freescale.com> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
| * | SPARC: added SMC91111 driver in and out macros for LEON processors.Daniel Hellstrom2008-03-311-2/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch makes SPARC/LEON processors able to read and write to the SMC91111 chip using the chip external I/O bus of the memory controller. This patchs defines the standard in and out macros expected by the SMC9111 driver. To access that I/O bus one must set up the memory controller (MCTRL or FTMCTRL) correctly. It is assumed that the user sets up this correctly when the other MCTRL parameters are set up. It can be set up from the board configuration header file. Signed-off-by: Daniel Hellstrom <daniel@gaisler.com> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
| * | new PHY @ e1000 - 2nd tryAndre Schwarz2008-03-302-13/+94
| | | | | | | | | | | | | | | | | | | | | | | | Add 82541ER device with latest integrated IGP2 PHY. Introduced CONFIG_E1000_FALLBACK_MAC for NIC bring-up with empty eeprom. Signed-off-by: Andre Schwarz <andre.schwarz@matrix-vision.de> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
| * | SPARC/LEON3: Added GRETH Ethernet 10/100/1000 driver.Daniel Hellstrom2008-03-303-0/+759
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GRETH is an Ethernet 10/100 or 10/100/1000 MAC with out without a debug link (EDCL). The GRETH core is documented in GRIP.pdf available at www.gaisler.com. If the GRETH has GigaBit support (GBIT, Scatter gather, checksum offloading etc.) can be determined by a bit in the control register. The GBIT MAC is supported by operating in GRTEH 10/100 legacy mode. Signed-off-by: Daniel Hellstrom <daniel@gaisler.com> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
| * | ColdFire: Fix FEC transmit issue for MCF5275Tsi-Chung Liew2008-03-301-0/+7
| |/ | | | | | | | | Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
* | Merge branch 'master' of git://www.denx.de/git/u-boot-armWolfgang Denk2008-04-084-0/+889
|\ \
| * | add SMSC LAN9x1x Network driverSascha Hauer2008-03-302-0/+681
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds a driver for the following smsc network controllers: LAN9115 LAN9116 LAN9117 LAN9215 LAN9216 LAN9217 Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
| * | add an i2c driver for mx31Sascha Hauer2008-03-302-0/+208
| |/ | | | | | | | | | | | | This patch adds an i2c driver for Freescale i.MX processors Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
* | Merge branch 'master' of git://www.denx.de/git/u-boot-shWolfgang Denk2008-04-085-32/+423
|\ \
| * | sh: Removed warning when compiling drivers/serial/serial_sh.c.Mark Jonas2008-03-281-5/+0
| | | | | | | | | | | | | | | Signed-off-by: Mark Jonas <mark.jonas@de.bosch.com> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
| * | sh: Add support PCI host driver for SH7751/SH7751RNobuhiro Iwamatsu2008-03-282-0/+200
| | | | | | | | | | | | Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
| * | sh: Move SuperH PCI driver from cpu/sh4 to drivers/pciNobuhiro Iwamatsu2008-03-283-0/+185
| | | | | | | | | | | | Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
| * | sh: Add support SuperH SH7751/SH7751RNobuhiro Iwamatsu2008-03-281-0/+1
| | | | | | | | | | | | Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
| * | sh: Fix receive FIFO level register of SH4ANobuhiro Iwamatsu2008-03-281-22/+30
| | | | | | | | | | | | | | | | | | | | | Receive FIFO level register is different in SH4A. Because register is different, cannot occasionally receive data. Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
| * | sh: Add support SH7780Yusuke Goda2008-03-281-6/+8
| |/ | | | | | | | | | | | | | | | | | | | | | | SH7780 is CPU of Renesas Technology. This CPU has - CPU clock 400MHz - PCI support - DDR-SDRAM controller - etc ... Signed-off-by: Yusuke Goda <goda.yusuke@renesas.com> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
* | MTD/CFI: flash_read64 is defined a weak function (for SPARC)Daniel Hellstrom2008-03-291-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SPARC has implemented __raw_readq, it reads 64-bit from any 32-bit address. SPARC CPUs implement flash_read64 which calls __raw_readq. For current SPARC architectures (LEON2 and LEON3) each read from the FLASH must lead to a cache miss. This is because FLASH can not be set non-cacheable since program code resides there, and alternatively disabling cache is poor from performance view, or doing a cache flush between each read is even poorer. Forcing a cache miss on a SPARC is done by a special instruction "lda" - load alternative space, the alternative space number (ASI) is processor implementation spcific and can be found by including <asm/processor.h>. Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
* | MTD/CFI: Add support for 16bit legacy AMD flashTor Krill2008-03-282-9/+54
|/ | | | | | | | Add entry for 512Kx16 AMD flash to jedec_table. Read out 16bit device id if chipwidth is 16bit. Fixed coding style after Stefans feedback Signed-off-by: Tor Krill <tor@excito.com>
* Add support for setting the I2C bus speed in fsl_i2c.cTimur Tabi2008-03-271-9/+105
| | | | | | | | | | Add support to the Freescale I2C driver (fsl_i2c.c) for setting and querying the I2C bus speed. Current 8[356]xx boards define the CFG_I2C_SPEED macro, but fsl_i2c.c ignores it and uses conservative value when programming the I2C bus speed. Signed-off-by: Timur Tabi <timur@freescale.com> Acked-by: Andy Fleming <afleming@freescale.com>
* Coding style cleanup, update CHANGELOGWolfgang Denk2008-03-271-4/+4
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* drivers: add the support for Freescale SATA controllerDave Liu2008-03-263-0/+1291
| | | | | | | | | | | | | | Add the Freescale on-chip SATA controller driver to u-boot, The SATA controller is used on the 837x and 8315 targets, The driver can be used to load kernel, fs and dtb. The features list: - 1.5/3 Gbps link speed - LBA48, LBA28 support - DMA and FPDMA support - Two ports support Signed-off-by: Dave Liu <daveliu@freescale.com>
* ata: add the libata supportDave Liu2008-03-262-0/+159
| | | | | | add simple libata support in u-boot Signed-off-by: Dave Liu <daveliu@freescale.com>
* ata: make the ata_piix driver using new SATA frameworkDave Liu2008-03-262-142/+14
| | | | | | | | | | | | | original ata_piix driver is using IDE framework, not real SATA framework. For now, the ata_piix driver is only used by x86 sc520_cdp board. This patch makes the ata_piix driver use the new SATA framework, so - remove the duplicated command stuff - remove the CONFIG_CMD_IDE define in the sc520_cdp.h - add the CONFIG_CMD_SATA define to sc520_cdp.h Signed-off-by: Dave Liu <daveliu@freescale.com>
* ata: merge the header of ata_piix driverDave Liu2008-03-262-1/+93
| | | | | | move the sata.h from include/ to drivers/block/ata_piix.h Signed-off-by: Dave Liu <daveliu@freescale.com>
* ata: merge the ata_piix driverDave Liu2008-03-261-1/+671
| | | | | | | | move the cmd_sata.c from common/ to drivers/ata_piix.c, the cmd_sata.c have some part of ata_piix controller drivers. consolidate the driver to have better framework. Signed-off-by: Dave Liu <daveliu@freescale.com>
* Coding style cleanup.Wolfgang Denk2008-03-261-11/+11
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* Add CFG_RTC_DS1337_NOOSC to turn off OSC outputJoakim Tjernlund2008-03-261-2/+9
| | | | | | | | The default settings for RTC DS1337 keeps the OSC output, 32,768 Hz, on. This add CFG_RTC_DS1337_NOOSC to turn it off. Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
* Cleanup coding style, update CHANGELOGWolfgang Denk2008-03-261-3/+3
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
OpenPOWER on IntegriCloud