
--- On Wed, 1/28/09, Wolfgang Denk wd@denx.de wrote:
From: Wolfgang Denk wd@denx.de Subject: Re: [U-Boot] [PATCH] mpc83xx: fix undefined reference to `flush_cache' error in simpc8313 build To: "Kim Phillips" kim.phillips@freescale.com Cc: u-boot@lists.denx.de, "Ron Madrid" ron_madrid@sbcglobal.net 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