- Jan 23, 2009
-
-
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>
-
- Dec 20, 2008
-
-
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>
-
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>
-
- Nov 10, 2008
-
-
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>
-
- Oct 24, 2008
-
-
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>
-
- Oct 21, 2008
-
-
Wolfgang Denk authored
Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
- Oct 18, 2008
-
-
Ed Swarthout authored
Signed-off-by:
Ed Swarthout <Ed.Swarthout@freescale.com>
-
Jean-Christophe PLAGNIOL-VILLARD authored
Signed-off-by:
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
- Oct 07, 2008
-
-
Jason Jin authored
On 8536DS board, When the DDR clk is set async mode(SW3[6:8] != 111), The display is still sync mode DDR freq. This patch try to fix this. The display DDR freq is now the actual freq in both sync and async mode. Signed-off-by:
Jason Jin <Jason.jin@freescale.com>
-
- Sep 09, 2008
-
-
Sergei Poselenov authored
Signed-off-by:
Sergei Poselenov <sposelenov@emcraft.com>
-
Sergei Poselenov authored
Signed-off-by:
Sergei Poselenov <sposelenov@emcraft.com>
-
- Sep 03, 2008
-
-
Andy Fleming authored
The tsec driver contains a hard-coded array of configuration information for the tsec ethernet controllers. We create a default function that works for most tsecs, and allow that to be overridden by board code. It creates an array of tsec_info structures, which are then parsed by the corresponding driver instance to determine configuration. Also, add regs, miiregs, and devname fields to the tsec_info structure, so that we don't need the kludgy "index" parameter. Signed-off-by:
Andy Fleming <afleming@freescale.com> Signed-off-by:
Ben Warren <biggerbadderben@gmail.com>
-
- Aug 27, 2008
-
-
Kumar Gala authored
The MPC8536 Adds SDHC and SATA controllers to the PQ3 family. We also have SERDES init code for the 8536. Signed-off-by:
Kumar Gala <galak@kernel.crashing.org> Signed-off-by:
Srikanth Srinivasan <srikanth.srinivasan@freescale.com> Signed-off-by:
Dejan Minic <minic@freescale.com> Signed-off-by:
Jason Jin <Jason.jin@freescale.com> Signed-off-by:
Dave Liu <daveliu@freescale.com>
-
Kumar Gala authored
Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
- Jul 14, 2008
-
-
Kim Phillips authored
Signed-off-by:
Kim Phillips <kim.phillips@freescale.com>
-
- Jul 06, 2008
-
-
Ben Warren authored
This patch is the first step in cleaning up net/eth.c, by moving Ethernet initialization to CPU or board-specific code. Initial implementation is only on the Freescale TSEC controller, but others will be added soon. Signed-off-by:
Ben Warren <biggerbadderben@gmail.com>
-
- Jun 28, 2008
-
-
Wolfgang Denk authored
Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
- Jun 19, 2008
-
-
Anatolij Gustschin authored
Building for 4xx doesn't work since commit 4dbdb768: In file included from 4xx_pcie.c:28: include/asm/processor.h:971: error: expected ')' before 'ver' make[1]: *** [4xx_pcie.o] Error 1 This patch fixes the problem. Signed-off-by:
Anatolij Gustschin <agust@denx.de> Acked-by:
Stefan Roese <sr@denx.de> Acked-by:
Kumar Gala <galak@kernel.crashing.org>
-
- Jun 11, 2008
-
-
Sergei Poselenov authored
Signed-off-by:
Sergei Poselenov <sposelenov@emcraft.com> Signed-off-by:
Andy Fleming <afleming@freescale.com>
-
- Jun 10, 2008
-
-
Wolfgang Grandegger authored
The boot output is now aligned poperly with other boot output lines, e.g.: FLASH: 128 MB L2: 512 KB enabled Signed-off-by:
Wolfgang Grandegger <wg@grandegger.com>
-
Kumar Gala authored
The current cpu identification code is used just to return the name of the processor at boot. There are some other locations that the name is useful (device tree setup). Expose the functionality to other bits of code. Also, drop the 'E' suffix and add it on by looking at the SVR version when we print this out. This is mainly to allow the most flexible use of the name. The device tree code tends to not care about the 'E' suffix. Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
- Jun 09, 2008
-
-
Kumar Gala authored
Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
- May 20, 2008
-
-
Sergei Poselenov authored
Signed-off-by:
Sergei Poselenov <sposelenov@emcraft.com>
-
- Apr 24, 2008
-
-
Kumar Gala authored
eg. because of rounding error we can get 799Mhz instead of 800Mhz. Introduced DIV_ROUND_UP and roundup taken from linux kernel. Signed-off-by:
Dejan Minic <minic@freescale.com> Signed-off-by:
Srikanth Srinivasan <srikanth.srinivasan@freescale.com> Signed-off-by:
Kumar Gala <galak@kernel.crashing.org> Acked-by:
Andy Fleming <afleming@freescale.com>
-
- Mar 26, 2008
-
-
James Yang authored
Show the DDR memory data rate in addition to the memory clock frequency. For DDR/DDR2 memories the memory data rate is 2x the memory clock. Signed-off-by:
James Yang <James.Yang@freescale.com> Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
James Yang authored
Speed up get_tbclk() by referencing pre-computed bus clock frequency value from global data instead of sys_info_t. Fix rounding of result to nearest; previously it was rounding upwards. Signed-off-by:
James Yang <James.Yang@freescale.com> Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
Andy Fleming authored
FSL has taken to using SVR[16:23] as an SOC sub-version field. This is used to distinguish certain variants within an SOC family. To account for this, we add the SVR_SOC_VER() macro, and update the SVR_* constants to reflect the larger value. We also add SVR numbers for all of the current variants. Finally, to make things neater, rather than use an enormous switch statement to print out the CPU type, we create and array of SVR/name pairs (using a macro), and print out the CPU name that matches the SVR SOC version. Signed-off-by:
Andy Fleming <afleming@freescale.com>
-
- Dec 12, 2007
-
-
Kumar Gala authored
The MPC8572 introduces the concept of an asynchronous DDR clock with regards to the platform clock. Introduce get_ddr_freq() to report the DDR freq regardless of sync/async mode. Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
Kumar Gala authored
In the future the offsets to various blocks may not be in same location. Move to using CFG_MPC85xx_*_ADDR as the base of the registers instead of getting it via &immap. Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
Kumar Gala authored
Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
- Oct 19, 2007
-
-
urwithsughosh@gmail.com authored
Hello, This patch ensures the soft reset of the board for the 85xx boards by setting the MSR[DE] in the do_reset function. Signed-off-by:
Sughosh Ganu <urwithsughosh@gmail.com>
-
- Aug 14, 2007
-
-
Andy Fleming authored
Signed-off-by:
Haiying Wang <Haiying.Wang@freescale.com> Signed-off-by:
Andy Fleming <afleming@freescale.com>
-
- May 16, 2007
-
-
Kim Phillips authored
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>
-
- May 05, 2007
-
-
Wolfgang Denk authored
Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
- May 02, 2007
-
-
Andy Fleming authored
This included some changes to common files: * Add 8568 processor SVR to various places * Add support for setting the qe bus-frequency value in the dts * Add the 8568MDS target to the Makefile Signed-off-by:
Andy Fleming <afleming@freescale.com>
-
- Apr 24, 2007
-
-
Timur Tabi authored
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>
-
Andy Fleming authored
* Cleaned up the TSR[WIS] clearing * Cleaned up DMA initialization Signed-off-by:
Ed Swarthout <Ed.Swarthout@freescale.com> Signed-off-by:
Jon Loeliger <jdl@freescale.com> Acked-by:
Andy Fleming <afleming@freescale.com>
-