diff options
author | Adam Ford <aford173@gmail.com> | 2018-08-16 13:23:11 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-09-10 21:19:16 -0400 |
commit | 93b283d49f933f95f3a6f40762936f454ac655a8 (patch) | |
tree | 73100f23d055bae16636df9368a8d4558e459f3a /arch/arm/cpu/arm926ejs/mx25/generic.c | |
parent | 5f133bb7c519ebb069f74bbda428627ad28419c6 (diff) | |
download | u-boot-93b283d49f933f95f3a6f40762936f454ac655a8.tar.gz |
ARM: CPU: arm926ejs: Consolidate cache routines to common file
Four different boards had different options for enabling cache
that were virtually all the same. This consolidates these
common functions into arch/arm/cpu/arm926ejs/cache.c
This also has the positive side-effect of enabling cache on
the Davinci (da850) boards.
Signed-off-by: Adam Ford <aford173@gmail.com>
[trini: Add mach-at91 to the list of consolidations]
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch/arm/cpu/arm926ejs/mx25/generic.c')
-rw-r--r-- | arch/arm/cpu/arm926ejs/mx25/generic.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/arm/cpu/arm926ejs/mx25/generic.c b/arch/arm/cpu/arm926ejs/mx25/generic.c index e6eef36c0e..2795a5f22e 100644 --- a/arch/arm/cpu/arm926ejs/mx25/generic.c +++ b/arch/arm/cpu/arm926ejs/mx25/generic.c @@ -214,14 +214,6 @@ int print_cpuinfo(void) } #endif -void enable_caches(void) -{ -#ifndef CONFIG_SYS_DCACHE_OFF - /* Enable D-cache. I-cache is already enabled in start.S */ - dcache_enable(); -#endif -} - #if defined(CONFIG_FEC_MXC) /* * Initializes on-chip ethernet controllers. |