Hello, Following is a patch series that adds a SOC_SIFIVE config. The purpose of this config is to group all the code specific to the SiFive architecture such as device tree and platform drivers. The initial thought/discussion came from [0]. [0] https://lore.kernel.org/linux-riscv/20190602080500.31700-1-paul.walmsley@xxxxxxxxxx/ Loys Ollivier (3): arch: riscv: add config option for building SiFive's SoC resource riscv: select SiFive platform drivers with SOC_SIFIVE riscv: defconfig: enable SOC_SIFIVE arch/riscv/Kconfig | 2 ++ arch/riscv/Kconfig.socs | 13 +++++++++++++ arch/riscv/boot/dts/sifive/Makefile | 2 +- arch/riscv/configs/defconfig | 6 +----- 4 files changed, 17 insertions(+), 6 deletions(-) create mode 100644 arch/riscv/Kconfig.socs -- 2.7.4