From: Ron Madrid Date: Wed, 28 Jan 2009 10:45:30 -0800 (PST) Subject: [U-Boot] [PATCH] mpc83xx: fix undefined reference to `flush_cache' error in simpc8313 build In-Reply-To: <20090128090151.D6ABC832E416@gemini.denx.de> Message-ID: <107578.37644.qm@web83507.mail.sp1.yahoo.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de --- On Wed, 1/28/09, Wolfgang Denk wrote: > From: Wolfgang Denk > Subject: Re: [U-Boot] [PATCH] mpc83xx: fix undefined reference to `flush_cache' error in simpc8313 build > To: "Kim Phillips" > Cc: u-boot at lists.denx.de, "Ron Madrid" > Date: Wednesday, January 28, 2009, 1:01 AM > Dear Kim Phillips, > > In message > <20090127160353.ec184554.kim.phillips@freescale.com> > you wrote: > > extend commit c70564e6b1bd08f3230182392238907f3531a87e > > "NAND: Fix cache and memory inconsistency > issue" to add the cache.o dependency > > to the simpc8313 build and fix this: > > > > ...Large Page NAND...Configuring for SIMPC8313 > board... > > nand_boot_fsl_elbc.o: In function `nand_boot': > > > nand_spl/board/sheldon/simpc8313/nand_boot_fsl_elbc.c:150: > undefined reference to `flush_cache' > > make[1]: *** > [/home/r1aaha/git/u-boot-mpc83xx/nand_spl/u-boot-spl] Error > 1 > > make: *** [nand_spl] Error 2 > > > > Signed-off-by: Kim Phillips > > > --- > > Ron, if you ack/confirm this doesn't break your > board, I'll apply this > > to u-boot-mpc83xx. > > I went ahead and applied this to fix the build issue. > Please complain > if it doesn't work. So I take it that the build worked for you? My build failed. ./MAKEALL SIMPC8313_LP ...Large Page NAND...Configuring for SIMPC8313 board... ppc_6xx-ld:/home/ron/develop/u-boot-mpc83xx/nand_spl/board/sheldon/simpc8313/u-boot.lds:51: parse error make[1]: *** [/home/ron/develop/u-boot-mpc83xx/nand_spl/u-boot-spl] Error 1 make: *** [nand_spl] Error 2 make: *** Waiting for unfinished jobs.... ppc_6xx-size: './u-boot': No such file Ron