summaryrefslogtreecommitdiff
path: root/drivers
Commit message (Collapse)AuthorAgeLines
* 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>
* 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 /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>
| * | Add simple agent/end-point configuration in PCI AutoConfig for ↵Ed Swarthout2007-07-11-0/+6
| | | | | | | | | | | | | | | | | | PCI_CLASS_PROCESSOR_POWERPC. Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
| * | pciauto setup bridgeEd Swarthout2007-07-11-3/+6
| | | | | | | | | | | | | | | | | | | | | The P2P bridge bus numbers programmed into the device are relative to hose->first_busno. Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
| * | Support PCIe extended config registersEd Swarthout2007-07-11-2/+2
| | | | | | | | | | | | | | | | | | | | | FSL PCIe block has extended cfg registers in the 100 and 400 range. For example, to read the LTSSM register: pci display <busn>.0 404 1 Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
| * | Minor improvements to drivers/pci_auto.cEd Swarthout2007-07-11-9/+20
| | | | | | | | | | | | | | | | | | | | | - Make pciauto_{pre,post}scan_setup_bridge non-static - Added physical address display in debug messages. Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
| * | Start pci hose scan from hose->current_busno.Ed Swarthout2007-07-11-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | Ensure hose->current_busno is not less than first_busno. This fixes broken board code which leaves current_busno=0 when first_busno is greater than 0 for the cases with multiple controllers. Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
| * | Fix some compile problems introduced by the latest CFG_CMD_xxx cleanupStefan Roese2007-07-11-1/+1
| | | | | | | | | | | | Signed-off-by: Stefan Roese <sr@denx.de>
| * | drivers/: Remove lingering references to CFG_CMD_* symbols.Jon Loeliger2007-07-10-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | Fixed some broken instances of "#ifdef CMD_CFG_IDE" too. Those always evaluated TRUE, and thus were always compiled even when IDE really wasn't defined/wanted. Signed-off-by: Jon Loeliger <jdl@freescale.com>
| * | drivers/[n-z]*: Remove obsolete references to CONFIG_COMMANDSJon Loeliger2007-07-09-38/+37
| | | | | | | | | | | | Signed-off-by: Jon Loeliger <jdl@freescale.com>
| * | drivers/[a-m]*: Remove obsolete references to CONFIG_COMMANDSJon Loeliger2007-07-09-24/+23
| | | | | | | | | | | | Signed-off-by: Jon Loeliger <jdl@freescale.com>
| * | Fix a few file permission problems.Wolfgang Denk2007-07-04-0/+0
| | | | | | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
| * | drivers/: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).Jon Loeliger2007-07-04-57/+59
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | This is a compatibility step that allows both the older form and the new form to co-exist for a while until the older can be removed entirely. All transformations are of the form: Before: #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT) After: #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT) || defined(CONFIG_CMD_AUTOSCRIPT) Signed-off-by: Jon Loeliger <jdl@freescale.com>
* | make show_boot_progress () weak.Heiko Schocher2007-07-13-7/+0
|/ | | | Signed-off-by: Heiko Schocher <hs@denx.de>
* Merge with /home/wd/git/u-boot/custodian/u-boot-testingWolfgang Denk2007-07-03-11/+253
|\
| * Reduce CONFIG_MPC8YXX_TSECx to CONFIG_TSECxKim Phillips2007-05-17-10/+8
| | | | | | | | | | | | | | For all practical u-boot purposes, TSECs don't differ throughout the mpc8[356]xx families; reduce CONFIG_MPC8YXX_TSECx to CONFIG_TSECx. Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
| * Merge with /home/git/u-bootWolfgang Denk2007-05-17-0/+6
| |\
| * | Minor coding style cleanup.Wolfgang Denk2007-05-15-23/+23
| | |
| * | Add driver for S-ATA-controller on Intel processors with Southmushtaq khan2007-05-15-1/+217
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bridge, ICH-5, ICH-6 and ICH-7. Implementation: 1. Code is divided in to two files. All functions, which are controller specific are kept in "drivers/ata_piix.c" file and functions, which are not controller specific, are kept in "common/cmd_sata.c" file. 2. Reading and Writing from the S-ATA drive is done using PIO method. 3. Driver can be configured for 48-bit addressing by defining macro CONFIG_LBA48, if this macro is not defined driver uses the 28-bit addressing. 4. S-ATA read function is hooked to the File system, commands like ext2ls and ext2load file can be used. This has been tested. 5. U-Boot command "SATA_init" is added, which initializes the S-ATA controller and identifies the S-ATA drives connected to it. 6. U-Boot command "sata" is added, which is used to read/write, print partition table and get info about the drives present. This I have implemented in same way as "ide" command is implemented in U-Boot. 7. This driver is for S-ATA in native mode. 8. This driver does not support the Native command queuing and Hot-plugging. Signed-off-by: Mushtaq Khan <mushtaq_k@procsys.com>
| * | Add support for BCM5464 Quad PhyJoe Hamman2007-05-15-0/+28
| | | | | | | | | | | | | | | | | | Added support for Broadcom's BCM5464 Quad Phy Signed-off-by: Joe Hamman <joe.hamman@embeddedspecialties.com>
* | | Coding Style cleanup; generate new CHANGELOG file.Wolfgang Denk2007-06-06-2/+2
| | | | | | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* | | Merge with /home/wd/git/u-boot/custodian/u-boot-armWolfgang Denk2007-06-06-1/+984
|\ \ \
| * | | Reduce line lengths to 80 characters max.Peter Pearse2007-05-18-5/+10
| | | |
| * | | Merge with git://www.denx.de/git/u-boot.gitPeter Pearse2007-05-18-0/+6
| |\ \ \ | | | |/ | | |/|
| * | | Add the files for the SMN42 boardPeter Pearse2007-05-09-0/+978
| | | |
| * | | New board SMN42 branchPeter Pearse2007-05-09-1/+1
| | |/ | |/|
* | | Merge with /home/stefan/git/u-boot/bamboo-nandStefan Roese2007-06-01-136/+92
|\ \ \ | |_|/ |/| |
| * | NAND: Update nand_ecc.c to latest Linux versionStefan Roese2007-06-01-136/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | This patch updates the nand_ecc code to the latest Linux version. The main reason for this is the more compact code. This makes it possible to include the ECC code into the NAND bootloader image (NAND_SPL) for PPC4xx. Signed-off-by: Stefan Roese <sr@denx.de>
* | | Coding Style Cleanup, new CHANGELOGWolfgang Denk2007-05-16-1/+1
| | |
* | | Merge git://www.denx.de/git/u-bootMichal Simek2007-05-08-60/+2612
|\ \ \ | | |/ | |/| | | | | | | | | | | | | Conflicts: include/asm-microblaze/microblaze_intc.h include/linux/stat.h
| * | [PATCH] Avoid assigning PCI resources from zero addressSergei Shtylyov2007-05-05-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a PCI IDE card happens to get a zero address assigned to it, the Linux IDE core complains and IDE drivers fails to work. Also, assigning zero to a BAR was illegal according to PCI 2.1 (the later revisions seem to have excluded the sentence about "0" being considered an invalid address) -- so, use a reasonable starting value of 0x1000 (that's what the most Linux archs are using). Alternatively, one might have fixed the calls to pci_set_region() individually (some code even seems to have taken care of this issue) but that would have been a lot more work. :-) Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Acked-by: Stefan Roese <sr@denx.de>
| * | [patch] use unsigned char in smc91111 driver for macMike Frysinger2007-05-05-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | the v_mac variable in the smc91111 driver is declared as a signed char ... this causes problems when one of the bytes in the MAC is "signed" like 0xE0 because when it gets printed out, you get a display like: 0xFFFFFFE0 and that's no good Signed-off-by: Mike Frysinger <vapier@gentoo.org>
| * | Coding stylke cleanup; update CHANGELOG.Wolfgang Denk2007-05-05-1/+1
| | | | | | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
| * | Merge with /home/wd/git/u-boot/custodian/u-boot-mpc85xxWolfgang Denk2007-05-05-2/+100
| |\ \