提交 fef4c142 编写于 作者: F Fang Yafen 提交者: Zheng Zengkai

arm64: add Raspberry Pi specific config: CONFIG_OPENEULER_RASPBERRYPI for openEuler

raspberrypi inclusion
category: feature
bugzilla: 50432

------------------------------

Add new config CONFIG_OPENEULER_RASPBERRYPI to denote that the compiled kernel will be used for Raspberry Pi.
Signed-off-by: NFang Yafen <yafen@iscas.ac.cn>
Reviewed-by: NXie XiuQi <xiexiuqi@huawei.com>
Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
上级 6478286a
...@@ -1353,6 +1353,7 @@ CONFIG_MAILBOX=y ...@@ -1353,6 +1353,7 @@ CONFIG_MAILBOX=y
CONFIG_BCM2835_MBOX=y CONFIG_BCM2835_MBOX=y
# CONFIG_IOMMU_SUPPORT is not set # CONFIG_IOMMU_SUPPORT is not set
CONFIG_RASPBERRYPI_POWER=y CONFIG_RASPBERRYPI_POWER=y
CONFIG_OPENEULER_RASPBERRYPI=y
CONFIG_EXTCON_ARIZONA=m CONFIG_EXTCON_ARIZONA=m
CONFIG_IIO=m CONFIG_IIO=m
CONFIG_IIO_BUFFER_CB=m CONFIG_IIO_BUFFER_CB=m
......
...@@ -23,6 +23,13 @@ config RASPBERRYPI_POWER ...@@ -23,6 +23,13 @@ config RASPBERRYPI_POWER
This enables support for the RPi power domains which can be enabled This enables support for the RPi power domains which can be enabled
or disabled via the RPi firmware. or disabled via the RPi firmware.
config OPENEULER_RASPBERRYPI
bool "Raspberry Pi specific config for openEuler"
default n
select ARCH_BCM2835
help
This enables support for the Raspberry Pi devices specific code in openEuler kernel.
config SOC_BCM63XX config SOC_BCM63XX
bool "Broadcom 63xx SoC drivers" bool "Broadcom 63xx SoC drivers"
depends on BMIPS_GENERIC || COMPILE_TEST depends on BMIPS_GENERIC || COMPILE_TEST
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册