From mboxrd@z Thu Jan 1 00:00:00 1970 From: Angelo Dureghello Date: Fri, 05 Jun 2015 23:29:03 +0200 Subject: [U-Boot] [PATCH v2 2/3] m68k: cache: add an empty stub functions for invalidate/flush dcache In-Reply-To: <1433490452-26402-2-git-send-email-josh.wu@atmel.com> References: <1433490452-26402-1-git-send-email-josh.wu@atmel.com> <1433490452-26402-2-git-send-email-josh.wu@atmel.com> Message-ID: <5572149F.1010900@sysam.it> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 05/06/2015 09:47, Josh Wu wrote: > Since some driver like ohci, lcd used dcache functions. But m68k don't > implement the invalidate_dcache_range()/flush_dcache_range() functions. > > To avoid compiling errors this patch adds an weak empty stub function > for all m68k cpu. > > Also each cpu can implement its own implementation. If not implemented > then by default is using an empty function. > > Signed-off-by: Josh Wu > --- > > Changes in v2: new added. > > arch/m68k/lib/cache.c | 9 +++++++++ > 1 file changed, 9 insertions(+) Acked-by: Angelo Dureghello