summaryrefslogtreecommitdiffstats
path: root/arch/mips/boot/main_entry.c
diff options
context:
space:
mode:
authorOleksij Rempel <o.rempel@pengutronix.de>2019-10-21 13:50:20 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2019-10-23 09:05:54 +0200
commit9305f5c09159d8488014a8619f0af4ffdfb71003 (patch)
tree06deaa413bbd8e5fd9e94285717a69bd9ccba2dc /arch/mips/boot/main_entry.c
parent0ca2c61a2b99ea56b1e9a44ae3df1483245d299e (diff)
downloadbarebox-9305f5c09159d8488014a8619f0af4ffdfb71003.tar.gz
barebox-9305f5c09159d8488014a8619f0af4ffdfb71003.tar.xz
MIPS: move r4k_cache_init in to cpu_probe function
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/mips/boot/main_entry.c')
-rw-r--r--arch/mips/boot/main_entry.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/mips/boot/main_entry.c b/arch/mips/boot/main_entry.c
index 4ae4457e7e..2c18bc81c3 100644
--- a/arch/mips/boot/main_entry.c
+++ b/arch/mips/boot/main_entry.c
@@ -77,12 +77,6 @@ void __bare_init main_entry(void *fdt, u32 fdt_size)
cpu_probe();
- if (cpu_has_4k_cache) {
- extern void r4k_cache_init(void);
-
- r4k_cache_init();
- }
-
trap_init();
malloc_end = (unsigned long)_stext;