summaryrefslogtreecommitdiff
path: root/drivers
Commit message (Collapse)AuthorAgeLines
* Fix do_div() usage in nand process outputMatthias Fuchs2007-09-15-5/+16
| | | | | | | | | | Fix usage of do_div() in nand erase|read|write process output. The last patch to nand_util.c introduced do_div() instead of libgcc's implementation. But do_div() returns the quotient in its first macro parameter and not as result. Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
* Fix cases where DECLARE_GLOBAL_DATA_PTR was not declared as globalWolfgang Denk2007-09-15-6/+4
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* PXA270: Added support for TrizepsIV board.stefano babic2007-09-07-2/+14
| | | | | | This patch add support for the Trizeps IV module (520Mhz). Signed-off-by: Stefano Babic <sbabic@denx.de>
* Add BUILD_DIR support for bios emulator.Jason Jin2007-09-07-8/+15
| | | | Signed-off-by: Jason Jin <Jason.jin@freescale.com>
* Add support for Sil680 IDE controller.Gary Jennejohn2007-09-06-1/+111
| | | | | | | o add drivers/sil680.c to support the Sil680 IDE-controller. o drivers/Makefile: add sil680.o. Signed-off-by: Gary Jennejohn <garyj@denx.de>
* Merge with git://www.denx.de/git/u-boot.gitStefan Roese2007-09-02-8/+13
|\
| * Revert "Fix MPC8544DS PCIe3 scsi."Ed Swarthout2007-08-30-3/+1
| | | | | | | | | | | | | | This reverts commit 9468e680. Commit 16e23c3f5da removing allocation of PCSRBAR is sufficient. Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
| * Fix MPC8544DS PCIe3 scsi.Kumar Gala2007-08-29-1/+3
| | | | | | | | | | | | | | | | | | | | <ed.swarthout@freescale.com> The problem is pciauto_setup_device() getting called from fsl_pci_init.c is allocating memory space it doesn't need. Signed-off-by: Ed Swarthout <ed.swarthout@freescale.com> Signed-off-by: Andy Fleming <afleming@freescale.com>
| * Fix MAC address setting in DM9000 driver.stefano babic2007-08-29-3/+3
| | | | | | | | | | | | | | | | | | The logic to check if there is a correct MAC address in the DM9000 EEPROM, added in the last patch, is wrong. Now the MAC address is always taken from the environment, even if a suitable MAC is present in the EEPROM. Signed-off-by: Stefano Babic <sbabic@denx.de>
| * MPC5xxx: fix some compiler warnings in USB codeMartin Krause2007-08-29-3/+3
| | | | | | | | | | | | | | | | | | Fix the following warnings: - usb.c:xx: warning: function declaration isn't a prototype - usb_ohci.c:xxx: warning: passing argument 1 of '__fswab32' makes integer from pointer wihtout a cast Signed-off-by: Martin Krause <martin.krase@tqs.de>
| * fsl_pci_init - Remove self PCSRBAR allocationEd Swarthout2007-08-29-2/+7
| | | | | | | | | | | | | | | | | | | | CPU physical address space was being wasted by allocating a PCSRBAR PCI inbound region to it's memory space. As a rule, PCSRBAR should be left alone since it does not affect transactions from self and other masters may have changed it. Signed-off-by: Ed Swarthout <ed.swarthout@freescale.com>
* | ppc4xx: (Re-)Enable CONFIG_PCI_PNP on AMCC 440EPx SequoiaGary Jennejohn2007-08-31-1/+7
|/ | | | | | | | | | | | | | | | | | | | | The 440EPx has a problem when the PCI_CACHE_LINE_SIZE register is set to non-zero, because it doesn't support MRM (memory-read- multiple) correctly. We now added the possibility to configure this register in the board config file, so that the default value of 8 can be overridden. Here the details of this patch: o drivers_pci_auto.c: introduce CFG_PCI_CACHE_LINE_SIZE to allow board-specific settings. As an example the sequoia board requires 0. Idea from Stefan Roese <sr@denx.de>. o board/amcc/sequoia/init.S: add a TLB mapping at 0xE8000000 for the PCI IO-space. Obtained from Stefan Roese <sr@denx.de>. o include/configs/sequoia.h: turn CONFIG_PCI_PNP back on and set CFG_PCI_CACHE_LINE_SIZE to 0. Signed-off-by: Gary Jennejohn <garyj@denx.de> Signed-off-by: Stefan Roese <sr@denx.de>
* Fix some build errors.Wolfgang Denk2007-08-19-3/+5
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* Merge with /home/wd/git/u-boot/custodian/u-boot-coldfireWolfgang Denk2007-08-18-0/+818
|\
| * ColdFire: Add M54455EVB for MCF5445xTsiChungLiew2007-08-16-7/+20
| | | | | | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
| * ColdFire: MCF5329 Update and cleanupTsiChungLiew2007-08-16-5/+5
| | | | | | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
| * Merge branch 'denx-coldfire' into coldfire-aug2007John Rigby2007-08-16-0/+805
| |\
| | * Merge with git://www.denx.de/git/u-boot.gitStefan Roese2007-08-15-8928/+32237
| | |\
| | * | Added uart_gpio_conf() in serial_init(), seperated uart port configuration ↵TsiChungLiew2007-08-08-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | from cpu_init() to uart_gpio_conf() Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
| | * | Declared attributes of void __mii_init(void) as an alias for int mii_init(void)TsiChungLiew2007-08-08-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
| | * | Renamed CONFIG_MCFSERIAL to CONFIG_MCFUARTTsiChungLiew2007-08-08-2/+2
| | | | | | | | | | | | | | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
| | * | Merge with /home/stefan/git/u-boot/u-boot-coldfire-freescaleStefan Roese2007-07-16-0/+801
| | |\ \
| | | * \ Merge branch 'master' into u-boot-5329-earlyJohn Rigby2007-07-10-11/+253
| | | |\ \
| | | * | | Cache update and added CFG_UNIFY_CACHETsiChung2007-07-10-18/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enabled cache in cpu_init_f() for faster flash to mem allocation. Updated cache handling in start.S. Applied cache invalidate in fec_send() and fec_recv(). Added CFG_UNIFY_CACHE for CF V3 only. Signed-off-by: TsiChung <tcliew@Goku.(none)>
| | | * | | Rename mcfserial.c. Update include headerTsiChungLiew2007-07-10-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Renamed mcfserial.c to mcfuart.c. Modified Makefile for mcfuart.o from mcfserial.o. Replace immap_5329.h and m5329.h to immap.h Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
| | | * | | Header file update, clean up and cache handlingTsiChungLiew2007-07-10-33/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replaced immap_5329.h and m5329.h with immap.h. Included cache_invalid. Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
| | | * | | Added M5329AFEE and M5329BFEE PlatformsTsiChung Liew2007-06-18-0/+810
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added board/freescale/m5329evb, cpu/mcf532x, drivers/net, drivers/serial, immap_5329.h, m5329.h, mcfrtc.h, include/configs/M5329EVB.h, lib_m68k/interrupts.c, and rtc/mcfrtc.c Modified CREDITS, MAKEFILE, Makefile, README, common/cmd_bdinfo.c, common/cmd_mii.c, include/asm-m68k/byteorder.h, include/asm-m68k/fec.h, include/asm-m68k/io.h, include/asm-m68k/mcftimer.h, include/asm-m68k/mcfuart.h, include/asm-m68k/ptrace.h, include/asm-m68k/u-boot.h, lib_m68k/Makefile, lib_m68k/board.c, lib_m68k/time.c, net/eth.c and rtc/Makefile Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
* | | | | | PCI_READ_VIA_DWORD_OP: Fix *val uninitialized bugShinya Kuribayashi2007-08-18-1/+3
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch has been sent on: - 6 Jun 2007 Many users of PCI config read routines tend to ignore the function ret value, and are only concerned about the contents of *val. Based on this, pci_hose_read_config_{byte,word}_via_dword should initialize the *val on dword read error. Without this fix, for example, we'll go on scanning bus with vendor or header_type uninitialized. This brings many unnecessary config trials. Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi@necel.com>
* | | | | Don't wait for disconnected TSECsAndy Fleming2007-08-16-13/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The TSEC driver's PHY code waits a long time for autonegotiation to complete, even if the link is down. The PHY knows the link is down or up before autonegotiation completes, so we can short-circuit the process if the link is down. Signed-off-by: Andy Fleming <afleming@freescale.com>
* | | | | Fix numerous bugs in the 8568 UEC supportAndy Fleming2007-08-16-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Actually, fixed a large bug in the UEC for *all* platforms. How did this ever work? uec_init() did not follow the spec for eth_init(), and returned 0 on success. Switch it to return the link like tsec_init() (and 0 on error) The immap for the 8568 was defined based on MPC8568, rather than CONFIG_MPC8568 CONFIG_QE was off CONFIG_ETHPRIME was set to "Freescale GETH". Now is "FSL UEC0" Fixed a comment about the ranges for CONFIG_ETHPRIME if TSEC_ENET is enabled Signed-off-by: Andy Fleming <afleming@freescale.com>
* | | | | Define tsec flag values in config filesAndy Fleming2007-08-16-19/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The tsec_info structure and array has a "flags" field for each ethernet controller. This field is the only reason there are settings. Switch to defining TSECn_FLAGS for each controller in the config header, and we can greatly simplify the array, and also simplify the addition of future boards. Signed-off-by: Andy Fleming <afleming@freescale.com>
* | | | | Merge with /home/wd/git/u-boot/masterWolfgang Denk2007-08-16-0/+1
|\ \ \ \ \
| * \ \ \ \ Merge with git://www.denx.de/git/u-boot.gitStefan Roese2007-08-15-8935/+32237
| |\ \ \ \ \ | | | |_|_|/ | | |/| | |
| * | | | | Merge with git://www.denx.de/git/u-boot.gitStefan Roese2007-07-04-11/+253
| |\ \ \ \ \ | | | |_|_|/ | | |/| | |
| * | | | | Merge with git://www.denx.de/git/u-boot.gitStefan Roese2007-06-22-137/+1076
| |\ \ \ \ \ | | | |_|_|/ | | |/| | |
| * | | | | [PATCH][NAND] Define the Vendor Id for Micron NAND FlashUlf Samuelsson2007-05-24-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Ulf Samuelsson <ulf@atmel.com> Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Signed-off-by: Stefan Roese <sr@denx.de>
* | | | | | Bios emulator - fix microblaze toolchain problemMichal Simek2007-08-16-10/+30
| |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | microblaze CPU have problem with bios_emulator code. Microblaze toolchain doesn't support PRAGMA PACK. Signed-off-by: Michal Simek <monstr@monstr.eu>
* | | | | Fix malloc size error in ahci_init_one.Ed Swarthout2007-08-14-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Typically this causes scsi init to corrupt the devlist and break the coninfo command. Fix a compiler size warning. Signed-off-by: Jason Jin <jason.jin@freescale.com> Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com> Acked-by: Andy Fleming <afleming@freescale.com>
* | | | | Coding style cleanup. Update CHANGELOG.Wolfgang Denk2007-08-14-93/+90
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* | | | | Supply spi interface in at45.cPeter Pearse2007-08-14-0/+5
| | | | |
* | | | | Replace lost end of at45.c.Peter Pearse2007-08-14-0/+14
| | | | |
* | | | | Update Makefiles for merged and split at45.c.Peter Pearse2007-08-14-1/+1
| | | | |
* | | | | Add the files.Peter Pearse2007-08-14-0/+550
| | | | |
* | | | | Add MACH_TYPE records for several AT91 boards.Peter Pearse2007-08-14-67/+212
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge to two at45.c files into a common file, split to at45.c and spi.c Fix spelling error in DM9161 PHY Support. Initialize at91rm9200 board (and set LED). Add PIO control for at91rm9200dk LEDs and Mux. Change dataflash partition boundaries to be compatible with Linux 2.6. Signed-off-by: Peter Pearse <peter.pearse@arm.com> Signed-off-by: Ulf Samuelsson <ulf@atmel.com>
* | | | | Merge with /home/wd/git/u-boot/custodian/u-boot-mpc85xxWolfgang Denk2007-08-14-20/+28
|\ \ \ \ \
| * | | | | Add support for UEC to 8568Andy Fleming2007-08-14-20/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com> Signed-off-by: Andy Fleming <afleming@freescale.com>
* | | | | | Coding style cleanup; rebuild CHANGELOGWolfgang Denk2007-08-14-2/+4
| | | | | |
* | | | | | multicast tftp: RFC2090David Updegraff2007-08-13-0/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implemented IETF RFC2090, Multicast TFTP. Initial implementation on Realtek RTL8139 and Freescale TSEC. Signed-off-by: David Updegraff <dave@cray.com> Signed-off-by: Ben Warren <bwarren@qstreams.com>
* | | | | | Add ability to take MAC address from the environment to DM9000 driverMike Rapoport2007-08-13-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Mike Rapoport <mike@compulab.co.il> Signed-off-by: Ben Warren <bwarren@qstreams.com>
* | | | | | Sync'd u-boot-net with mainlineBen Warren2007-08-13-490/+24926
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge git://www.denx.de/git/u-boot Conflicts: drivers/bcm570x.c drivers/tigon3.c