- 12 Feb, 2009 1 commit
-
-
Stefan Roese authored
CONFIG_SDRAM_PPC4xx_IBM_DDR2 is not set when include/asm-ppc/config.h is included. So for katmai, CONFIG_MAX_MEM_MAPPED will get set to 256MB. It makes perfect sense to set CONFIG_MAX_MEM_MAPPED to 2GB for all PPC4xx boards right now. Signed-off-by:
Stefan Roese <sr@denx.de>
-
- 09 Feb, 2009 4 commits
-
-
Kumar Gala authored
Moved CONFIG_MAX_MEM_MAPPED to the asm/config.h so its kept consistent between the two current users (lib_ppc/board.c, 44x SPD DDR2). Signed-off-by:
Kumar Gala <galak@kernel.crashing.org> Acked-by:
Stefan Roese <sr@denx.de>
-
Kumar Gala authored
We have common defines that we duplicate in various ways. Having an arch specific config.h gives us a common location for those defines. Eventually we should be able to replace this when we have proper Kconfig support. Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
Becky Bruce authored
If CONFIG_ADDR_MAP is enabled, update the address map whenever we write a bat. Signed-off-by:
Becky Bruce <beckyb@kernel.crashing.org>
-
Becky Bruce authored
The BAT fields are architected; there's no need for these to be in cpu-specific files. Drop the duplication and move these to include/asm-ppc/mmu.h. Also, remove the BL_xxx defines that were only used by the alaska board, and switch to using the BATU_BL_xxx defines used by all the other boards. The BL_ defines previously in use had to be shifted into the proper position for use, which was inefficient. Signed-off-by:
Becky Bruce <beckyb@kernel.crashing.org>
-
- 03 Feb, 2009 2 commits
-
-
Ralph Kondziella authored
Original patch from Ralph Kondziella plus clean up by Wolfgang Denk plus changes by John Rigby use ips clock not lpc port forward to current u-boot release Signed-off-by:
Ralph Kondziella <rk@argos-messtechnik.de> Signed-off-by:
Wolfgang Denk <wd@denx.de> Signed-off-by:
John Rigby <jrigby@freescale.com>
-
Martha Marx authored
IIM (IC Identification Module) is the fusebox for the mpc5121. Use #define CONFIG_IIM to turn on the clock for this module use #define CONFIG_CMD_FUSE to add fusebox commands. Fusebox commands include the ability to read the status, read the register cache, override the register cache, program the fuses and sense them. Signed-off-by:
Martha Marx <mmarx@silicontkx.com> Signed-off-by:
John Rigby <jrigby@freescale.com>
-
- 23 Jan, 2009 4 commits
-
-
Gary Jennejohn authored
Right now this is only used by keymile. Signed-off-by:
Gary Jennejohn <garyj@denx.de>
-
Kumar Gala authored
The eLBC only handles 32-bit physical address in systems with 36-bit physical. The previos generation of LBC handled 34-bit physical address in 36-bit systems. Added a new CONFIG option to convey the difference between the LBC and eLBC. Also added defines for XAM bits used in LBC for the extended 34-bit support. Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
Dave Liu authored
Some 85xx processors have the advanced power management feature, such as wake up ARP, that needs enable the automatic self refresh. If the DDR controller pass the SR_IT (self refresh idle threshold) idle cycles, it will automatically enter self refresh. However, anytime one transaction is issued to the DDR controller, it will reset the counter and exit self refresh state. Signed-off-by:
Dave Liu <daveliu@freescale.com> Acked-by:
Andy Fleming <afleming@freescale.com>
-
Dave Liu authored
- The DDR3 controller is expanding the bits for timing config - Add the DDR3 32-bit bus mode support Signed-off-by:
Dave Liu <daveliu@freescale.com> Acked-by:
Andy Fleming <afleming@freescale.com>
-
- 22 Jan, 2009 1 commit
-
-
Anton Vorontsov authored
This patch adds support for MPC83xx PCI-E controllers in Root Complex mode. The patch is based on Tony Li and Dave Liu work[1]. Though unlike the original patch, by default we don't register PCI-E buses for use in U-Boot, we only configure the controllers for future use in other OSes (Linux). This is done because we don't have enough of spare BATs to map all the PCI-E regions. To actually use PCI-E in U-Boot, users should explicitly define CONFIG_83XX_GENERIC_PCIE_REGISTER_HOSES symbol in the board file. And only then U-Boot will able to access PCI-E, but at the cost of disabled address translation. [1] http://lists.denx.de/pipermail/u-boot/2008-January/027630.html Signed-off-by:
Tony Li <tony.li@freescale.com> Signed-off-by:
Anton Vorontsov <avorontsov@ru.mvista.com> Acked-by:
Dave Liu <daveliu@freescale.com> Signed-off-by:
Kim Phillips <kim.phillips@freescale.com>
-
- 20 Dec, 2008 4 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
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>
-
Kumar Gala authored
If we have addr map support enabled use the mapping functions to implement virt_to_phys() and map_physmem(). Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
Kumar Gala authored
Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
- 16 Dec, 2008 1 commit
-
-
Becky Bruce authored
Casting a pointer to a phys_addr_t when it's an unsigned long long on a 32-bit system without first casting to a non-pointer type generates a compiler warning. Fix this. Signed-off-by:
Becky Bruce <beckyb@kernel.crashing.org>
-
- 15 Dec, 2008 1 commit
-
-
Kumar Gala authored
virt_to_phys() returns the physical address given a virtual. In most cases this will be just the input value as the vast majority of systems run in a 1:1 mode. However in systems that are not running this way it should report the physical address or ~0 if no mapping exists for the given virtual address. Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
- 04 Dec, 2008 2 commits
-
-
Kumar Gala authored
The BR_PHYS_ADDR macro is useful on all machines that have local bus which is pretty much all 83xx/85xx/86xx chips. Additionally most 85xx & 86xx will need it if they want to support 36-bit physical addresses. 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>
-
- 21 Nov, 2008 1 commit
-
-
Dave Mitchell authored
Added include/asm-ppc/ppc4xx-isram.h and moved internal SRAM and L2 cache DCRs from ppc440.h to this new header. Also converted these DCR defines from lowercase to uppercase and modified referencing modules to use them. Signed-off-by:
Dave Mitchell <dmitch71@gmail.com> Signed-off-by:
Stefan Roese <sr@denx.de>
-
- 29 Oct, 2008 1 commit
-
-
Haiying Wang authored
- Rename lbus83xx_t to fsl_lbus_t and move it to asm/fsl_lbc.h so that it can be shared by both 83xx and 85xx - Remove lbus83xx_t and replace it with fsl_lbus_t in all 83xx boards files which use lbus83xx_t. - Move FMR, FIR, FCR, FPAR, LTESR from mpc83xx.h to asm/fsl_lbc.h so that 85xx can share them. Signed-off-by:
Jason Jin <Jason.Jin@freescale.com> Signed-off-by:
Haiying Wang <Haiying.Wang@freescale.com> Signed-off-by:
Scott Wood <scottwood@freescale.com>
-
- 27 Oct, 2008 1 commit
-
-
Peter Tyser authored
The MPC8572 has a 4-bit wide PORDEVSR IO_SEL field. Other MPC85xx processors have a 3-bit wide IO_SEL field but have the most significant bit is wired to 0 so this change should not affect them. Signed-off-by:
Peter Tyser <ptyser@xes-inc.com>
-
- 24 Oct, 2008 1 commit
-
-
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>
-
- 21 Oct, 2008 3 commits
-
-
Anton Vorontsov authored
The rfcks should be shifted by 28 bits left. We didn't notice the bug because we were using only 100MHz clocks (for which rfcks == 0). Though, for SGMII we'll need 125MHz clocks. Signed-off-by:
Anton Vorontsov <avorontsov@ru.mvista.com> Signed-off-by:
Kim Phillips <kim.phillips@freescale.com>
-
Stefan Roese authored
Previously only the NOR flash mapping was written into the ranges property of the ebc node. This patch now writes all enabled chip select areas into the ranges property. Signed-off-by:
Stefan Roese <sr@denx.de>
-
Timur Tabi authored
Commit f7d190b1 corrected the value of MPC85xx_PORDEVSR2_SEC_CFG, but forgot to add a comment that the correct value disagrees with the 8544 reference manual. The changelog for that commit is also wrong, as it says "bit 28" when it should be "bit 24". Signed-off-by:
Timur Tabi <timur@freescale.com>
-
- 18 Oct, 2008 5 commits
-
-
Haiying Wang authored
Because some dimm parameters like n_ranks needs to be used with the board frequency to choose the board parameters like clk_adjust etc. in the board_specific_paramesters table of the board ddr file, we need to pass the dimm parameters to the board file. * move ddr dimm parameters header file from /cpu to /include directory. * add ddr dimm parameters to populate board specific options. * Fix fsl_ddr_board_options() for all the 8xxx boards which call this function. Signed-off-by:
Haiying Wang <Haiying.Wang@freescale.com>
-
Haiying Wang authored
Fix some bugs: 1. Correctly set intlv_ctl in cs_config. 2. Correctly set sa, ea in cs_bnds when bank interleaving mode is enabled. 3. Set base_address and total memory for each ddr controller in memory controller interleaving mode. Signed-off-by:
Haiying Wang <Haiying.Wang@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>
-
richardretanubun authored
Added as a convenience for other platforms that uses MPC8360 (has 8 UCC). Six eth interface is chosen because the platform I am using combines UCC1&2 and UCC3&4 as 1000 Eth and the other four UCCs as 10/100 Eth. Signed-off-by:
Richard Retanubun <RichardRetanubun@RugggedCom.com> Signed-off-by:
Ben Warren <biggerbadderben@gmail.com>
-
- 17 Oct, 2008 3 commits
-
-
Yuri Tikhonov authored
Set the MQ Read Passing & MCIF Cycle limits to the recommended by AMCC values. This fixes the occasional 440SPe hard locking issues when the 440SPe's dedicated DMA engines are used (e.g. by the h/w accelerated RAID driver). Previously the appropriate initialization had been made in Linux, by the ppc440spe ADMA driver, which is wrong because modifying the MQ configuration registers after normal operation has begun is not supported and could have unpredictable results. Comment from Stefan: This patch doesn't change the resulting value of the MQ registers. It explicitly sets/clears all bits to the desired state which better documents the resulting register value instead of relying on pre-set default values. Signed-off-by:
Yuri Tikhonov <yur@emcraft.com> Signed-off-by:
Stefan Roese <sr@denx.de>
-
Stefan Roese authored
Set the MQ Read Passing & MCIF Cycle limits to the recommended by AMCC values. This fixes the occasional 440SPe hard locking issues when the 440SPe's dedicated DMA engines are used (e.g. by the h/w accelerated RAID driver). Previously the appropriate initialization had been made in Linux, by the ppc440spe ADMA driver, which is wrong because modifying the MQ configuration registers after normal operation has begun is not supported and could have unpredictable results. Comment from Stefan: This patch doesn't change the resulting value of the MQ registers. It explicitly sets/clears all bits to the desired state which better documents the resulting register value instead of relying on pre-set default values. Signed-off-by:
Yuri Tikhonov <yur@emcraft.com> Signed-off-by:
Stefan Roese <sr@denx.de>
-
Kumar Gala authored
The MPC8544 RM incorrect shows the SEC_CFG bit in PORDEVSR2 as being bit 26, instead it should be bit 28. This caused in incorrect interpretation of the i2c_clk which is the same as the SEC clk on MPC8544. The SEC clk is controlled by cfg_sec_freq that is reported in PORDEVSR2. Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
- 07 Oct, 2008 1 commit
-
-
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>
-
- 22 Sep, 2008 1 commit
-
-
Stefan Roese authored
This reverts commit 3eec160a . Signed-off-by:
Stefan Roese <sr@denx.de>
-
- 16 Sep, 2008 1 commit
-
-
Victor Gallardo authored
Signed-off-by:
Victor Gallardo <vgallardo@amcc.com> Signed-off-by:
Adam Graham <agraham@amcc.com> Signed-off-by:
Stefan Roese <sr@denx.de>
-
- 08 Sep, 2008 1 commit
-
-
Stefan Roese authored
This patch moves some 4xx specific prototypes out of include common.h to a ppc4xx specific header. Signed-off-by:
Stefan Roese <sr@denx.de>
-
- 06 Sep, 2008 1 commit
-
-
Mark Jackson authored
Added new CONFIG_DISABLE_CONSOLE define and GD_FLG_DISABLE_CONSOLE. When CONFIG_DISABLE_CONSOLE is defined, setting GD_FLG_DISABLE_CONSOLE disables all console input and output. Signed-off-by:
Mark Jackson <mpfj@mimc.co.uk>
-