riscv: move sifive_l2_cache.c to drivers/soc
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:Christoph Hellwig <hch@lst.de> Reviewed-by:
Borislav Petkov <bp@suse.de> [paul.walmsley@sifive.com: keep the MAINTAINERS change specific to the L2$ controller code] Signed-off-by:
Paul Walmsley <paul.walmsley@sifive.com>
Showing
- MAINTAINERS 1 addition, 0 deletionsMAINTAINERS
- arch/riscv/mm/Makefile 0 additions, 1 deletionarch/riscv/mm/Makefile
- drivers/edac/Kconfig 1 addition, 1 deletiondrivers/edac/Kconfig
- drivers/soc/Kconfig 1 addition, 0 deletionsdrivers/soc/Kconfig
- drivers/soc/Makefile 1 addition, 0 deletionsdrivers/soc/Makefile
- drivers/soc/sifive/Kconfig 10 additions, 0 deletionsdrivers/soc/sifive/Kconfig
- drivers/soc/sifive/Makefile 3 additions, 0 deletionsdrivers/soc/sifive/Makefile
- drivers/soc/sifive/sifive_l2_cache.c 0 additions, 0 deletionsdrivers/soc/sifive/sifive_l2_cache.c
drivers/soc/sifive/Kconfig
0 → 100644
drivers/soc/sifive/Makefile
0 → 100644
File moved
Please register or sign in to comment