diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2020-04-28 12:13:58 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2020-05-06 09:25:21 +0200 |
commit | 7268270e05b206ed33c3b7b9dfc3c118e428b514 (patch) | |
tree | ed0aaa1c9af3f163ae27e7fea697df35802e75c2 /arch/arm/mach-mxs | |
parent | bbae6c793f2aae9686573074e7603b3d9c0828fb (diff) | |
download | barebox-7268270e05b206ed33c3b7b9dfc3c118e428b514.tar.gz |
arm: mxs: Add Kconfig option for device tree boards
Boards supporting device tree have to make sure OFTREE and OFDEVICE are
selected. Add a convenience option pulling in the right options and
select it from the boards.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mxs')
-rw-r--r-- | arch/arm/mach-mxs/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-mxs/Kconfig b/arch/arm/mach-mxs/Kconfig index b3a7c6259c..f7d13569ea 100644 --- a/arch/arm/mach-mxs/Kconfig +++ b/arch/arm/mach-mxs/Kconfig @@ -9,6 +9,11 @@ config ARCH_TEXT_BASE default 0x47000000 if MACH_MX28EVK default 0x47000000 if MACH_CFA10036 +config ARCH_MXS_OF_SUPPORT + bool + select OFTREE + select OFDEVICE + comment "Freescale i.MX System-on-Chip" choice @@ -57,12 +62,14 @@ config MACH_TX28 config MACH_MX28EVK bool "mx28-evk" select MXS_OCOTP + select ARCH_MXS_OF_SUPPORT help Say Y here if you are using the Freescale i.MX28-EVK board config MACH_DUCKBILL bool "Duckbill" select MXS_OCOTP + select ARCH_MXS_OF_SUPPORT help Say Y here if you are using the I2SE Duckbill board |