- 01 Apr, 2009 1 commit
-
-
Kumar Gala authored
Match determine_mp_bootpg() that was added for 86xx. We need this to address a bug introduced in v2009.03 with 86xx MP booting. We have to make sure to reserve the region of memory used for the MP bootpg() so other u-boot code doesn't use it. Also added a comment about how cpu_reset() is dealing w/an errata on early 85xx MP HW. Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
- 30 Mar, 2009 3 commits
-
-
Haiying Wang authored
There is a workaround for MPC8569 CPU Errata, which needs to set Bit 13 of LBCR in 4K bootpage. We setup a temp TLB for eLBC controller in bootpage, then invalidate it after LBCR bit 13 is set. Signed-off-by:
Haiying Wang <Haiying.Wang@freescale.com> Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
Kumar Gala authored
* Enable backside L2 * e500mc no longer has timebase enable in HID (moved to CCSR register) Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
Dave Liu authored
- support mirrored DIMMs, not support register DIMMs - test passed on P2020DS board with MT9JSF12872AY-1G1D1 - test passed on MPC8569MDS board with MT8JSF12864HY-1G1D1 Signed-off-by:
Dave Liu <daveliu@freescale.com> Signed-off-by:
Travis Wheatley <travis.wheatley@freescale.com>
-
- 09 Mar, 2009 1 commit
-
-
Ed Swarthout authored
Commit e1be0d25 , "32bit BUg fix for DDR2 on 8572" prevented other sdram_cfg bits (such as ecc and self_refresh_in_sleep) from being set. Signed-off-by:
Ed Swarthout <Ed.Swarthout@freescale.com>
-
- 18 Feb, 2009 1 commit
-
-
Wolfgang Denk authored
Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
- 17 Feb, 2009 5 commits
-
-
Andy Fleming authored
Signed-off-by:
Andy Fleming <afleming@freescale.com>
-
Poonam_Aggrwal-b10812 authored
This errata fix is required for 32 bit DDR2 controller on 8572. May also be required for P10XX20XX platforms Signed-off-by:
Poonam_Agarwal-b10812 <b10812@lc1106.zin33.ap.freescale.net>
-
Srikanth Srinivasan authored
Added various p2020 processor specific details: * SVR for p2020, p2020E * immap updates for LAWs and DDR on p2020 * LAW defines related to p2020 Signed-off-by:
Srikanth Srinivasan <srikanth.srinivasan@freescale.com> Signed-off-by:
Travis Wheatley <Travis.Wheatley@freescale.com> Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
Kumar Gala authored
Previously we only allowed power-of-two memory sizes and didnt handle >2G of memory. Now we will map up to CONFIG_MAX_MEM_MAPPED and should properly handle any size that we can make in the TLBs we have available to us Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
Kumar Gala authored
Only print 4 cpu freq per line. This way when we have 8 cores its a bit more readable. Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
- 23 Jan, 2009 3 commits
-
-
Haiying Wang authored
This patch updates e500 freqProcessor to array based on CONFIG_NUM_CPUS, and prints each CPU's frequency separately. It also fixes up each CPU's frequency in "clock-frequency" of fdt blob. Signed-off-by:
James Yang <James.Yang@freescale.com> Signed-off-by:
Haiying Wang <Haiying.Wang@freescale.com>
-
Kumar Gala authored
Use CONFIG_SYS_PCI*_IO_BUS for the bus relative address instead of _IO_BASE so we are more explicit. Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
Kumar Gala authored
Use CONFIG_SYS_{PCI,RIO}_MEM_BUS for the bus relative address instead of _MEM_BASE so we are more explicit. Signed-off-by:
Kumar Gala <galak@kernel.crashing.org> Acked-by:
Andy Fleming <afleming@freescale.com>
-
- 13 Jan, 2009 1 commit
-
-
Haiying Wang authored
So that we can locate the DDR tlb start entry to the value other than 8. By default, it is still 8. Signed-off-by:
Haiying Wang <Haiying.Wang@freescale.com>
-
- 20 Dec, 2008 7 commits
-
-
Trent Piepho authored
Currently MPC85xx and MPC86xx boards just calculate the localbus frequency and print it out, but don't save it. This changes where its calculated and stored to be more consistent with the CPU, CCB, TB, and DDR frequencies and the MPC83xx localbus clock. The localbus frequency is added to sysinfo and calculated when sysinfo is set up, in cpu/mpc8[56]xx/speed.c, the same as the other frequencies are. get_clocks() copies the frequency into the global data, as the other frequencies are, into a new field that is only enabled for MPC85xx and MPC86xx. checkcpu() in cpu/mpc8[56]xx/cpu.c will print out the local bus frequency from sysinfo, like the other frequencies, instead of calculating it on the spot. Signed-off-by:
Trent Piepho <tpiepho@freescale.com> Acked-by:
Kumar Gala <galak@kernel.crashing.org> Acked-by:
Jon Loeliger <jdl@freescale.com>
-
Trent Piepho authored
The clock divider for the MPC8568 local bus should be doubled, like the other newer MPC85xx chips. Since there are now more chips with a 2x divider than a 1x, and any new 85xx chips will probably be 2x, invert the sense of the #if so that it lists the 1x chips instead of the 2x ones. Signed-off-by:
Trent Piepho <tpiepho@freescale.com> Acked-by:
Kumar Gala <galak@kernel.crashing.org> Acked-by:
Jon Loeliger <jdl@freescale.com>
-
Dave Liu authored
If one custom board is using the 8MB flash, it is set as FLASH_BASE = 0xef000000, TEXT_BASE = 0xef780000. The current start.S code will be broken at switch_as. It is because the TLB1[15] is set as 16MB page size, EPN = TEXT_BASE & 0xff000000, RPN = 0xff000000. For the 8MB flash case, the EPN = 0xefxxxxxx, RPN = 0xffxxxxxx. Assume the virt address of switch_as is 0xef7ff18c, the real address of the instruction at switch_as should be 0xff7ff18c. the 0xff7ff18c is out of the range of the default 8MB boot LAW window 0xff800000 - 0xffffffff. So when we switch to AS1 address space at switch_as, the core can't fetch the instruction at switch_as any more. It will cause broken issue. Signed-off-by:
Dave Liu <daveliu@freescale.com>
-
Haiying Wang authored
Assuming the OSes exception vectors start from the base of kernel address, and the kernel physical starting address can be relocated to an non-zero address. This patch enables the second core to have a valid IVPR for debugger before kernel setting IVPR in CAMP mode. Otherwise, IVPR is 0x0 and it is not a valid value for second core which runs kernel at different physical address other than 0x0. Signed-off-by:
Haiying Wang <Haiying.Wang@freescale.com>
-
Trent Piepho authored
On newer CPUs, 8536, 8572, and 8610, the CLKDIV field of LCRR is five bits instead of four. In order to avoid an ifdef, LCRR_CLKDIV is set to 0x1f on all systems. It should be safe as the fifth bit was defined as reserved and set to 0. Code that was using a hard coded 0x0f is changed to use LCRR_CLKDIV. Signed-off-by:
Trent Piepho <tpiepho@freescale.com> Acked-by:
Kumar Gala <galak@kernel.crashing.org> Acked-by:
Jon Loeliger <jdl@freescale.com>
-
Trent Piepho authored
Export the localbus frequency in the device tree, the same way the CPU, TB, CCB, and various other frequencies are exported in their respective device tree nodes. Some localbus devices need this information to be programed correctly, so it makes sense to export it along with the other frequencies. Unfortunately, when someone wrote the localbus dts bindings, they didn't bother to define what the "compatible" property should be. So it seems no one was quite sure what to put in their dts files. Based on current existing dts files in the kernel source, I've used "fsl,pq3-localbus" and "fsl,elbc" for MPC85xx, which are used by almost all of the 85xx devices, and are looked for by the Linux code. The eLBC is apparently not entirely backward compatible with the pq3 LBC and so eLBC equipped platforms like 8572 won't use pq3-localbus. For MPC86xx, I've used "fsl,elbc" which is used by some of the 86xx systems and is also looked for by the Linux code. On MPC8641, I've also used "fsl,mpc8641-localbus" as it is also commonly used in dts files, some of which don't use "fsl,elbc" or any other acceptable name to match on. Signed-off-by:
Trent Piepho <tpiepho@freescale.com> Acked-by:
Kumar Gala <galak@kernel.crashing.org> Acked-by:
Jon Loeliger <jdl@freescale.com>
-
Kumar Gala authored
Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
- 06 Dec, 2008 1 commit
-
-
Peter Tyser authored
Use the GNU 'date' command to auto-generate a new U-Boot timestamp on every compile. Signed-off-by:
Peter Tyser <ptyser@xes-inc.com>
-
- 04 Dec, 2008 4 commits
-
-
Kumar Gala authored
Moved up the initialization of GD so C code like set_tlb() can use gd->flags to determine if we've relocated or not in the future. Signed-off-by:
Kumar Gala <galak@kernel.crashing.org> Acked-by:
Andy Fleming <afleming@freescale.com>
-
Kumar Gala authored
If the virtual address for CCSRBAR is the same after relocation but the physical address is changing we'd end up having two TLB entries with the same VA. Instead we new us the new CCSRBAR virt address + 4k as a temp virt address to access the old CCSRBAR to relocate it. Signed-off-by:
Kumar Gala <galak@kernel.crashing.org> Acked-by:
Andy Fleming <afleming@freescale.com>
-
Peter Tyser authored
Add define used to determine if PCI1 interface is in PCI or PCIX mode. Convert users of the old PORDEVSR_PCI constant to use MPC85xx_PORDEVSR_PCI1 Signed-off-by:
Peter Tyser <ptyser@xes-inc.com> Signed-off-by:
Andy Fleming <afleming@freescale.com>
-
Peter Tyser authored
All mpc8548-based boards should implement the suggested workaround to CPU 2 errata. Without the workaround, its possible for the 8548's core to hang while executing a msync or mbar 0 instruction and a snoopable transaction from an I/O master tagged to make quick forward progress is present. Signed-off-by:
Peter Tyser <ptyser@xes-inc.com> Acked-by:
Andy Fleming <afleming@freescale.com>
-
- 10 Nov, 2008 3 commits
-
-
Ben Warren authored
Removed initialization of the driver from net/eth.c Signed-off-by:
Ben Warren <biggerbadderben@gmail.com>
-
Ben Warren authored
Affected boards: Several MPC8xx boards Several MPC8260/MPC8272 boards Several MPC85xx boards Removed initialization of the driver from net/eth.c Signed-off-by:
Ben Warren <biggerbadderben@gmail.com>
-
Ben Warren authored
CONFIG_MPC85xx_FEC -> CONFIG_MPC85XX_FEC Signed-off-by:
Ben Warren <biggerbadderben@gmail.com>
-
- 24 Oct, 2008 3 commits
-
-
Dave Liu authored
The 8572 DDR erratum1: DDR controller may enter an illegal state when operating in 32-bit bus mode with 4-beat bursts. Description: When operating with a 32-bit bus, it is recommended that DDR_SDRAM_CFG[8_BE] is cleared when DDR2 memories are used. This forces the DDR controller to use 4-beat bursts when communicating to the DRAMs. However, an issue exists that could lead to data corruption when the DDR controller is in 32-bit bus mode while using 4-beat bursts. Projected Impact: If the DDR controller is operating in 32-bit bus mode with 4-beat bursts, then the controller may enter into a bad state. All subsequent reads from memory is corrupted. Four-beat bursts with a 32-bit bus only is used with DDR2 memories. Therefore, this erratum does not affect DDR3 mode. Work Arounds: To work around this issue, software must set DEBUG_1[31] in DDR memory mapped space (CCSRBAR offset + 0x2f00 for DDR_1 and CCSRBAR offset + 0x6f00 for DDR_2). Currenlty, the code is using incorrect register DDR_SDRAM_CFG_2 as condition, but it should be DDR_SDRAM_CFG register. Signed-off-by:
Dave Liu <daveliu@freescale.com>
-
Kumar Gala authored
Introduce CONFIG_E500MC to deal with the minor differences between e500v2 and e500mc. * Certain fields of HID0/1 don't exist anymore on e500mc * Cache line size is 64-bytes on e500mc * reset value of PIR is different Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
Kumar Gala authored
Using CONFIG_SYS_CACHELINE_SIZE instead of 31 means we can handle e500mc's 64-byte cacheline properly when it gets added. Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
- 21 Oct, 2008 1 commit
-
-
Wolfgang Denk authored
Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
- 18 Oct, 2008 4 commits
-
-
Ed Swarthout authored
Signed-off-by:
Ed Swarthout <Ed.Swarthout@freescale.com>
-
Andy Fleming authored
Some cores don't support ethernet stashing at all, and some instances have errata. Adds 3 properties to gianfar nodes which support stashing. For now, just add this support to 85xx SoCs. Signed-off-by:
Andy Fleming <afleming@freescale.com>
-
Kumar Gala authored
Added the ability for C code to invalidate the i/d-cache's and to flush the d-cache. This allows us to more efficient change mappings from cache-able to cache-inhibited. Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
Jean-Christophe PLAGNIOL-VILLARD authored
Signed-off-by:
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
- 17 Oct, 2008 1 commit
-
-
Kumar Gala authored
This reverts commit dffd2446 . The fix introduced by this patch is not correct. The problem is that the documentation is not correct for the MPC8544 with regards to which bit in PORDEVSR2 is for the SEC_CFG. Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
- 08 Oct, 2008 1 commit
-
-
Wolfgang Grandegger authored
Measurements with our MPC8544 board showed that the I2C bus frequency is wrong by a factor of 1.5. Obviously, the interpretation of the MPC85xx_PORDEVSR2_SEC_CFG bit of the cfg_sec_freq register is not correct. There seems to be an error in the 8544 RM. Signed-off-by:
Wolfgang Grandegger <wg@grandegger.com>
-