From: Wolfgang Denk Date: Wed, 28 Jan 2009 10:01:51 +0100 Subject: [U-Boot] [PATCH] mpc83xx: fix undefined reference to `flush_cache' error in simpc8313 build In-Reply-To: <20090127160353.ec184554.kim.phillips@freescale.com> References: <20090127160353.ec184554.kim.phillips@freescale.com> Message-ID: <20090128090151.D6ABC832E416@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 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. 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 In the beginning, I was made. I didn't ask to be made. No one consul- ted with me or considered my feelings in this matter. But if it brought some passing fancy to some lowly humans as they haphazardly pranced their way through life's mournful jungle, then so be it. - Marvin the Paranoid Android