Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SoC/evalsoc: Fix compile error when I/D cache not present
make IC_EN=0 DC_EN=0 all ../../../SoC/evalsoc/Common/Source/system_evalsoc.c: In function '_premain_init': ../../../SoC/evalsoc/Common/Source/system_evalsoc.c:848:9: warning: implicit declaration of function 'ICachePresent' [-Wimplicit-function-declaration] 848 | if (ICachePresent()) { // Check whether icache real present or not | ^~~~~~~~~~~~~ ../../../SoC/evalsoc/Common/Source/system_evalsoc.c:863:9: warning: implicit declaration of function 'DCachePresent' [-Wimplicit-function-declaration] 863 | if (DCachePresent()) { // Check whether dcache real present or not Signed-off-by: Huaqi Fang <[email protected]>
- Loading branch information