]> git.sur5r.net Git - u-boot/commit
powerpc/ddr: fix fsl_ddr_get_dimm_params compile error
authorShaohui Xie <Shaohui.Xie@freescale.com>
Thu, 28 Jun 2012 23:36:38 +0000 (23:36 +0000)
committerAndy Fleming <afleming@freescale.com>
Wed, 8 Aug 2012 22:13:38 +0000 (17:13 -0500)
commit98de369b1ca49a3c6d1b6408e78d05cbf2f3ea5d
treeca36336dfa710c805b65013996820b6748f7a452
parent0f57f6a3fe26a9c2d69b34e9caf8f83082d77636
powerpc/ddr: fix fsl_ddr_get_dimm_params compile error

fsl_ddr_get_dimm_params() should be wrapped by
CONFIG_SYS_DDR_RAW_TIMING, otherwise, when using fixed_sdram() instead of
using SPD, it will cause compile error.

Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com>
Acked-by: York Sun <yorksun@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
arch/powerpc/cpu/mpc8xxx/ddr/main.c