summaryrefslogtreecommitdiff
path: root/lib_ppc
Commit message (Collapse)AuthorAgeLines
* 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>
* 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
| |\
| | * Call serial_initialize() before first debug() is used.Marian Balakowicz2006-06-30-6/+5
| | |
* | | Add support for reading and writing mac addresses to or from ID EEPROM.Haiying Wang2006-07-13-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added code for reading and writing Mac addresses to/from ID EEPROM(0x57). With attached patch, we can use command "mac/mac read/mac save/" to read and write EEPROM under u-boot prompt. U-boot will calculate the checksum of EEPROM while bootup, if it is right, then u-boot will check whether the mac address of eTSEC0/1/2/3 is availalbe (non-zero). If there is mac address availabe in EEPROM, u-boot will use it, otherewise, u-boot will use the mac address defined in MPC8641HPCN.h. This matches the requirement to set unique mac address for each TSEC port. Signed-off-by: Haiying Wang <haiying.wang@freescale.com> Signed-off-by: York Sun <yorksun@freescale.com>
* | | Remove unneeded INIT_RAM_LOCK cache twiddling.Haiying Wang2006-05-10-1/+1
| | | | | | | | | | | | | | | | | | Correctly tracks r29 as global data pointer now. Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com>
* | | Initial support for MPC8641 HPCN board.Jon Loeliger2006-04-26-1/+1
|/ /
* | GCC-4.x fixes: clean up global data pointer initialization for all boards.Wolfgang Denk2006-03-31-0/+1
| |
* | Enable address translation on MPC83xxKumar Gala2006-02-10-1/+2
|/ | | | Patch by Kumar Gala, 10 Feb 2006
* Code cleanup, especially MIPS for GCC 4.xWolfgang Denk2005-12-04-4/+0
|
* Add support for TQM8541/8555 boards, TQM85xx support reworked:Stefan Roese2005-11-30-1/+9
| | | | | | | | | | | | | | | | | - Support for TQM8541/8555 boards added. - Complete rework of TQM8540/8560 support. - Common TQM85xx code now supports all current TQM85xx platforms (TQM8540/8541/8555/8560). - DDR SDRAM size detection added. - CAS latency default values can be overwritten by setting "serial#" to e.g. "ABC0001 casl=25" -> CAS latency 2.5 will be used. If problems are detected with this non default CAS latency, the defualt values will be used instead. - FLASH size detection added. - Moved FCC ethernet driver initialization behind TSEC driver init -> TSEC is first device. Patch by Stefan Roese, 30 Nov 2005
* Add support for multiple PHYs.Marian Balakowicz2005-10-28-22/+24
|
* Cleanup for GCC-4.xWolfgang Denk2005-10-13-40/+42
|
* E500 update: repoint IVPR to RAM when code is relocatedWolfgang Denk2005-10-05-0/+4
| | | | Patch by Kylo Ginsberg, 13 Apr 2005
* Prepare U-Boot for gcc-4.x: fix global data pointer initializationWolfgang Denk2005-08-30-9/+1
| | | | | | | | | | | | | | | | | | The global data pointer, stored in r29 before relocation to RAM, was not initialized to a correct value. This happened because the pointer declaration was done locally in the scope of the board_init_f() function. What follows is a cite from gcc.info, 5.37, "Variables in Specified Registers": ... The compiler's data flow analysis is capable of determining where the specified registers contain live values, and where they are available for other uses. Stores into local register variables may be deleted when they appear to be dead according to dataflow analysis. References to local register variables may be deleted or moved or simplified. ... Moving the global data declaration to global scope solved the problem.
* Prepare U-Boot for gcc-4.xWolfgang Denk2005-08-26-2/+5
|
* Add Sandburst Metrobox and Sandburst Karef board support packages.Stefan Roese2005-08-15-2/+2
| | | | | | | | | Second serial port on 440GX now defined as a system device. Add 'Short Etch' code for Cicada PHY within 440gx_enet.c Patch by Travis B. Sawyer, 12 Jul 2005 Check return value of malloc in 440gx_enet.c Patch by Travis B. Sawyer, 18 Jul 2005
* Changed CONFIG_440_xx to CONFIG_440xx for a consistent design (405 and linux)Stefan Roese2005-08-08-1/+1
| | | | Patch by Stefan Roese, 08 Aug 2005
* Merge with rsync://git-user@source.denx.net/git/u-boot.gitJon Loeliger2005-08-02-1/+1
|\
| * Add support for AMCC PPC440EP/GR eval boards Yosemite and Yellowstone.Stefan Roese2005-08-01-1/+1
| | | | | | | | Patch by Steven Blakeslee, 27 Jul 2005