blob: a578e9646649db0a97b16cfa9d4b9b6706774da7 [file] [log] [blame]
Christian Marangic771b632025-03-14 19:59:21 +01001// 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
9int arch_cpu_init(void)
10{
11 icache_enable();
12
13 return 0;
14}
15
16void enable_caches(void)
17{
18 /* Enable D-cache. I-cache is already enabled in start.S */
19 dcache_enable();
20}