summaryrefslogtreecommitdiff
path: root/cpu/mpc86xx
AgeCommit message (Collapse)Author
2007-11-20Merge commit 'remotes/wd/master'Jon Loeliger
2007-11-18Fix compiler warnings for PPC systems. Update CHANGELOG.Wolfgang Denk
Signed-off-by: Wolfgang Denk <wd@denx.de>
2007-11-1786xx: Fix broken variable reference when #def DEBUGing.Jon Loeliger
Sometimes you can't reference the DDR2 controller variables. Signed-off-by: Jon Loeliger <jdl@freescale.com>
2007-11-17make 8610 board use pixis resetJason Jin
Signed-off-by: Jason Jin <Jason.jin@freescale.com>
2007-11-07make 8610 board use pixis resetJason Jin
Signed-off-by: Jason Jin <Jason.jin@freescale.com>
2007-11-0786xx: Fix broken variable reference when #def DEBUGing.Jon Loeliger
Sometimes you can't reference the DDR2 controller variables. Signed-off-by: Jon Loeliger <jdl@freescale.com>
2007-10-17Initial mpc8610hpcd cpu/, README and include/ files.Jon Loeliger
Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com> Signed-off-by: Mahesh Jade <mahesh.jade@freescale.com> Signed-off-by: Jason Jin <Jason.jin@freescale.com> Signed-off-by: Jon Loeliger <jdl@freescale.com>
2007-10-1686xx: Allow for fewer DDR slots per memory controller.Jon Loeliger
As a direct correlation exists between DDR DIMM slots and SPD EEPROM addresses used to configure them, use the individually defined SPD_EEPROM_ADDRESS* values to determine if a DDR DIMM slot should have its SPD configuration read or not. Effectively, this now allows for 1 or 2 DIMM slots per memory controller. Signed-off-by: Jon Loeliger <jdl@freescale.com>
2007-09-15Fix cases where DECLARE_GLOBAL_DATA_PTR was not declared as globalWolfgang Denk
Signed-off-by: Wolfgang Denk <wd@denx.de>
2007-08-10cpu/86xx fixes.Jon Loeliger
Remove rev 1 fixes. Always set PICGCR_MODE. Enable machine check and provide board config option to set and handle SoC error interrupts. Include MSSSR0 in error message. Isolate a RAMBOOT bit of code with #ifdef CFG_RAMBOOT. Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com> Signed-off-by: Jon Loeliger <jdl@freescale.com>
2007-08-06Make MPC8641's PCI/PCI-E driver a common driver for many FSL parts.Ed Swarthout
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>
2007-08-02Fix build errors and warnings / code cleanup.Wolfgang Denk
Signed-off-by: Wolfgang Denk <wd@denx.de>
2007-07-05mpc86xx: Remove old CFG_CMD_* references.Jon Loeliger
Signed-off-by: Jon Loeliger <jdl@freescale.com>
2007-07-04cpu/mpc*/ : Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).Jon Loeliger
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>
2007-07-03Merge with /home/wd/git/u-boot/custodian/u-boot-testingWolfgang Denk
2007-06-22[ppc] Fix build breakage for all non-4xx PowerPC variants.Rafal Jaworowski
- adapt to the more generic EXCEPTION_PROLOG and CRIT_EXCEPTION macros - minor 4xx cleanup
2007-06-05mpc8641 image size cleanupEd Swarthout
e600 does not have a bootpg restriction. Move the version string to beginning of image at fff00000. Resetvec.S is not needed. Update flash copy instructions. Add tftpflash env variable Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com> Signed-off-by: Jon Loeliger <jdl@freescale.com>
2007-05-17Reduce CONFIG_MPC8YXX_TSECx to CONFIG_TSECxKim Phillips
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>
2007-05-01Conditionalize 8641 Rev1.0 MCM workaroundsJames Yang
Signed-off-by: James Yang <James.Yang@freescale.com> Signed-off-by: Jon Loeliger <jdl@freescale.com>
2007-05-01Rewrote picos_to_clk() to avoid rounding errors.James Yang
Clarified that conversion is to DRAM clocks rather than platform clocks. Made function static to spd_sdram.c. Signed-off-by: James Yang <James.Yang@freescale.com> Signed-off-by: Jon Loeliger <jdl@freescale.com>
2007-04-20mpc86xx; Write MAC address to mac-address and local-mac-addressJon Loeliger
Some device trees have a mac-address property, some have local-mac-address, and some have both. To support all of these device trees, ftp_cpu_setup() should write the MAC address to mac-address and local-mac-address, if they exist. Signed-off-by: Timur Tabi <timur@freescale.com> Signed-off-by: Jon Loeliger <jdl@freescale.com>
2007-04-20mpc86xx: protect memcpy to bad address if a mac-address is missing from dtJon Loeliger
Signed-off-by: Kim Phillips <kim.phillips@freescale.com> Signed-off-by: Jon Loeliger <jdl@freescale.com>
2007-04-09Add PIXIS FPGA support for MPC8641HPCN board.Haiying Wang
Move the 8641HPCN's PIXIS code to the new directory board/freescale/common/ as it will be shared by future boards not in the same processor family. Write a "pixis_reset" command that utilizes the FPGA reset sequencer to support alternate soft-reset options such as using the "alternate" flash bank, enabling the watch dog, or choosing different CPU frequencies. Add documentation for the pixis_reset to README.mpc8641hpcn. Signed-off-by: Haiying Wang <haiying.wang@freescale.com> Signed-off-by: Jon Loeliger <jdl@freescale.com>
2007-03-22Set Rev 2.x 86xx PIC in mixed mode.Haiying Wang
Prevent false interrupt from hanging Linux as MSR[EE] is set to enable interrupts by changing the PIC out of the default pass through mode into mixed mode. Signed-off-by: Haiying Wang <haiying.wang@freescale.com> Signed-off-by: Jon Loeliger <jdl@freescale.com>
2007-03-22Add support for 8641 Rev 2 silicon.Ed Swarthout
Without this patch, I am unable to get to the prompt on rev 2 silicon. Only set ddrioovcr for rev1. Signed-off-by: Ed Swarthout<ed.swarthout@freescale.com> Signed-off-by: Jon Loeliger <jdl@freescale.com>
2006-10-27MPC86xx: Cleaned up unused and conditionally used local variables.Jon Loeliger
Signed-off-by: Jon Loeliger <jdl@freescale.com>
2006-10-27Fix "ar" flags in some Makefiles to allow for silent "make -s"Wolfgang Denk
2006-10-24Code cleanupWolfgang Denk
2006-10-19Moved i2c driver out of cpu/mpc86xx/i2c.c into drivers/fsl_i2c.cJon Loeliger
in an effort to begin to unify the umpteen FSL I2C drivers that are all otherwise very similar. Signed-off-by: Jon Loeliger <jdl@freescale.com>
2006-10-10Coding style changes to remove local varible blocksJon Loeliger
and reformat a bit nicer.
2006-10-10Fix whitespace issues.Jon Loeliger
2006-09-29Merge branch 'mpc86xx'Jon Loeliger
2006-09-29Fix missing tCycle/modfreq calculation.John Traill
Signed-off-by: John Traill <john.traill@freescale.com>
2006-09-19Modified makefile for new build mechanism.Jon Loeliger
Signed-off-by: Jon Loeliger <jdl@freescale.com>
2006-09-14Handle 86xx SVR values according to the new Reference Manual.Jon Loeliger
Both 8641 and 8641D have SVR == 0x8090, and are distinguished by the byte in bits 16-23 instead. Thanks to Jason Jin for noticing. Signed-off-by: Jon Loeliger <jdl@freescale.com>
2006-08-29Remove trailing empty lines.Jon Loeliger
2006-08-29Remove bogus msync and use volatile asm.Jon Loeliger
2006-08-22General indent and whitespace cleanups.Jon Loeliger
2006-08-22Cleanup compiler warnings.Jon Loeliger
2006-08-17Copy Global Data Pointer to r29 for DECLARE_GLOBAL_DATA_PTRHaiying Wang
2006-08-09Fix caslat calculationJohn Traill
Signed-off-by: John Traill <john.traill@freescale.com>
2006-08-09Convert to mac-address in ethernet nodes.Jon Loeliger
2006-07-31Move get_board_sys_clk to board directoryHaiying Wang
2006-07-28Fix 8641HPCN pollutionJohn Traill
2006-06-27Enable PCIE1 for MPC8641HPCN boardJin Zhengxiong-R64188
Signed-off-by: Jason Jin <Jason.jin@freescale.com>
2006-06-15Do not enable address translation on secondary CPUs.Jon Loeliger
Do not set up BATs on secondary CPUs. Let Linux do the nasty. Signed-off-by: Jon Loeliger <jdl@freescale.com>
2006-06-07Fix a get_board_sys_clk() use-before-def warning.Jon Loeliger
Signed-off-by: Jon Loeliger <jdl@jdl.com>
2006-05-31Review cleanups.Jon Loeliger
Signed-off-by: Jon Loeliger <jdl@freescale.com>
2006-05-31White space cleanup.Jon Loeliger
Some 80-column cleanups. Convert printf() to puts() where possible. Use #include "spd_sdram.h" as needed. Enhanced reset command usage message a bit. Signed-off-by: Jon Loeliger <jdl@freescale.com>
2006-05-31Moved mpc8641hpcn_board_reset() out of cpu/ into board/.Jon Loeliger
Signed-off-by: Jon Loeliger <jdl@freescale.com>