• Christoph Hellwig's avatar
    riscv: move sifive_l2_cache.c to drivers/soc · 9209fb51
    Christoph Hellwig authored
    The sifive_l2_cache.c is in no way related to RISC-V architecture
    memory management.  It is a little stub driver working around the fact
    that the EDAC maintainers prefer their drivers to be structured in a
    certain way that doesn't fit the SiFive SOCs.
    
    Move the file to drivers/soc and add a Kconfig option for it, as well
    as the whole drivers/soc boilerplate for CONFIG_SOC_SIFIVE.
    
    Fixes: a967a289 ("RISC-V: sifive_l2_cache: Add L2 cache controller driver for SiFive SoCs")
    Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
    Reviewed-by: default avatarBorislav Petkov <bp@suse.de>
    [paul.walmsley@sifive.com: keep the MAINTAINERS change specific to the L2$ controller code]
    Signed-off-by: default avatarPaul Walmsley <paul.walmsley@sifive.com>
    9209fb51
Makefile 81 Bytes