blob: cb7bc0945c58bc9edd93af3358c67c8581c0520b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
// SPDX-License-Identifier: GPL-2.0-only
#include <common.h>
#include <init.h>
#include <asm/mmu.h>
#include <asm/cache.h>
#include <asm/system_info.h>
int arm_set_cache_functions(void)
{
return 0;
}
/*
* Early function to flush the caches. This is for use when the
* C environment is not yet fully initialized.
*/
void arm_early_mmu_cache_flush(void)
{
v8_flush_dcache_all();
v8_invalidate_icache_all();
}
void arm_early_mmu_cache_invalidate(void)
{
v8_invalidate_dcache_all();
v8_invalidate_icache_all();
}
|