summaryrefslogtreecommitdiff
path: root/drivers
Commit message (Collapse)AuthorAgeLines
* 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
| * | | | Merge with /home/wd/git/u-boot/custodian/u-boot-mpc86xxWolfgang Denk2007-08-13-32/+16
| |\ \ \ \
| | * \ \ \ Merge commit 'remotes/wd/master'Jon Loeliger2007-08-13-11/+10
| | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: MAKEALL With any luck, this is the last MAKEALL merge conflict!
| | * | | | | fsl_pci_init cleanup.Ed Swarthout2007-08-10-31/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| | * | | | | pciauto_setup_device bars_num fixEd Swarthout2007-08-10-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * | | | | | Minor coding style cleanup. Update CHANGELOG.Wolfgang Denk2007-08-13-16/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
| * | | | | | Merge commit 'upstream/master'Haavard Skinnemoen2007-08-13-464/+23932
| |\ \ \ \ \ \ | | | |/ / / / | | |/| | | |
| | * | | | | Merge with git+ssh://atlas/home/wd/git/u-boot/masterWolfgang Denk2007-08-10-11/+10
| | |\ \ \ \ \ | | | |/ / / / | | |/| | | |
| | | * | | | Make use of generic 64bit division in nand_util.cDirk Behme2007-08-10-11/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| | * | | | | mpc83xx: Fix the align bug of SDMA bufferDave Liu2007-08-10-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| | * | | | | FSL I2C driver programs the two I2C busses differentlyTimur Tabi2007-08-10-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| | * | | | | Merge with git+ssh://atlas/home/wd/git/u-boot/masterWolfgang Denk2007-08-09-4/+40
| | |\ \ \ \ \ | | | |/ / / /
| | | * | | | Minor fix for bios emulator makefileJason Jin2007-08-09-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add $(obj) to LIB avoiding objects be built in the source dir Signed-off-by: Jason Jin <Jason.jin@freescale.com>
| | | * | | | Add CONFIG_BIOSEMU define to guard all the bios emulator codeJason Jin2007-08-09-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | | * | | | tsec: fix multiple PHY supportZach Sadecki2007-08-09-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| | | * | | | tsec: Allow Ten Bit Interface address to be configurableJoe Hamman2007-08-09-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| | * | | | | Merge with git://www.denx.de/git/u-boot.gitMarkus Klotzbuecher2007-08-07-124/+18560
| | |\ \ \ \ \ | | | |/ / / /
| | | * | | | Merge with /home/wd/git/u-boot/custodian/u-boot-testingWolfgang Denk2007-08-06-1/+16979
| | | |\ \ \ \
| | | | * | | | Coding style cleanup. Update CHANGELOG.Wolfgang Denk2007-08-06-4771/+4750
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
| | | | * | | | This is a BIOS emulator, porting from SciTech for u-boot, mainly forJason Jin2007-08-06-0/+16008
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ATI video card BIOS. and can be used for x86 code emulation by some modifications. Signed-off-by: Jason Jin <Jason.jin@freescale.com>
| | | | * | | | This is a framebuffer driver for ATI video card, can work for PCI9200,Jason Jin2007-08-06-1/+992
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | X300, X700, X800 ATI video cards. Signed-off-by: Zhang Wei <wei.zhang@freescale.com> Signed-off-by: Jason Jin <Jason.jin@freescale.com>
| | | * | | | | Merge with /home/wd/git/u-boot/custodian/u-boot-testingWolfgang Denk2007-08-06-104/+344
| | | |\ \ \ \ \ | | | | |/ / / /
| | | | * | | | Coding style cleanup. Update CHANGELOG.Wolfgang Denk2007-08-06-31/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
| | | | * | | | Merge with /home/wd/git/u-boot/custodian/u-boot-mpc85xxWolfgang Denk2007-08-06-8/+41
| | | | |\ \ \ \
| | | | | * | | | Add Marvell 1149 PHY support to the TSECAndy Fleming2007-08-03-0/+34
| | | | | | | | |
| | | | | * | | | Merge branch 'testing' into workingAndy Fleming2007-08-03-94/+120
| | | | | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: CHANGELOG fs/fat/fat.c include/configs/MPC8560ADS.h include/configs/pcs440ep.h net/eth.c
| | | | | * | | | | Remove erroneous errata code from Marvel 88E1111S driverAndy Fleming2007-07-11-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Marvel 88E1111S driver for the TSEC was copied from the 88E1101 driver, and included a fix for an erratum which does not exist on that part. Now it is removed Signed-off-by: Andy Fleming <afleming@freescale.com>
| | | | | * | | | | tsec: Fix PHY code to match first driverAndy Fleming2007-07-11-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Jarrold Wen noticed that the generic PHY code always matches under the current implementation. Change it so the first match wins, and *only* unknown PHYs trigger the generic driver Signed-off-by: Andy Fleming <afleming@freescale.com>
| | | | | * | | | | Fix Marvell 88e1145 PHY init codeAndy Fleming2007-07-11-2/+4
| | | | | | |_|_|/ | | | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix a bug in the Marvell 88e1145 PHY init code in the TSEC driver where the reset was being done after the errata code instead of before. Signed-off-by: Haiying Wang <haiying.wang@freescale.com> Signed-off-by: Andy Fleming <afleming@freescale.com>
| | | | * | | | | Make MPC8641's PCI/PCI-E driver a common driver for many FSL parts.Ed Swarthout2007-08-06-2/+183
| | | | | |/ / / | | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All of the PCI/PCI-Express driver and initialization code that was in the MPC8641HPCN port has now been moved into the common drivers/fsl_pci_init.c. In a subsequent patch, this will be utilized by the 85xx ports as well. Common PCI-E IMMAP register blocks for FSL 85xx/86xx are added. Also enable the second PCI-Express controller on 8641 by getting its BATS and CFG_ setup right. Fixed a u16 vendor compiler warning in AHCI driver too. Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com> Signed-off-by: Zhang Wei <wei.zhang@freescale.com> Signed-off-by: Jon Loeliger <jdl@freescale.com>