[PATCH v2 1/1] riscv: define a cache line size for the generic CPU

Bin Meng bmeng.cn at gmail.com
Fri Jul 21 18:16:52 CEST 2023


On Sat, Jul 22, 2023 at 12:01 AM Heinrich Schuchardt
<heinrich.schuchardt at canonical.com> wrote:
>
> The USB 3.0 driver xhci-mem.c requires CONFIG_SYS_CACHELINE_SIZE to be set.
>
> Define the cache line size for QEMU on RISC-V to be 64 bytes.
>
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
> ---
> v2:
>         Select SYS_CACHE_SHIFT_6 for GENERIC_RISCV and not for
>         TARGET_QEMU_VIRT (as suggested by Bin)
> ---
>  arch/riscv/cpu/generic/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
>

Reviewed-by: Bin Meng <bmeng at tinylab.org>


More information about the U-Boot mailing list