summaryrefslogtreecommitdiff
path: root/arch/mips/lib
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2020-05-14 12:59:03 +0300
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2020-07-18 15:23:25 +0300
commit2eed3dca229e97aa03954ee5178457c4f2f8cfdb (patch)
tree61100bd50c69a9e14f471b0219bbc7189a9421e9 /arch/mips/lib
parentc37281310593c01981516bb706242f80295a1308 (diff)
downloadu-boot-2eed3dca229e97aa03954ee5178457c4f2f8cfdb.tar.xz
mips: cache: Allow using CONFIG_MIPS_L2_CACHE without CONFIG_MIPS_CM
This patch enables the usage of CONFIG_MIPS_L2_CACHE without CONFIG_MIPS_CM, which is what is needed for the newly added Octeon platform. Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'arch/mips/lib')
-rw-r--r--arch/mips/lib/cache.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/mips/lib/cache.c b/arch/mips/lib/cache.c
index 24f115ebc9..b5c42aeed7 100644
--- a/arch/mips/lib/cache.c
+++ b/arch/mips/lib/cache.c
@@ -8,9 +8,7 @@
#include <cpu_func.h>
#include <asm/cache.h>
#include <asm/cacheops.h>
-#ifdef CONFIG_MIPS_L2_CACHE
#include <asm/cm.h>
-#endif
#include <asm/io.h>
#include <asm/mipsregs.h>
#include <asm/system.h>