[U-Boot] [RESEND][PATCH 03/24] sh3: remove unused cache.c file from being built

Simon Glass sjg at chromium.org
Wed Nov 30 01:33:06 CET 2016


On 27 November 2016 at 15:15, Vladimir Zapolskiy <vz at mleia.com> wrote:
> The change is similar to commit 994b56616bae ("sh: delete an unused
> source file") for SH2, however here the removed cache.c file was
> built and included into an image as a dead code.
>
> If it is needed in future the contents can be reused from a similar
> arch/sh/cpu/sh4/cache.c file, which is in turn will be moved to
> a shared among all core flavours location at arch/sh/lib/cache.c.
>
> Signed-off-by: Vladimir Zapolskiy <vz at mleia.com>
> ---
>  arch/sh/cpu/sh3/Makefile |  2 +-
>  arch/sh/cpu/sh3/cache.c  | 96 ------------------------------------------------
>  2 files changed, 1 insertion(+), 97 deletions(-)
>  delete mode 100644 arch/sh/cpu/sh3/cache.c

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list