summaryrefslogtreecommitdiff
path: root/lib_ppc
Commit message (Collapse)AuthorAgeLines
* The patch introduces the alternative configuration of the log buffer for the ↵Yuri Tikhonov2008-03-18-0/+4
| | | | | | | | | | | | | | lwmon5 board: the storage for the log-buffer itself is OCM(on-chip memory), the log-buffer header is moved to six GPT registers (PPC440EPX_GPT0_COMP1, ..., PPC440EPX_GPT0_COMP5). To enable this, alternative, configuration the U-Boot board configuration file for lwmon5 includes the definitions of alternative addresses for header (CONFIG_ALT_LH_ADDR) and buffer (CONFIG_ALT_LB_ADDR). The Linux shall be configured with the CONFIG_ALT_LB_LOCATION option set, and has the BOARD_ALT_LH_ADDR and BOARD_ALT_LB_ADDR constants defined in the lwmon5 board-specific header (arch/ppc/platforms/4xx/lwmon5.h). Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
* lwmon5: enable hardware watchdogYuri Tikhonov2008-02-22-3/+11
| | | | | | | | | | | | | Some boards (e.g. lwmon5) may use rather small watchdog intervals, so causing it to reboot the board if U-Boot does a long busy-wait with udelay(). Thus, for these boards we have to restart WD more frequently. This patch splits the busy-wait udelay() into smaller, predefined, intervals, so that the watchdog timer may be resetted with the configurable (CONFIG_WD_PERIOD) interval. Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
* ppc: Allow boards to specify effective amount of memoryKumar Gala2008-02-22-7/+15
| | | | | | | | For historical reasons we limited the stack to 256M because some boards could only map that much via BATS. However newer boards are capable of mapping more memory (for example 85xx is capable of doing up to 2G). Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* ppc: Refactor cache routines, so there is only one common set.Rafal Jaworowski2008-02-14-1/+73
| | | | Signed-off-by: Rafal Jaworowski <raj@semihalf.com>
* Merge branch 'master' of git://www.denx.de/git/u-boot-mpc86xxWolfgang Denk2008-01-23-4/+5
|\
| * FSL: Fix common EEPROM_data structure definitionHaiying Wang2008-01-17-4/+5
| | | | | | | | | | | | | | | | - Fix EEPROM_data structure definition according to System EEPROM Data Format. - Read MAC addresses from EEPROM to ethXaddr before saving ethXaddr to bd->bi_ethaddr. Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com>
* | 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