diff options
author | Cooper Jr., Franklin <fcooper@ti.com> | 2017-06-16 17:25:12 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-07-10 14:25:54 -0400 |
commit | af9e6ad4ab29ffed5d4e08a5ccf75f3f28a83ab7 (patch) | |
tree | 2a29e27c40b717b0c3ffc2992f2fae254ffa0cfa /include/common.h | |
parent | 80364a42c151ca0307d63b4859e4d390d943c04e (diff) |
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 'include/common.h')
-rw-r--r-- | include/common.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h index 1a98512ab61..751665f8a43 100644 --- a/include/common.h +++ b/include/common.h @@ -359,6 +359,10 @@ int get_env_id (void); void pci_init (void); void pci_init_board(void); +#if defined(CONFIG_DTB_RESELECT) +int embedded_dtb_select(void); +#endif + int misc_init_f (void); int misc_init_r (void); |