[U-Boot] [PATCH 2/8] 8xxx/ddr: add support to only compute the ddr sdram size

Kumar Gala galak at kernel.crashing.org
Fri Jan 14 17:29:54 CET 2011


On Dec 1, 2010, at 9:35 AM, <Haiying.Wang at freescale.com> <Haiying.Wang at freescale.com> wrote:

> From: Haiying Wang <Haiying.Wang at freescale.com>
> 
> This patch adds fsl_ddr_sdram_size to only calculate the ddr sdram size, in
> case that the DDR SDRAM is initialized in the 2nd stage uboot and should not
> be intialized again in the final stage uboot.
> 
> Signed-off-by: Haiying Wang <Haiying.Wang at freescale.com>
> ---
> arch/powerpc/cpu/mpc8xxx/ddr/ctrl_regs.c |   10 ++++++++-
> arch/powerpc/cpu/mpc8xxx/ddr/ddr.h       |    8 ++++--
> arch/powerpc/cpu/mpc8xxx/ddr/main.c      |   31 +++++++++++++++++++++++++----
> 3 files changed, 40 insertions(+), 9 deletions(-)

applied

- k


More information about the U-Boot mailing list