summaryrefslogtreecommitdiffstats
path: root/drivers
Commit message (Collapse)AuthorAgeFilesLines
* smc91111: use SSYNC() rather than asm(ssync) for BlackfinMike Frysinger2008-03-251-2/+2
| | | | | | | | Since the "ssync" instruction may have hardware anomalies associated with it, have the smc91111 driver use the SSYNC macro rather than invoking it directly. We workaround all the anomalies via this macro. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* lwmon5 SYSMON POST: fix backlight controlYuri Tikhonov2008-03-251-1/+4
| | | | | | | | | | | | If the LWMON5 config has SYSMON POST among CONFIG_POSTs which may be run on the board, then the SYSMON POST controls the display backlight (doesn't switch backlight ON if POST FAILED, and does switch the backlight ON if PASSED). If not, then the video driver controls the display backlight (just switch ON the backlight upon initialization). Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
* Merge branch 'master' of /home/wd/git/u-boot/master/Wolfgang Denk2008-03-251-1/+39
|\
| * Merge branch 'master' of git://www.denx.de/git/u-boot-cfi-flashWolfgang Denk2008-03-231-1/+39
| |\
| | * CFI: Small cleanup for FLASH_SHOW_PROGRESSStefan Roese2008-03-191-13/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | With this patch we don't need that many #ifdef's in the code. It moves the subtraction into the macro and defines a NOP-macro when CONFIG_FLASH_SHOW_PROGRESS is not defined. Signed-off-by: Stefan Roese <sr@denx.de> Acked-by: Gerald Van Baren <vanbaren@cideas.com>
| | * Flash programming progress countdown.Jerry Van Baren2008-03-191-1/+43
| | | | | | | | | | | | Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
* | | pci: Add CONFIG_PCI_SKIP_HOST_BRIDGE config optionNobuhiro Iwamatsu2008-03-231-3/+10
|/ / | | | | | | | | | | | | | | | | | | | | | | In current source code, when the device number of PCI is 0, process PCI bridge without fail. However, when the device number is 0, it is not PCI always bridge. There are times when device of PCI allocates. When CONFIG_PCI_SKIP_HOST_BRIDGE is enable, this problem is solved when use this patch. Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Acked-by: Stefan Roese <sr@denx.de>
* | LWMON5: POST RTC fixYuri Tikhonov2008-03-2027-38/+116
|/ | | | | | | | | | | | | | | | | Modify the RTC API to provide one a status for the time reported by the rtc_get() function: 0 - a reliable time is guaranteed, < 0 - a reliable time isn't guaranteed (power fault, clock issues, and so on). The RTC chip drivers are responsible for providing this info if the corresponding chip supports such functionality. If not - always report that the time is reliable. The POST RTC test was modified to detect the RTC faults utilizing this new rtc_get() feature. Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
* Merge branch 'master' of git+ssh://10.10.0.7/home/wd/git/u-boot/masterWolfgang Denk2008-03-162-3/+171
|\ | | | | | | | | | | | | | | Conflicts: drivers/rtc/Makefile Signed-off-by: Wolfgang Denk <wd@denx.de>
| * drivers/rtc/Makefile: keep list sortedWolfgang Denk2008-03-161-5/+5
| | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
| * Add support for Intersil isl1208 RTCTor Krill2008-03-162-0/+167
| | | | | | | | Signed-off-by: Tor Krill <tor@excito.com>
* | usb: Add CFG_OHCI_USE_NPS to common USB-OHCI driverStefan Roese2008-03-151-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds CFG_OHCI_USE_NPS to the common USB-OHCI driver. This way a board just needs to define this new option to enable the "force NoPowerSwitching mode" instead of adding new CPU/architecture defines to the USB source itself. This new option will be used first with the new AMCC 460EX Canyonlands board port, which will be posted in a few days. This patch also fixes a small compilation problem when DEBUG is enabled. Signed-off-by: Stefan Roese <sr@denx.de>
* | rtc: Add M41T62 supportStefan Roese2008-03-152-0/+136
|/ | | | | | | This patch add support for the STM M41T62 RTC. It is used and tested on the AMCC Canyonlands 406EX platform. Signed-off-by: Stefan Roese <sr@denx.de>
* net: rtl8169: Add processing when OWNbit did't enable in rtl_recv()Nobuhiro Iwamatsu2008-03-081-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-071-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-031-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-021-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-221-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-221-1/+6
|\
| * CFI: Do not use uninitialized cmd_resetMichael Schwingen2008-02-211-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-221-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-163-15/+35
|\
| * Merge branch '080116_at91cap9' of git://linux-arm.org/u-boot-armdevPeter Pearse2008-02-153-15/+35
| |\
| | * AT91CAP9 support : MACB changesStelian Pop2008-02-142-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-141-2/+3
| | | | | | | | | | | | Signed-off-by: Stelian Pop <stelian@popies.net>
| | * Improve DataFlash CS definition.Stelian Pop2008-02-141-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-164-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-151-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-151-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-151-0/+19
|\ \ | | | | | | | | | | | | | | | | | | | | | Conflicts: common/cmd_reginfo.c Signed-off-by: Wolfgang Denk <wd@denx.de>
| * \ Merge commit 'wd/master'Jon Loeliger2008-02-148-32/+16
| |\ \ | | |/
| * | Merge commit 'wd/master'Jon Loeliger2008-02-135-7/+107
| |\ \
| * | | 86xx: Add print_laws function to fsl_law.cBecky Bruce2008-01-241-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-153-144/+118
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Makefile doc/README.standalone Signed-off-by: Wolfgang Denk <wd@denx.de>
| * | | | rewrite/cleanup Blackfin RTC driverMike Frysinger2008-02-043-158/+118
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
| * | | | punt Blackfin VDSP headers and import sanitized/auto-generated onesMike Frysinger2008-02-041-1/+15
| |/ / / | | | | | | | | | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* | | | Use #ifdef CONFIG_FSLDMAFECVlad Lungu2008-02-141-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-145-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-142-6/+0
| | | | | | | | | | | | Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* | | Fix incorrect address test in AT91F_DataflashSelect().Stelian Pop2008-02-141-1/+1
| |/ |/| | | | | Signed-off-by: Stelian Pop <stelian@popies.net>
* | Merge branch 'master' of /home/wd/git/u-boot/custodiansWolfgang Denk2008-02-121-2/+2
|\ \
| * | Fix conditional compilation of mpx8xxx_spi driverBen Warren2008-01-291-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-123-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-051-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-231-18/+14
|\
| * Merge branch 'master' of git://www.denx.de/git/u-boot-shWolfgang Denk2008-01-231-18/+14
| |\
| | * sh: Update SuperH SCIF driverNobuhiro Iwamatsu2008-01-171-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-231-1/+0
|/ / | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* | Merge branch 'master' of git://www.denx.de/git/u-boot-coldfireWolfgang Denk2008-01-236-0/+4319
|\ \
| * | ColdFire: Add MCF547x_8x FEC driverTsiChungLiew2008-01-172-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>
OpenPOWER on IntegriCloud