common: board_r: support enable_caches for RISC-V

The enable_caches is a generic hook for architecture-implemented, we
leverage this function to enable caches for RISC-V

Signed-off-by: Zong Li <zong.li@sifive.com>
Reviewed-by: Rick Chen <rick@andestech.com>
This commit is contained in:
Zong Li
2021-09-01 15:01:40 +08:00
committed by Leo Yu-Chi Liang
parent 43a2183928
commit 4d4222d074
2 changed files with 6 additions and 2 deletions

View File

@@ -70,3 +70,7 @@ __weak int dcache_status(void)
{
return 0;
}
__weak void enable_caches(void)
{
}