Christian Marangi | c771b63 | 2025-03-14 19:59:21 +0100 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
2 | |||||
3 | #include <cpu_func.h> | ||||
4 | #include <dm.h> | ||||
5 | #include <init.h> | ||||
6 | #include <wdt.h> | ||||
7 | #include <dm/uclass-internal.h> | ||||
8 | |||||
9 | int arch_cpu_init(void) | ||||
10 | { | ||||
11 | icache_enable(); | ||||
12 | |||||
13 | return 0; | ||||
14 | } | ||||
15 | |||||
16 | void enable_caches(void) | ||||
17 | { | ||||
18 | /* Enable D-cache. I-cache is already enabled in start.S */ | ||||
19 | dcache_enable(); | ||||
20 | } |