From mboxrd@z Thu Jan 1 00:00:00 1970 From: Josh Wu Date: Thu, 11 Jun 2015 13:21:44 +0800 Subject: [U-Boot] [resend][PATCH 0/2] ARM: cache: clean up the code to drop the empty stub functions In-Reply-To: <1433490452-26402-1-git-send-email-josh.wu@atmel.com> References: <1433490452-26402-1-git-send-email-josh.wu@atmel.com> Message-ID: <1434000106-5993-1-git-send-email-josh.wu@atmel.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de This series is based on the patch I sent: http://patchwork.ozlabs.org/patch/481095/ As above introduces the default empty function for invalidate_dcache_range() & flush_dcache_range() in arch/arm/lib/cache.c. So in this series, we can drop the empty stubs in arch/arm/cpu/ Also this series introduces a default function for flush_cache(). Josh Wu (2): ARM: cache: drop the empty dcache functions as we have it in lib/cache.c ARM: cache: implement a default flush_cache() function arch/arm/cpu/arm1136/cpu.c | 17 ----------------- arch/arm/cpu/arm926ejs/cache.c | 17 ----------------- arch/arm/cpu/armv7/cache_v7.c | 21 --------------------- arch/arm/cpu/armv8/cache_v8.c | 16 ---------------- arch/arm/lib/cache.c | 26 +++++--------------------- 5 files changed, 5 insertions(+), 92 deletions(-) -- 1.9.1