From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Sun, 23 Oct 2011 11:53:23 +0200 Subject: [U-Boot] [Patch v2 6/7] powerpc/mpc8349emds: Migrate from spd_sdram to unified DDR driver In-Reply-To: <2A6300E8-A874-49AC-84CB-BE681AF1BF90@freescale.com> References: <1314383566-7099-1-git-send-email-yorksun@freescale.com> <1314383566-7099-6-git-send-email-yorksun@freescale.com> <2A6300E8-A874-49AC-84CB-BE681AF1BF90@freescale.com> Message-ID: <20111023095323.2087511F9E79@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Kumar Gala, In message <2A6300E8-A874-49AC-84CB-BE681AF1BF90@freescale.com> you wrote: > > On Aug 26, 2011, at 1:32 PM, York Sun wrote: > > > Update MPC8349EMDS to use unified DDR driver instead of spd_sdram.c. > > The unified driver can initialize data using DDR controller. No need to > > use DMA if just to initialze for ECC. > > > > Signed-off-by: York Sun > > Signed-off-by: Kim Phillips > > --- > > board/freescale/mpc8349emds/Makefile | 1 + > > board/freescale/mpc8349emds/ddr.c | 107 +++++++++++++++++++++++++++++ > > board/freescale/mpc8349emds/mpc8349emds.c | 26 ++++--- > > include/configs/MPC8349EMDS.h | 16 ++++ > > 4 files changed, 139 insertions(+), 11 deletions(-) > > create mode 100644 board/freescale/mpc8349emds/ddr.c > > applied to 85xx 'next' Did you test it??? This patch breaks out-of-tree building of the MPC8349EMDS board: + MAKEALL_LOGDIR=/work/wd/tmp-ppc-LOG + BUILD_DIR=/work/wd/tmp-ppc + ./MAKEALL MPC8349EMDS Configuring for MPC8349EMDS board... make[1]: *** No rule to make target `/work/wd/tmp-ppc/arch/powerpc/cpu/mpc83xx/.depend.ddr-gen2', needed by `/work/wd/tmp-ppc/arch/powerpc/cpu/mpc83xx/.depend'. Stop. make[1]: *** No rule to make target `/work/wd/tmp-ppc/arch/powerpc/cpu/mpc83xx/.depend.ddr-gen2', needed by `/work/wd/tmp-ppc/arch/powerpc/cpu/mpc83xx/.depend'. Stop. make: *** [depend] Error 2 [Local building works.] Note also that "make distclean" still leaves a file arch/powerpc/cpu/mpc83xx/ddr-gen2.c Please fix this, too. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Overflow on /dev/null, please empty the bit bucket.