summaryrefslogtreecommitdiff
path: root/drivers
Commit message (Collapse)AuthorAgeLines
* net: rtl8169: Add processing when OWNbit did't enable in rtl_recv()Nobuhiro Iwamatsu2008-03-08-0/+14
| | | | | | | | | | When rtl_recv() of rtl8169 is called, OWNbit of status register is not enable occasionally. rtl_recv() doesn't work normally when the driver doesn't do appropriate processing. This patch fix this problem. Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
* net: uec_phy: actually increment the timeout counterKim Phillips2008-03-07-1/+2
| | | | | | | | allow u-boot to recover (and, e.g., switch to another interface) in the case where a PHY does not report autonegotiation is complete within its two second timeout value. Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
* fix QE firmware uploading limitTimur Tabi2008-03-03-1/+1
| | | | | | | Fix a typo in qe_upload_firmware() that prevented uploading firmware on systems with more than one RISC core. Signed-off-by: Timur Tabi <timur@freescale.com>
* net: uec_phy: handle 88e1111 rev.B2 erratum 5.6Kim Phillips2008-03-02-0/+8
| | | | | | | | | | erratum 5.6 states the autoneg completion bit is functional only if the autoneg bit is asserted. This fixes any secondarily-issued networking commands on non-gigabit links on the mpc8360 mds board. Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
* LM75 bug fix for negative temperaturesLarry Johnson2008-02-22-1/+7
| | | | | | | | When the LM75 temperature sensor measures a temperature below 0 C, the current driver does not perform sign extension, so the result returned is 256 C too high. This patch fixes the problem. Signed-off-by: Larry Johnson <lrj@acm.org>
* Merge branch 'master' of git://www.denx.de/git/u-boot-cfi-flashWolfgang Denk2008-02-22-1/+6
|\
| * CFI: Do not use uninitialized cmd_resetMichael Schwingen2008-02-21-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Do not use uninitialized cmd_reset; issue both AMD and Intel reset commands instead From a short test, it looks like AMD-style flash roms treat *any* unknown command write as a reset, at least when in CFI Query mode, so issuing the Intel reset command to AMD-style flashs seems safe (from the small sample I have), plus the 3-cycle magic sequence should kick the state machine into the right state even without a reset command. Since the AMD-style flashs require the unlock sequence for real operation, I chose to try the AMD reset command first, so that Intel flashs do no see an invalid command prior to the CFI query. I have tested the patch on AM29LV320-style flashs from Fujitsu and Macronix, plus Intel StrataFlash. Signed-off-by: Michael Schwingen <michael@schwingen.org> Signed-off-by: Stefan Roese <sr@denx.de>
* | uli526x: Fix multiple differ in signedness and parentheses around comparisonJean-Christophe PLAGNIOL-VILLARD2008-02-22-5/+5
|/ | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* Merge branch 'master' of git://www.denx.de/git/u-boot-armWolfgang Denk2008-02-16-15/+35
|\
| * Merge branch '080116_at91cap9' of git://linux-arm.org/u-boot-armdevPeter Pearse2008-02-15-15/+35
| |\
| | * AT91CAP9 support : MACB changesStelian Pop2008-02-14-0/+14
| | | | | | | | | | | | | | | Signed-off-by: Stelian Pop <stelian <at> popies.net> Acked-by: Haavard Skinnemoen <hskinnemoen <at> atmel.com>
| | * AT91CAP9 support : build integrationStelian Pop2008-02-14-2/+3
| | | | | | | | | | | | Signed-off-by: Stelian Pop <stelian@popies.net>
| | * Improve DataFlash CS definition.Stelian Pop2008-02-14-13/+18
| | | | | | | | | | | | | | | | | | | | | Use a structure instead of the error prone unnamed array to define the possible dataflash banks. Signed-off-by: Stelian Pop <stelian@popies.net>
* | | Wipe out assembler warnings while compiling x86 biosemuAnatolij Gustschin2008-02-16-10/+20
|/ / | | | | | | | | | | | | | | This patch tries to get rid of some assembler warnings about changed .got2 section type while compiling x86 bios emulator code. Signed-off-by: Anatolij Gustschin <agust@denx.de>
* | Add Radeon Mobility 9200 pci device id to the radeon driverAnatolij Gustschin2008-02-15-0/+3
| | | | | | | | | | | | | | | | This patch extends PCI device id table of the radeon driver so that the driver will also support Radeon Mobility 9200 (M9+) based boards. Signed-off-by: Anatolij Gustschin <agust@denx.de>
* | Extend ATI Radeon driver to support more video modesAnatolij Gustschin2008-02-15-15/+304
| | | | | | | | | | | | | | Adds ATI Radeon 9200 support for 1280x1024, 1024x768, 800x600, 640x480 at 24, 16 and 8 bpp. Signed-off-by: Anatolij Gustschin <agust@denx.de>
* | Merge branch 'master' of git://www.denx.de/git/u-boot-mpc86xxWolfgang Denk2008-02-15-0/+19
|\ \ | | | | | | | | | | | | | | | | | | | | | Conflicts: common/cmd_reginfo.c Signed-off-by: Wolfgang Denk <wd@denx.de>
| * \ Merge commit 'wd/master'Jon Loeliger2008-02-14-32/+16
| |\ \ | | |/
| * | Merge commit 'wd/master'Jon Loeliger2008-02-13-7/+107
| |\ \
| * | | 86xx: Add print_laws function to fsl_law.cBecky Bruce2008-01-24-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This can be used for debug, and will be used by board code to help implement reginfo. Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
* | | | Merge branch 'master' of git://www.denx.de/git/u-boot-blackfinWolfgang Denk2008-02-15-144/+118
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Makefile doc/README.standalone Signed-off-by: Wolfgang Denk <wd@denx.de>
| * | | | rewrite/cleanup Blackfin RTC driverMike Frysinger2008-02-04-158/+118
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
| * | | | punt Blackfin VDSP headers and import sanitized/auto-generated onesMike Frysinger2008-02-04-1/+15
| |/ / / | | | | | | | | | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* | | | Use #ifdef CONFIG_FSLDMAFECVlad Lungu2008-02-14-0/+6
| |_|/ |/| | | | | | | | | | | | | | | | | MCD_tasks.c lacks [subject] so compilation of mips targets (and more, probably) fails Signed-off-by: Vlad Lungu <vlad@comsys.ro>
* | | Fix remaining CONFIG_COMMANDSJean-Christophe PLAGNIOL-VILLARD2008-02-14-25/+15
| | | | | | | | | | | | | | | | | | | | | update comments Fix coding style Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* | | Remove duplicate defines for ARRAY_SIZEKumar Gala2008-02-14-6/+0
| | | | | | | | | | | | Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* | | Fix incorrect address test in AT91F_DataflashSelect().Stelian Pop2008-02-14-1/+1
| |/ |/| | | | | Signed-off-by: Stelian Pop <stelian@popies.net>
* | Merge branch 'master' of /home/wd/git/u-boot/custodiansWolfgang Denk2008-02-12-2/+2
|\ \
| * | Fix conditional compilation of mpx8xxx_spi driverBen Warren2008-01-29-2/+2
| |/ | | | | | | | | | | | | This driver should only compile if CONFIG_MPC8XXX_SPI is set Signed-off-by: Ben Warren <biggerbadderben@gmail.com> Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
* | QE: Move FDT support into a common fileKumar Gala2008-02-12-1/+93
| | | | | | | | | | | | | | Move the flat device tree setup for QE related devices into a common file shared between 83xx & 85xx platforms that have QE's. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* | OMAP5912: fix FIFO handling in UART driverWolfgang Denk2008-02-05-4/+12
|/ | | | | | | | | | | | According to the OMAP5912 Serial Interfaces Reference Guide (see http://focus.ti.com/lit/ug/spru760c/spru760c.pdf, page 150), the FIFO_EN enable bit in the FIFO Control Register (FCR) can only be changed when the baud clock is not running, i. e. when both DLL and DLH are set to 0. Thus make sure that DLL and DLH are 0 when writing the FCR. Signed-off-by: Wolfgang Denk <wd@denx.de>
* Merge ../custodiansWolfgang Denk2008-01-23-18/+14
|\
| * Merge branch 'master' of git://www.denx.de/git/u-boot-shWolfgang Denk2008-01-23-18/+14
| |\
| | * sh: Update SuperH SCIF driverNobuhiro Iwamatsu2008-01-17-18/+14
| | | | | | | | | | | | | | | | | | | | | This patch fixed wrong SH7720 CPU macro and changed macro that calculated value of SCBRR register. Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
* | | Coding Style Cleanup; update CHANGELOGWolfgang Denk2008-01-23-1/+0
|/ / | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* | Merge branch 'master' of git://www.denx.de/git/u-boot-coldfireWolfgang Denk2008-01-23-0/+4319
|\ \
| * | ColdFire: Add MCF547x_8x FEC driverTsiChungLiew2008-01-17-0/+572
| | | | | | | | | | | | | | | | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com> Signed-off-by: Ben Warren <biggerbadderben@gmail.com> Signed-off by: John Rigby <jrigby@freescale.com>
| * | ColdFire: Add MCF547x_8x dma code and header filesTsiChungLiew2008-01-17-0/+293
| | | | | | | | | | | | | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com> Signed-off by: John Rigby <jrigby@freescale.com>
| * | ColdFire: Add MCF547x_8x dma code - 2TsiChungLiew2008-01-17-0/+1026
| | | | | | | | | | | | | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com> Signed-off by: John Rigby <jrigby@freescale.com>
| * | ColdFire: Add MCF547x_8x dma code - 1TsiChungLiew2008-01-17-0/+2428
| | | | | | | | | | | | | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com> Signed-off by: John Rigby <jrigby@freescale.com>
* | | Merge branch 'master' of git://www.denx.de/git/u-boot-netWolfgang Denk2008-01-23-82/+239
|\ \ \
| * | | drivers/net/rtl8139.c: rx_status should be le32_to_cpu(rx_status).Shinya Kuribayashi2008-01-16-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rx_status on the memory is basically in LE, but needs to be handled in CPU endian. le32_to_cpu() takes up this mission. Even if on the sane hardware, it'll work fine. Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi@necel.com> Cc: Masami Komiya <mkomiya@sonare.it> Cc: Lucas Jin <lucasjin@gmail.com> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
| * | | drivers/net/rtl8139.c: Fix cache coherency issuesShinya Kuribayashi2008-01-16-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Current driver is meant for cache coherent systems. This patch adds flush_cache() routines to support cache non-coherent systems. Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi@necel.com> Cc: Masami Komiya <mkomiya@sonare.it> Cc: Lucas Jin <lucasjin@gmail.com> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
| * | | drivers/net/rtl8139.c: Fix tx timeoutShinya Kuribayashi2008-01-16-10/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "to = (currticks() + RTL_TIMEOUT)" has possibilities to wrap around. If it does, the condition "(currticks() < to)" becomes invalid and immediately leads to tx timeout error. This patch introduces the fine-graded udely(10) loops to ease the impact of wrapping around. Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi@necel.com> Cc: Masami Komiya <mkomiya@sonare.it> Cc: Lucas Jin <lucasjin@gmail.com> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
| * | | TSEC: Add the support for RealTek RTL8211B PHYDave Liu2008-01-16-0/+93
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the support of RealTek RTL8211B PHY, the RTL8211B PHY only supports RGMII and MII mode. Signed-off-by: Dave Liu <daveliu@freescale.com> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
| * | | Remove annoying debug printout for PHY less boards.Joakim Tjernlund2008-01-16-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHY less board prints out lots of "read wrong ...": read wrong value : mii_id 3,mii_reg 2, base e0102320 read wrong value : mii_id 3,mii_reg 3, base e0102320 UEC: PHY is Generic MII (ffffffff) read wrong value : mii_id 3,mii_reg 4, base e0102320 read wrong value : mii_id 3,mii_reg 0, base e0102320 read wrong value : mii_id 3,mii_reg 1, base e0102320 read wrong value : mii_id 3,mii_reg 1, base e0102320 read wrong value : mii_id 3,mii_reg 5, base e0102320 read wrong value : mii_id 3,mii_reg 1, base e0102320 read wrong value : mii_id 3,mii_reg 1, base e0102320 read wrong value : mii_id 3,mii_reg 5, base e0102320 FSL UEC0: Full Duplex FSL UEC0: Speed 100BT FSL UEC0: Link is up Using FSL UEC0 device Make this printout depend on UEC_VERBOSE_DEBUG and remove its definition in uec_phy.c Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
| * | | net: reduce boot latency on QE UEC based boardsKim Phillips2008-01-16-48/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | actually polling for PHY autonegotiation to finish enables us to remove the 5 second boot prompt latency present on QE based boards. call to qe_set_mii_clk_src in init_phy, and mv call to init_phy from uec_initialize to uec_init by Joakim Tjernlund; autonegotiation wait code shamelessly stolen from tsec driver. also rm unused CONFIG_RMII_MODE code. Signed-off-by: Kim Phillips <kim.phillips@freescale.com> Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
| * | | TSEC driver: Change MDIO support to allow access to any PHYs on the MDIO busmichael.firth@bt.com2008-01-16-20/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current TSEC driver limits MDIO access to the devices that have been configured as attached to a TSEC MAC. This patch allows access to any PHY device on the MDIO bus through the 'mii' commands. Signed-off-by: Michael Firth <michael.firth@bt.com> Acked-by: Andy Fleming <afleming@freescale.com> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
| * | | QE UEC: Extend number of supported UECs to 4David Saada2008-01-15-1/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch extends the number of supported UECs to 4. Note that the problem of QE thread resources exhaustion is resolved by setting the correct number of QE threads according to Ethernet type (GBE or FE). Signed-off-by: David Saada <david.saada@ecitele.com> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
* | | | Merge branch 'master' of git://www.denx.de/git/u-boot-mpc85xxWolfgang Denk2008-01-23-0/+71
|\ \ \ \