git.openpandora.org
/
pandora-u-boot.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
5e5f3f084258cc1ad53cd401fe0d2fba3a2b0a22
[pandora-u-boot.git]
/
arch
/
arm
/
mach-mediatek
/
cpu.c
1
// SPDX-License-Identifier: GPL-2.0
2
/*
3
* Copyright (C) 2018 MediaTek Inc.
4
*/
5
6
#include <common.h>
7
#include <cpu_func.h>
8
#include <dm.h>
9
#include <wdt.h>
10
#include <dm/uclass-internal.h>
11
12
int arch_cpu_init(void)
13
{
14
icache_enable();
15
16
return 0;
17
}
18
19
void enable_caches(void)
20
{
21
/* Enable D-cache. I-cache is already enabled in start.S */
22
dcache_enable();
23
}