]> git.dujemihanovic.xyz Git - u-boot.git/commit
8xxx/ddr: add support to only compute the ddr sdram size
authorHaiying Wang <Haiying.Wang@freescale.com>
Wed, 1 Dec 2010 15:35:31 +0000 (10:35 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Thu, 20 Jan 2011 04:58:22 +0000 (22:58 -0600)
commitfc0c2b6fc929f1d4038c4f0de1b631170b8f397c
tree180b29ff47efa502ef8b7f83a481b301bd9a6b07
parente1ccf97c5d7651664d37c0c5aa243874b8851b2d
8xxx/ddr: add support to only compute the ddr sdram size

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@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/cpu/mpc8xxx/ddr/ctrl_regs.c
arch/powerpc/cpu/mpc8xxx/ddr/ddr.h
arch/powerpc/cpu/mpc8xxx/ddr/main.c