提交 0cbb8a32 编写于 作者: L Loys Ollivier 提交者: Paul Walmsley

arch: riscv: add config option for building SiFive's SoC resource

Create a config option for building SiFive SoC specific resources
e.g. SiFive device tree, platform drivers...
Signed-off-by: NLoys Ollivier <lollivier@baylibre.com>
Cc: Paul Walmsley <paul.walmsley@sifive.com>
Cc: Palmer Dabbelt <palmer@sifive.com>
Reviewed-by: NPalmer Dabbelt <palmer@sifive.com>
Signed-off-by: NPaul Walmsley <paul.walmsley@sifive.com>
上级 556024d4
......@@ -95,6 +95,8 @@ config PGTABLE_LEVELS
default 3 if 64BIT
default 2
source "arch/riscv/Kconfig.socs"
menu "Platform type"
choice
......
menu "SoC selection"
config SOC_SIFIVE
bool "SiFive SoCs"
help
This enables support for SiFive SoC platform hardware.
endmenu
# SPDX-License-Identifier: GPL-2.0
dtb-y += hifive-unleashed-a00.dtb
dtb-$(CONFIG_SOC_SIFIVE) += hifive-unleashed-a00.dtb
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册