diff options
author | Jean-Jacques Hiblot <jjhiblot@ti.com> | 2017-09-15 12:57:24 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-10-05 21:31:04 -0400 |
commit | 11955590a284ecb75892aad5f1174ca1b94a709b (patch) | |
tree | 7fb4c33ed9425437990c4994e778e768adc23248 /dts | |
parent | 84570a0c111ac50372d51271eadc13ff5cbb1a54 (diff) | |
download | u-boot-11955590a284ecb75892aad5f1174ca1b94a709b.zip u-boot-11955590a284ecb75892aad5f1174ca1b94a709b.tar.gz u-boot-11955590a284ecb75892aad5f1174ca1b94a709b.tar.bz2 |
dts: renamed FIT_EMBED to MULTI_DTB_FIT and moved it to the dts Kconfig
CONFIG_FIT_EMBED might be confused with CONFIG_OF_EMBED, rename it
MULTI_DTB_FIT as it is able to get a DTB from a FIT image containing
multiple DTBs. Also move the option to the Kconfig dedicated to the DTS
options and create a README for this feature.
Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'dts')
-rw-r--r-- | dts/Kconfig | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/dts/Kconfig b/dts/Kconfig index 4ee0510..454acaa 100644 --- a/dts/Kconfig +++ b/dts/Kconfig @@ -102,7 +102,7 @@ config DEFAULT_DEVICE_TREE config OF_LIST string "List of device tree files to include for DT control" - depends on SPL_LOAD_FIT || FIT_EMBED + depends on SPL_LOAD_FIT || MULTI_DTB_FIT default DEFAULT_DEVICE_TREE help This option specifies a list of device tree files to use for DT @@ -112,6 +112,24 @@ config OF_LIST device tree files (without the directory or .dtb suffix) separated by <space>. + +config DTB_RESELECT + bool "Support swapping dtbs at a later point in boot" + depends on MULTI_DTB_FIT + help + It is possible during initial boot you may need to use a generic + dtb until you can fully determine the board your running on. This + config allows boards to implement a function at a later point + during boot to switch to the "correct" dtb. + +config MULTI_DTB_FIT + bool "Support embedding several DTBs in a FIT image for u-boot" + help + This option provides hooks to allow U-boot to parse an + appended FIT image and enable board specific code to then select + the correct DTB to be used. Use this if you need to support + multiple DTBs but don't use the SPL. + config OF_SPL_REMOVE_PROPS string "List of device tree properties to drop for SPL" depends on SPL_OF_CONTROL |