summaryrefslogtreecommitdiff
path: root/lib_ppc
Commit message (Collapse)AuthorAgeLines
* Add support for a Freescale non-CPM SPI controllerBen Warren2008-01-17-0/+16
| | | | | | | | | This patch adds support for the SPI controller found on Freescale PowerPC processors such as the MCP834x family. Additionally, a new config option, CONFIG_HARD_SPI, is added for general purpose SPI controller use. Signed-off-by: Ben Warren <biggerbadderben@gmail.com> Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
* MPC512X: Cleanup bus clock names.Grzegorz Bernacki2008-01-12-1/+1
| | | | Signed-off-by: Grzegorz Bernacki <gjb@semihalf.com>
* ads5121: Added support for FDT.Grzegorz Bernacki2008-01-12-0/+3
| | | | Signed-off-by: Grzegorz Bernacki <gjb@semihalf.com>
* API for external applications.Rafal Jaworowski2008-01-09-0/+5
| | | | | | | | | | | | | | This is an API for external (standalone) applications running on top of U-Boot, and is meant to be more extensible and robust than the existing jumptable mechanism. It is similar to UNIX syscall approach. See api/README for more details. Included is the demo application using this new framework (api_examples). Please note this is still an experimental feature, and is turned off by default. Signed-off-by: Rafal Jaworowski <raj@semihalf.com>
* ppc4xx: Rework 4xx cache supportStefan Roese2007-10-31-1/+1
| | | | | | | New cache handling functions added and all existing functions moved from start.S into seperate cache.S. Signed-off-by: Stefan Roese <sr@denx.de>
* lib_ppc: make board_add_ram_info weakKim Phillips2007-08-18-5/+6
| | | | | | | | | | | | platforms wishing to display RAM diagnostics in addition to size, can do so, on one line, in their own board_add_ram_info() implementation. this consequently eliminates CONFIG_ADD_RAM_INFO. Thanks to Stefan for the hint. Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
* Merge with git://www.denx.de/git/u-boot.gitStefan Roese2007-08-14-26/+35
|\
| * mpc83xx: Add support for the display of reset statusDave Liu2007-08-10-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | 83xx processor family has many reset sources, such as power on reset, software hard reset, software soft reset, JTAG, bus monitor, software watchdog, check stop reset, external hard reset, external software reset. sometimes, to figure out the fault of system, we need to know the cause of reset early before the prompt of u-boot present. Signed-off-by: Dave Liu <daveliu@freescale.com> Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
| * Merge with /home/wd/git/u-boot/custodian/u-boot-testingWolfgang Denk2007-08-06-24/+31
| |\
| | * Merge branch 'testing' into workingAndy Fleming2007-08-03-24/+31
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: CHANGELOG fs/fat/fat.c include/configs/MPC8560ADS.h include/configs/pcs440ep.h net/eth.c
| | | * Fix malloc problem introduced with the relocation fixup for the PPC platformStefan Roese2007-07-11-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The relocation fixup didn't handle the malloc pointer initialization correctly. This patch fixes this problem. Tested successfully on 4xx. The relocation fixup patches for 4xx will follow soon. Signed-off-by: Stefan Roese <sr@denx.de>
| | | * disk/ doc/ lib_*/ and tools/: Remove lingering references to CFG_CMD_* symbols.Jon Loeliger2007-07-10-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| | | * lib_{m68k,microblaze,mips,ppc}/: Remove obsolete references to CONFIG_COMMANDSJon Loeliger2007-07-09-18/+18
| | | | | | | | | | | | | | | | Signed-off-by: Jon Loeliger <jdl@freescale.com>
| | | * Don't set gd->reloc_off if relocation of .fixup works correctlyGrant Likely2007-07-04-0/+5
| | | | | | | | | | | | | | | | Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
| | | * lib_ppc/: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).Jon Loeliger2007-07-04-17/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | [ppc440SPe] Graceful recovery from machine check during PCIe configurationGrzegorz Bernacki2007-08-02-1/+1
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During config transactions on the PCIe bus an attempt to scan for a non-existent device can lead to a machine check exception with certain peripheral devices. In order to avoid crashing in such scenarios the instrumented versions of the config cycle read routines are introduced, so the exceptions fixups framework can gracefully recover. Signed-off-by: Grzegorz Bernacki <gjb@semihalf.com> Acked-by: Rafal Jaworowski <raj@semihalf.com>
* | | make show_boot_progress () weak.Heiko Schocher2007-07-13-2/+0
|/ / | | | | | | Signed-off-by: Heiko Schocher <hs@denx.de>
* | Merge with /home/hs/Atronic/u-bootWolfgang Denk2007-07-09-2/+3
|\ \ | |/ |/|
| * [PCS440EP] upgrade the PCS440EP board:Heiko Schocher2007-06-22-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | - Show on the Status LEDs, some States of the board. - Get the MAC addresses from the EEProm - use PREBOOT - use the CF on the board. - check the U-Boot image in the Flash with a SHA1 checksum. - use dynamic TLB entries generation for the SDRAM Signed-off-by: Heiko Schocher <hs@denx.de>
* | Merge with /home/wd/git/u-boot/custodian/u-boot-testingWolfgang Denk2007-07-03-21/+18
|\ \ | |/ |/|
| * Merge with /home/git/u-bootWolfgang Denk2007-05-17-4/+0
| |\
| * | Search the exception table with linear algorithmZang Roy-r619112007-05-15-21/+18
| | | | | | | | | | | | | | | | | | | | | | | | Search the exception table with linear algorithm instead of bisecting algorithm. Because the exception table might be unsorted. Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
* | | Fix config problems on SC3 board; make ide_reset_timeout work.Wolfgang Denk2007-06-08-3/+3
| | |
* | | Merge with git://www.denx.de/git/u-boot.gitStefan Roese2007-05-18-4/+0
|\ \ \ | | |/ | |/|
| * | mpc83xx: replace elaborate boottime verbosity with 'clocks' commandKim Phillips2007-05-01-4/+0
| |/ | | | | | | | | | | and fix CPU: to align with Board: display text. Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
* | ppc4xx: Set bd->bi_pci_busfreq on 440EPx/GRx tooStefan Roese2007-05-11-1/+3
|/ | | | Signed-off-by: Stefan Roese <sr@denx.de>
* Cleanup compiler warnings, update CHANGELOGWolfgang Denk2007-04-20-9/+9
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* Merge branch 'master' into hpc2roy zang2007-01-22-0/+16
|\ | | | | | | | | | | | | | | | | | | Conflicts: drivers/cfi_flash.c The patch by Heiko Schocher <hs@pollux.denx.de> on Jan, 19, 2007 fixes cfi_driver bug for mpc7448hpc2 board. The default cfi_driver can support mpc7448hpc2 board.
| * Added support for the SOLIDCARD III board from EurodesignHeiko Schocher2007-01-11-0/+16
| | | | | | | | Signed-off-by: Heiko Schocher <hs@denx.de>
* | Merge branch 'master' into hpc2roy zang2007-01-04-0/+12
|\ \ | |/
| * Merge with /home/hs/TQ/u-boot-devWolfgang Denk2006-12-24-0/+12
| |\
| | * Added support for the TQM8272 board from TQHeiko Schocher2006-12-21-0/+12
| | | | | | | | | | | | Signed-off-by: Heiko Schocher <hs@denx.de>
* | | Slight code clean up.roy zang2006-12-04-5/+5
| | | | | | | | | | | | | | | Add comments, delete duplicate define and remove spaces. Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
* | | Fix the exception occuring in RAM table search issue.roy zang2006-12-01-10/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The original search_one_table() function code can only processes the search for the exception occurring in FLASH/ROM, because the exception and fixup table usually locate in FLASH. If the exception address is also in FLASH, it will be OK. If the exception occurs in RAM, after the u-boot relocation, a relocation offset should be added. clean up the code in cpu/74xx_7xx/cpu.c Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
* | | Fix the confilcts when merging 'master' into hpc2.roy zang2006-12-01-12/+12
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The conflicts due to a new mpc7448 p3m7448 board is in the main tree. Merge branch 'master' into hpc2 Conflicts: MAKEALL cpu/74xx_7xx/cpu.c cpu/74xx_7xx/cpu_init.c cpu/74xx_7xx/speed.c
| * | Code cleanup.Wolfgang Denk2006-11-30-11/+11
| | |
| * | mpc83xx: Replace CFG_IMMRBAR with CFG_IMMRTimur Tabi2006-11-03-1/+1
| |/ | | | | | | | | | | | | Replace all instances of CFG_IMMRBAR with CFG_IMMR, so that the 83xx tree matches the other 8xxx trees. Signed-off-by: Timur Tabi <timur@freescale.com>
* | General code modification for mpc7448hpc2 board support.roy zang2006-11-02-0/+10
|/ | | | | | | | | | | | | | | | | | | | | 1. Add 7447A and 7448 processor support. 2. Add the following flags. CFG_CONFIG_BUS_CLK : If the 74xx bus frequency can be configured dynamically (such as by switch on board), this flag should be set. CFG_EXCEPTION_AFTER_RELOCATE: If an exception occurs after the u-boot relocates to RAM, this flag should be set. CFG_SERIAL_HANG_IN_EXCEPTION: If the print out function will cause the system hang in exception, this flag should be set. There is a design issue for tsi108/109 pci configure read. When pci scan the slots, if there is no pci card, the tsi108/9 will cause a machine check exception for mpc7448 processor. Signed-off-by: Alexandre Bounine <alexandreb@tundra.com> Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
* Merge branch 'master' of http://www.denx.de/git/u-bootJon Loeliger2006-10-19-2/+5
|\
| * Merge with /home/tur/proj/051_uboot_linux_v38b/u-bootWolfgang Denk2006-10-18-2/+5
| |\
| | * Preliminary patch adding support for the MarelV38B board.Bartlomiej Sieka2006-10-13-2/+5
| | |
* | | Merge branch 'master' of http://www.denx.de/git/u-bootJon Loeliger2006-10-10-1/+1
|\ \ \ | |/ /
| * | Move "ar" flags to config.mk to allow for silent "make -s"Wolfgang Denk2006-10-09-1/+1
| |/ | | | | | | Based on patch by Mike Frysinger, 20 Jun 2006
* | Merge branch 'master' of http://www.denx.de/git/u-bootJon Loeliger2006-09-19-14/+15
|\ \ | |/ | | | | | | | | Conflicts: board/stxxtc/Makefile
| * Add support for AMCC Sequoia PPC440EPx eval boardStefan Roese2006-09-07-6/+6
| | | | | | | | | | | | | | | | | | | | | | - Add support for PPC440EPx & PPC440GRx - Add support for PPC440EP(x)/GR(x) NAND controller in cpu/ppc4xx directory - Add NAND boot functionality for Sequoia board, please see doc/README.nand-boot-ppc440 for details - This Sequoia NAND image doesn't support environment in NAND for now. This will be added in a short while. Patch by Stefan Roese, 07 Sep 2006
| * Add support for a saving build objects in a separate directory.Marian Balakowicz2006-09-01-8/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modifications are based on the linux kernel approach and support two use cases: 1) Add O= to the make command line 'make O=/tmp/build all' 2) Set environement variable BUILD_DIR to point to the desired location 'export BUILD_DIR=/tmp/build' 'make' The second approach can also be used with a MAKEALL script 'export BUILD_DIR=/tmp/build' './MAKEALL' Command line 'O=' setting overrides BUILD_DIR environent variable. When none of the above methods is used the local build is performed and the object files are placed in the source directory.
* | Unlock cache before kernel starts up for MPC86xxHaiying Wang2006-08-17-1/+1
| |
* | Merge branch 'wd'Jon Loeliger2006-08-09-7/+7
|\ \ | |/
| * Add support for TQM885D board.Markus Klotzbuecher2006-07-12-1/+2
| | | | | | | | | | | | Patch by Martin Krause, 20 Mar 2006 Signed-off-by: Martin Krause <martin.krause@tqs.de>
| * Merge: Add support for AMCC 440SPe CPU based eval board (Yucca).Marian Balakowicz2006-06-30-6/+5
| |\