summaryrefslogtreecommitdiff
path: root/common/board_f.c
diff options
context:
space:
mode:
authorCooper Jr., Franklin <fcooper@ti.com>2017-06-17 01:25:12 +0300
committerTom Rini <trini@konsulko.com>2017-07-10 21:25:54 +0300
commitaf9e6ad4ab29ffed5d4e08a5ccf75f3f28a83ab7 (patch)
tree2a29e27c40b717b0c3ffc2992f2fae254ffa0cfa /common/board_f.c
parent80364a42c151ca0307d63b4859e4d390d943c04e (diff)
downloadu-boot-af9e6ad4ab29ffed5d4e08a5ccf75f3f28a83ab7.tar.xz
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 <fcooper@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'common/board_f.c')
-rw-r--r--common/board_f.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/board_f.c b/common/board_f.c
index 2cdd12a503..ffa84e3566 100644
--- a/common/board_f.c
+++ b/common/board_f.c
@@ -809,6 +809,9 @@ static const init_fnc_t init_sequence_f[] = {
#if defined(CONFIG_DISPLAY_CPUINFO)
print_cpuinfo, /* display cpu info (and speed) */
#endif
+#if defined(CONFIG_DTB_RESELECT)
+ embedded_dtb_select,
+#endif
#if defined(CONFIG_DISPLAY_BOARDINFO)
show_board_info,
#endif