summaryrefslogtreecommitdiff
path: root/drivers
Commit message (Collapse)AuthorAgeLines
* NE2000: Fix regresssion introduced by e710185aae90 on non AX88796Jean-Christophe PLAGNIOL-VILLARD2008-04-28-227/+252
| | | | | | | | | Move non-inlied functions into specific drivers file Set get_prom as weak Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Vlad Lungu <vlad@comsys.ro> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
* minor cs8900 driver clean upGuennadi Liakhovetski2008-04-28-9/+7
| | | | | | | | Remove a redundant register definition, clean up some coding style violations. Signed-off-by: Guennadi Liakhovetski <lg@denx.de> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
* rtl8169: fix compiler warningsGuennadi Liakhovetski2008-04-28-5/+5
| | | | | | Fix multiple compiler warnings related to argument type mismatch. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
* pcnet.c: fix a merge issueWolfgang Denk2008-04-28-54/+0
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* cfi-flash: Add CFG_FLASH_AUTOPROTECT_LISTMatthias Fuchs2008-04-25-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | This patch adds a configurable flash auto protection list that can be used to make U-Boot protect flash regions in flash_init(). The idea has been discussed on the u-boot mailing list starting on Nov 18th, 2007. Even this patch brings a new feature it is used as a bugfix for 4xx platforms where flash_init() does not completely protect the monitor's flash range in all situations. U-Boot protects the flash range from CFG_MONITOR_BASE to (CFG_MONITOR_BASE + monitor_flash_len - 1) by default. This does not include the reset vector at 0xfffffffc. Example: #define CFG_FLASH_AUTOPROTECT_LIST {{0xfff80000, 0x80000}} This config option will auto protect the last 512k of flash that contains the bootloader on board like APC405 and PMC405. Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
* Merge branch 'master' of git://www.denx.de/git/u-boot-nand-flashWolfgang Denk2008-04-25-9/+8
|\
| * PATCH - Fix oob data copied into supplied bufferTroy Kisky2008-04-21-9/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | This patch correctly sets the oobavail variable and fixes a bug where the oob data was not valid when there where multiple groups in oobfree. First segment fixes a typo Second segment fixes a bug where oob data may be copied incorrectly. Third segment adds an error message when exiting due to write protect. Forth segment fixes a bug where oobavail may be set incorrectly. Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
* | NE2000: coding style cleanupJean-Christophe PLAGNIOL-VILLARD2008-04-25-319/+348
| | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* | Fixed pcnet io_baseVlad Lungu2008-04-24-0/+55
| | | | | | | | | | | | Bus and phys address are not always the same Signed-off-by: Vlad Lungu <vlad@comsys.ro>
* | drivers/net/pcnet.c: Coding Style cleanup.Wolfgang Denk2008-04-24-360/+370
| | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* | Added Am79C970A chip id to pcnetVlad Lungu2008-04-24-0/+3
| | | | | | | | Signed-off-by: Vlad Lungu <vlad@comsys.ro>
* | fsl_pci: Only modify registers if we have themKumar Gala2008-04-24-1/+2
| | | | | | | | | | | | pme_msg_det exists only on PCIe controllers only set it if we are a "bridge". Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* | Merge branch 'master' of git://www.denx.de/git/u-boot-videoWolfgang Denk2008-04-24-0/+5
|\ \
| * | video: Add missing free for logo memoryMatthias Fuchs2008-04-21-0/+5
| |/ | | | | | | | | | | This patch adds two missing free()s. Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
* | USB: remove a cpu bug workaround for an unsupported architecture.Markus Klotzbücher2008-04-24-18/+4
| | | | | | | | Signed-off-by: Markus Klotzbuecher <mk@denx.de>
* | USB: fix those pesky aliasing warnings issued by gcc-4.2Markus Klotzbücher2008-04-24-4/+4
|/ | | | | Signed-off-by: Markus Klotzbuecher <mk@denx.de> Signed-off-by: Detlev Zundel <dzu@denx.de>
* RTC driver for MC13783Guennadi Liakhovetski2008-04-18-0/+83
| | | | | | | MC13783 is a multifunction IS with an SPI interface to the host. This driver handles the RTC controller in this chip. Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
* New i.MX31 SPI driverGuennadi Liakhovetski2008-04-18-0/+167
| | | | | | | | | This is an SPI driver for i.MX and MXC based SoCs from Freescale. So far only implemented and tested on i.MX31, can with a modified register layout and definitions be used for i.MX27, I think, MXC CPUs have similar SPI controllers too. Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
* Merge branch 'master' of git://www.denx.de/git/u-boot-netWolfgang Denk2008-04-18-0/+687
|\
| * Clean up smsc911x driverGuennadi Liakhovetski2008-04-15-349/+368
| | | | | | | | | | | | | | | | | | Replace direct register address derefencing with accessor functions. Restrict explicitly 32-bit bus-width, extend affected configurations respectively. Signed-off-by: Guennadi Liakhovetski <lg@denx.de> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
| * This patch adds a driver for the following smsc network controllers:Sascha Hauer2008-04-15-0/+668
| | | | | | | | | | | | | | | | | | | | | | | | | | LAN9115 LAN9116 LAN9117 LAN9215 LAN9216 LAN9217 Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Guennadi Liakhovetski<lg@denx.de> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
* | Clean up dataflash partitioningUlf Samuelsson2008-04-18-42/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch removes the board dependent parts from "drivers/mtd/dataflash.c". Each board relying on this, will have the appropriate code in a new file, "partition.c" in the board directory. board Makefiles updated to use the file. The dataflash partitions are aligned on sector/page boundaries. The CONFIG_NEW_DF_PARTITION was used to create named partitions This is now the default operation, and the CONFIG variable is removed. Signed-off-by: Ulf Samuelsson <ulf@atmel.com>
* | Remove conflicting NAND IDMike Frysinger2008-04-17-2/+0
| | | | | | | | | | | | | | | | | | | | | | There are two NAND entries with ID 0xDC and this obviously causes problems. In the kernel, they punted the first entry, so we should do the same. See this upstream e-mail for more info: http://lists.infradead.org/pipermail/linux-mtd/2007-July/018795.html Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* | ds174x: Fix warning on return in rtc_get and rtc_set functionsJean-Christophe PLAGNIOL-VILLARD2008-04-17-2/+1
| | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* | Remove duplicate #undef SHOW_INFO in drivers/usb/usb_ohci.cGururaja Hebbar K R2008-04-17-1/+0
| | | | | | | | Signed-off-by: gururaja hebbar <gururajakr@sanyo.co.in>
* | s3c4510b_eth: fix 'packed' attribute ignored for fields of MACFrameJean-Christophe PLAGNIOL-VILLARD2008-04-17-8/+8
|/ | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* ata: update the libata.h from ata.h of linux kernelDave Liu2008-04-13-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-13-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-13-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-13-18/+18
| | | | Signed-off-by: Dave Liu <daveliu@freescale.com>
* drivers: clean up the ata_piix.hDave Liu2008-04-13-11/+15
| | | | Signed-off-by: Dave Liu <daveliu@freescale.com>
* Fix warnings introduced by I2C bus speed setting patchKumar Gala2008-04-13-4/+3
| | | | Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* add an i2c driver for mx31Sascha Hauer2008-04-13-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-13-77/+76
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* Merge branch 'master' of /home/wd/git/u-boot/custodiansWolfgang Denk2008-04-13-30/+831
|\
| * Merge branch 'master' of git://www.denx.de/git/u-boot-cfi-flashWolfgang Denk2008-04-13-30/+16
| |\
| | * cfi_flash: Support buffered writes on non-standard Spansion NOR flashGuennadi Liakhovetski2008-04-12-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-13-0/+815
| |\ \ | | |/ | |/|
| | * microblaze: Add Emaclite driver to MakefileMichal Simek2008-04-08-0/+1
| | | | | | | | | | | | Signed-off-by: Michal Simek <monstr@monstr.eu>
| | * microblaze: Add Emac driver to MakefileMichal Simek2008-04-08-0/+1
| | | | | | | | | | | | Signed-off-by: Michal Simek <monstr@monstr.eu>
| | * microblaze: add Emac ethernet driverMichal Simek2008-04-08-0/+462
| | |
| | * microblaze: add Emaclite ethernet driverMichal Simek2008-04-08-0/+351
| | |
* | | LM73 bug fix for negative temperatures and cleanupLarry Johnson2008-04-13-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-11-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-08-66/+29
|\
| * dataflash: Move CONFIG_HAS_DATAFLASH to MakefileJean-Christophe PLAGNIOL-VILLARD2008-04-01-7/+4
| | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * Add support for AT91SAM9260EKStelian Pop2008-04-01-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-01-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-08-15/+966
|\ \
| * | Add Vitesse 8601 support to TSEC driverTor Krill2008-03-31-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>