summaryrefslogtreecommitdiff
path: root/drivers
AgeCommit message (Collapse)Author
2007-08-29Fix MPC8544DS PCIe3 scsi.Kumar Gala
<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>
2007-08-29Fix MAC address setting in DM9000 driver.stefano babic
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>
2007-08-29MPC5xxx: fix some compiler warnings in USB codeMartin Krause
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>
2007-08-29fsl_pci_init - Remove self PCSRBAR allocationEd Swarthout
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>
2007-08-19Fix some build errors.Wolfgang Denk
Signed-off-by: Wolfgang Denk <wd@denx.de>
2007-08-18Merge with /home/wd/git/u-boot/custodian/u-boot-coldfireWolfgang Denk
2007-08-18PCI_READ_VIA_DWORD_OP: Fix *val uninitialized bugShinya Kuribayashi
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>
2007-08-16ColdFire: Add M54455EVB for MCF5445xTsiChungLiew
Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
2007-08-16ColdFire: MCF5329 Update and cleanupTsiChungLiew
Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
2007-08-16Merge branch 'denx-coldfire' into coldfire-aug2007John Rigby
2007-08-16Don't wait for disconnected TSECsAndy Fleming
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>
2007-08-16Fix numerous bugs in the 8568 UEC supportAndy Fleming
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>
2007-08-16Define tsec flag values in config filesAndy Fleming
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>
2007-08-16Merge with /home/wd/git/u-boot/masterWolfgang Denk
2007-08-16Bios emulator - fix microblaze toolchain problemMichal Simek
microblaze CPU have problem with bios_emulator code. Microblaze toolchain doesn't support PRAGMA PACK. Signed-off-by: Michal Simek <monstr@monstr.eu>
2007-08-15Merge with git://www.denx.de/git/u-boot.gitStefan Roese
2007-08-15Merge with git://www.denx.de/git/u-boot.gitStefan Roese
2007-08-14Fix malloc size error in ahci_init_one.Ed Swarthout
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>
2007-08-14Coding style cleanup. Update CHANGELOG.Wolfgang Denk
Signed-off-by: Wolfgang Denk <wd@denx.de>
2007-08-14Supply spi interface in at45.cPeter Pearse
2007-08-14Replace lost end of at45.c.Peter Pearse
2007-08-14Update Makefiles for merged and split at45.c.Peter Pearse
2007-08-14Add the files.Peter Pearse
2007-08-14Add MACH_TYPE records for several AT91 boards.Peter Pearse
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>
2007-08-14Merge with /home/wd/git/u-boot/custodian/u-boot-mpc85xxWolfgang Denk
2007-08-14Coding style cleanup; rebuild CHANGELOGWolfgang Denk
2007-08-14Add support for UEC to 8568Andy Fleming
Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com> Signed-off-by: Andy Fleming <afleming@freescale.com>
2007-08-13multicast tftp: RFC2090David Updegraff
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>
2007-08-13Add ability to take MAC address from the environment to DM9000 driverMike Rapoport
Signed-off-by: Mike Rapoport <mike@compulab.co.il> Signed-off-by: Ben Warren <bwarren@qstreams.com>
2007-08-13Sync'd u-boot-net with mainlineBen Warren
Merge git://www.denx.de/git/u-boot Conflicts: drivers/bcm570x.c drivers/tigon3.c
2007-08-13Merge with /home/wd/git/u-boot/custodian/u-boot-mpc86xxWolfgang Denk
2007-08-13Minor coding style cleanup. Update CHANGELOG.Wolfgang Denk
Signed-off-by: Wolfgang Denk <wd@denx.de>
2007-08-13Merge commit 'remotes/wd/master'Jon Loeliger
Conflicts: MAKEALL With any luck, this is the last MAKEALL merge conflict!
2007-08-13Merge commit 'upstream/master'Haavard Skinnemoen
2007-08-10fsl_pci_init cleanup.Ed Swarthout
Do not enable normal errors created during probe (master abort, perr, and pcie Invalid Configuration access). Add CONFIG_PCI_NOSCAN board option to prevent bus scan. Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com> Acked-by: Andy Fleming <afleming@freescale.com>
2007-08-10pciauto_setup_device bars_num fixEd Swarthout
Passing bars_num=0 to pciauto_setup_device should assign no bars. Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com> Acked-by: Shinya Kuribayashi <shinya.kuribayashi@necel.com> Acked-by: Andy Fleming <afleming@freescale.com>
2007-08-10Merge with git+ssh://atlas/home/wd/git/u-boot/masterWolfgang Denk
2007-08-10Make use of generic 64bit division in nand_util.cDirk Behme
Use generic 64bit division in nand_util.c. This makes nand_util.c independent of any toolchain 64bit division. Signed-off-by: Dirk Behme <dirk.behme@gmail.com>
2007-08-10mpc83xx: Fix the align bug of SDMA bufferDave Liu
According to the latest user manual, the SDMA temporary buffer base address must be 4KB aligned. Signed-off-by: Dave Liu <daveliu@freescale.com> Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
2007-08-10FSL I2C driver programs the two I2C busses differentlyTimur Tabi
The i2c_init() function in fsl_i2c.c programs the two I2C busses differently. The second I2C bus has its slave address programmed incorrectly and is missing a 5-us delay. Signed-off-by: Timur Tabi <timur@freescale.com> Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
2007-08-09Merge with git+ssh://atlas/home/wd/git/u-boot/masterWolfgang Denk
2007-08-09Minor fix for bios emulator makefileJason Jin
Add $(obj) to LIB avoiding objects be built in the source dir Signed-off-by: Jason Jin <Jason.jin@freescale.com>
2007-08-09Add CONFIG_BIOSEMU define to guard all the bios emulator codeJason Jin
Signed-off-by: Jason Jin <Jason.jin@freescale.com> This patch fix the compile issue on the board that did not enable the bios emulator
2007-08-09tsec: fix multiple PHY supportZach Sadecki
The change entitled "Reduce CONFIG_MPC8YXX_TSECx to CONFIG_TSECx" broke multiple PHY support in tsec.c. This fixes it. Signed-off-by: Zach Sadecki <Zach.Sadecki@ripcode.com> Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
2007-08-09tsec: Allow Ten Bit Interface address to be configurableJoe Hamman
Allow the address of the Ten Bit Interface (TBI) to be changed in the event of a conflict with another device. Signed-off by: Joe Hamman <joe.hamman@embeddedspecialties.com>
2007-08-08Added uart_gpio_conf() in serial_init(), seperated uart port configuration ↵TsiChungLiew
from cpu_init() to uart_gpio_conf() Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
2007-08-08Declared attributes of void __mii_init(void) as an alias for int mii_init(void)TsiChungLiew
Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
2007-08-08Renamed CONFIG_MCFSERIAL to CONFIG_MCFUARTTsiChungLiew
Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
2007-08-07Merge with git://www.denx.de/git/u-boot.gitMarkus Klotzbuecher
2007-08-06Merge with /home/wd/git/u-boot/custodian/u-boot-testingWolfgang Denk