From af9e6ad4ab29ffed5d4e08a5ccf75f3f28a83ab7 Mon Sep 17 00:00:00 2001 From: Cooper Jr., Franklin Date: Fri, 16 Jun 2017 17:25:12 -0500 Subject: board_f: Add new function to allow runtime DTB selection Runtime U-boot dtb selection is generally a two step process. First step is to simply use an initial generic dtb. The second step is to select the dtb and perhaps execute additional code ones U-boot knows what board it is running on. Embedded_dtb_select handles the second step by allowing board specific code to run and perform what ever necessary configuration that is needed. Signed-off-by: Franklin S Cooper Jr Reviewed-by: Tom Rini --- common/Kconfig | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'common/Kconfig') diff --git a/common/Kconfig b/common/Kconfig index a5e3a6b418a..086b6769376 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -437,6 +437,15 @@ config SYS_STDIO_DEREGISTER endmenu +config DTB_RESELECT + bool "Support swapping dtbs at a later point in boot" + depends on FIT_EMBED + 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 FIT_EMBED bool "Support a FIT image embedded in the U-boot image" help -- cgit v1.2.3