Files
system76-coreboot/src/arch/arm/armv4/cache.c
Elyes HAOUAS f70bd99d2a src: Remove unused '#include <stdint.h>'
unused includes of <stdin.h> found using following commande:
diff <(git grep -l '#include <stdint.h>' -- src/) <(git grep -l
'int8_t\|uint8_t\|int16_t\|uint16_t\|int32_t\|uint32_t\|int64_t\|
uint64_t\|intptr_t\|uintptr_t\|intmax_t\|uintmax_t\|s8\|u8\|s16\|
u16\|s32\|u32\|s64\|u64\|INT8_MIN\|INT8_MAX\|UINT8_MAX\|INT16_MIN\
|INT16_MAX\|UINT16_MAX\|INT32_MIN\|INT32_MAX\|UINT32_MAX\|INT64_MIN\
|INT64_MAX\|UINT64_MAX\|INTMAX_MIN\|INTMAX_MAX\|UINTMAX_MAX' -- src/)
|grep '<' |grep -v vendor |grep -vF '.h'

Change-Id: Icb9b54c6abfb18d1e263665981968a4d7cccabeb
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/41148
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2020-05-13 08:48:17 +00:00

61 lines
941 B
C

/* SPDX-License-Identifier: BSD-3-Clause */
/*
* cache.c: Cache maintenance routines for ARMv7-A and ARMv7-R
*
* Reference: ARM Architecture Reference Manual, ARMv7-A and ARMv7-R edition
*/
#include <arch/cache.h>
void tlb_invalidate_all(void)
{
}
void dcache_clean_all(void)
{
}
void dcache_clean_invalidate_all(void)
{
}
void dcache_invalidate_all(void)
{
}
unsigned int dcache_line_bytes(void)
{
/*
* TODO: Implement this correctly. For now we just return a
* reasonable value. It was added during Nyan development and
* may be used in bootblock code. It matters only if dcache is
* turned on.
*/
return 64;
}
void dcache_clean_by_mva(void const *addr, size_t len)
{
}
void dcache_clean_invalidate_by_mva(void const *addr, size_t len)
{
}
void dcache_invalidate_by_mva(void const *addr, size_t len)
{
}
void dcache_mmu_disable(void)
{
}
void dcache_mmu_enable(void)
{
}
void cache_sync_instructions(void)
{
}