diff options
author | Shenwei Wang <shenwei.wang@nxp.com> | 2018-09-28 15:37:32 -0500 |
---|---|---|
committer | Shenwei Wang <shenwei.wang@nxp.com> | 2018-09-28 16:13:13 -0500 |
commit | 26766be89286cad4946655b3004ab0fc4ef63a65 (patch) | |
tree | e19cfb6ef44ee683c7688184fd1ec5502f78c104 /dts | |
parent | 2e8a6b6ec6fec342c1076668e11a28676e8c27eb (diff) |
MLK-19767: imx7ulp: configs: add a new macro for kernel dtb
The current u-boot configures the fdt_file environment variable
to the file name of that built together with u-boot. Sometimes
Linux kernel needs another dtb file other than the one built with
u-boot. For example, imx7ulp needs to build imx7ulp-evk-qspi.dts for
u-boot, but the kernel needs imx7ulp-evk.dts. Adding this new
macro to let the user have an option to specify a dtb file to run
Linux kernel.
Signed-off-by: Shenwei Wang <shenwei.wang@nxp.com>
Diffstat (limited to 'dts')
-rw-r--r-- | dts/Kconfig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dts/Kconfig b/dts/Kconfig index 0cef225ba9e..a04be55e8e0 100644 --- a/dts/Kconfig +++ b/dts/Kconfig @@ -29,6 +29,10 @@ config OF_CONTROL This feature provides for run-time configuration of U-Boot via a flattened device tree. +config KERNEL_USE_STD_DTB + string "Specify the dtb file name for Linux kernel" + default DEFAULT_DEVICE_TREE + config OF_BOARD_FIXUP bool "Board-specific manipulation of Device Tree" help |