diff options
author | Yu-Chien Peter Lin <peter.lin@sifive.com> | 2025-01-10 16:53:08 +0800 |
---|---|---|
committer | Leo Yu-Chi Liang <ycliang@andestech.com> | 2025-01-16 15:34:30 +0800 |
commit | 6be961a75834ad4f6f42d034be7c5a4551fdc20e (patch) | |
tree | 0e6dbf3207f973d52fb566335d12e416126e54fe /arch/arm/lib/stack.c | |
parent | 4492c8db60f0cd452151e0cdfd1b5aaf671baaca (diff) |
Kconfig: Add a default cache line size for RISC-V
The RISC-V ISA profile RVA23U64 requires extension Zic64b (Cache blocks
must be 64 bytes in size, naturally aligned in the address space).
Some RISC-V platforms do not define the d-cache line size through SYS_CACHE_SHIFT_n.
Set a default value of 64 bytes for such cases.
Signed-off-by: Yu-Chien Peter Lin <peter.lin@sifive.com>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
Diffstat (limited to 'arch/arm/lib/stack.c')
0 files changed, 0 insertions, 0 deletions