Files
Linux_Drivers/fsbl/lib/cpu/riscv/cpu_helper.c
sam.xiang 4bc998a131 [fsbl] add fsbl for cv181x/cv180x
Change-Id: I6809bc5016d4bc148f62be2ed3f8e928ec111f19
2023-03-10 20:33:00 +08:00

28 lines
370 B
C

#include <mmio.h>
#include <debug.h>
#include <assert.h>
#include <bl_common.h>
#include <platform.h>
#include <cpu.h>
#include "csr.h"
#include <arch_helpers.h>
void sync_cache(void)
{
asm volatile(
"icache.iall\n"
"sync.i\n"
:
:
: "memory");
}
void cpu_report_exception(unsigned int exception_type)
{
}
void enable_cache(struct cache_map *map)
{
}