[fsbl] add fsbl for cv181x/cv180x
Change-Id: I6809bc5016d4bc148f62be2ed3f8e928ec111f19
This commit is contained in:
14
fsbl/include/cpu/riscv/arch_helpers.h
Normal file
14
fsbl/include/cpu/riscv/arch_helpers.h
Normal file
@ -0,0 +1,14 @@
|
||||
#ifndef __ARCH_HELPERS_H__
|
||||
#define __ARCH_HELPERS_H__
|
||||
//#include <cpu.h> /* for additional register definitions */
|
||||
#include <cdefs.h> /* For __dead2 */
|
||||
#include <stdint.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
void flush_dcache_range(uintptr_t addr, size_t size);
|
||||
void clean_dcache_range(uintptr_t addr, size_t size);
|
||||
void inv_dcache_range(uintptr_t addr, size_t size);
|
||||
void enable_dcache(void);
|
||||
void disable_dcache(void);
|
||||
|
||||
#endif /* __ARCH_HELPERS_H__ */
|
||||
Reference in New Issue
Block a user