summaryrefslogtreecommitdiffstats
path: root/cpu/mpc86xx
Commit message (Collapse)AuthorAgeFilesLines
* Merge with /home/wd/git/u-boot/custodian/u-boot-testingWolfgang Denk2007-07-031-4/+4
|\
| * Reduce CONFIG_MPC8YXX_TSECx to CONFIG_TSECxKim Phillips2007-05-171-4/+4
| | | | | | | | | | | | | | 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>
* | [ppc] Fix build breakage for all non-4xx PowerPC variants.Rafal Jaworowski2007-06-221-2/+2
| | | | | | | | | | - adapt to the more generic EXCEPTION_PROLOG and CRIT_EXCEPTION macros - minor 4xx cleanup
* | mpc8641 image size cleanupEd Swarthout2007-06-051-2/+0
|/ | | | | | | | | | | 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>
* Conditionalize 8641 Rev1.0 MCM workaroundsJames Yang2007-05-011-14/+28
| | | | | Signed-off-by: James Yang <James.Yang@freescale.com> Signed-off-by: Jon Loeliger <jdl@freescale.com>
* Rewrote picos_to_clk() to avoid rounding errors.James Yang2007-05-011-8/+20
| | | | | | | | 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>
* mpc86xx; Write MAC address to mac-address and local-mac-addressJon Loeliger2007-04-201-0/+12
| | | | | | | | | | 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>
* mpc86xx: protect memcpy to bad address if a mac-address is missing from dtJon Loeliger2007-04-201-4/+8
| | | | | Signed-off-by: Kim Phillips <kim.phillips@freescale.com> Signed-off-by: Jon Loeliger <jdl@freescale.com>
* Add PIXIS FPGA support for MPC8641HPCN board.Haiying Wang2007-04-091-7/+1
| | | | | | | | | | | | | | | | 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>
* Set Rev 2.x 86xx PIC in mixed mode.Haiying Wang2007-03-221-0/+20
| | | | | | | | | 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>
* Add support for 8641 Rev 2 silicon.Ed Swarthout2007-03-221-2/+2
| | | | | | | | 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>
* MPC86xx: Cleaned up unused and conditionally used local variables.Jon Loeliger2006-10-271-6/+2
| | | | Signed-off-by: Jon Loeliger <jdl@freescale.com>
* Fix "ar" flags in some Makefiles to allow for silent "make -s"Wolfgang Denk2006-10-271-1/+1
|
* Code cleanupWolfgang Denk2006-10-241-165/+165
|
* Moved i2c driver out of cpu/mpc86xx/i2c.c into drivers/fsl_i2c.cJon Loeliger2006-10-192-270/+1
| | | | | | | 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>
* Coding style changes to remove local varible blocksJon Loeliger2006-10-101-74/+64
| | | | and reformat a bit nicer.
* Fix whitespace issues.Jon Loeliger2006-10-101-1/+0
|
* Merge branch 'mpc86xx'Jon Loeliger2006-09-291-0/+2
|\
| * Fix missing tCycle/modfreq calculation.John Traill2006-09-291-0/+2
| | | | | | | | Signed-off-by: John Traill <john.traill@freescale.com>
* | Modified makefile for new build mechanism.Jon Loeliger2006-09-191-7/+10
|/ | | | Signed-off-by: Jon Loeliger <jdl@freescale.com>
* Handle 86xx SVR values according to the new Reference Manual.Jon Loeliger2006-09-141-4/+5
| | | | | | | | 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>
* Remove trailing empty lines.Jon Loeliger2006-08-291-5/+0
|
* Remove bogus msync and use volatile asm.Jon Loeliger2006-08-291-3/+3
|
* General indent and whitespace cleanups.Jon Loeliger2006-08-229-352/+331
|
* Cleanup compiler warnings.Jon Loeliger2006-08-221-13/+10
|
* Copy Global Data Pointer to r29 for DECLARE_GLOBAL_DATA_PTRHaiying Wang2006-08-171-1/+2
|
* Fix caslat calculationJohn Traill2006-08-091-96/+39
| | | | Signed-off-by: John Traill <john.traill@freescale.com>
* Convert to mac-address in ethernet nodes.Jon Loeliger2006-08-091-4/+4
|
* Move get_board_sys_clk to board directoryHaiying Wang2006-07-311-66/+0
|
* Fix 8641HPCN pollutionJohn Traill2006-07-281-0/+2
|
* Enable PCIE1 for MPC8641HPCN boardJin Zhengxiong-R641882006-06-273-110/+284
| | | | Signed-off-by: Jason Jin <Jason.jin@freescale.com>
* Do not enable address translation on secondary CPUs.Jon Loeliger2006-06-151-15/+0
| | | | | | Do not set up BATs on secondary CPUs. Let Linux do the nasty. Signed-off-by: Jon Loeliger <jdl@freescale.com>
* Fix a get_board_sys_clk() use-before-def warning.Jon Loeliger2006-06-071-64/+64
| | | | Signed-off-by: Jon Loeliger <jdl@jdl.com>
* Review cleanups.Jon Loeliger2006-05-316-99/+37
| | | | Signed-off-by: Jon Loeliger <jdl@freescale.com>
* White space cleanup.Jon Loeliger2006-05-311-14/+13
| | | | | | | | | 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>
* Moved mpc8641hpcn_board_reset() out of cpu/ into board/.Jon Loeliger2006-05-311-84/+6
| | | | Signed-off-by: Jon Loeliger <jdl@freescale.com>
* Remove dead debug code.Jon Loeliger2006-05-311-24/+0
| | | | Signed-off-by: Jon Loeliger <jdl@jdl.com>
* Move mpc86xx PIXIS code to board directoryJon Loeliger2006-05-311-293/+15
| | | | | | | | First cut at moving the PIXIS platform code out of the 86xx cpu directory and into board/mpc8641hpcn where it belongs. Signed-off-by: Jon Loeliger <jdl@freescale.com>
* Improve "reset" command's interaction with watchdog.Haiying Wang2006-05-301-5/+32
| | | | | | | | "reset altbank" will reset another bank WITHOUT watch dog timer enabled "reset altbank wd" will reset another bank WITH watch dog enabled "diswd" will disable watch dog after u-boot boots up successfully Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com>
* Fix two SDRAM setup bugs.Haiying Wang2006-05-301-7/+7
| | | | | | | Fix ECC setup bug. Enable 1T/2T based on number of DIMMs present. Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com>
* Change arbitration to round-robin for SMP linux.Jon Loeliger2006-05-191-6/+9
|
* Enable dual DDR controllers and interleaving.Jon Loeliger2006-05-191-121/+494
|
* Remove L2 Cache invalidate polling.Jon Loeliger2006-05-191-11/+17
|
* Remove unneeded INIT_RAM_LOCK cache twiddling.Haiying Wang2006-05-101-2/+3
| | | | | | Correctly tracks r29 as global data pointer now. Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com>
* Cleanup whitespaces and style issues.Jon Loeliger2006-04-279-411/+339
| | | | | | | Removed //-style comments. Use 80-column lines. Remove trailing whitespace. Remove dead code and debug cruft.
* Initial support for MPC8641 HPCN board.Jon Loeliger2006-04-2613-0/+4699
OpenPOWER on IntegriCloud