[U-Boot] [PATCH v2 09/30] board_f: Add new function to allow runtime DTB selection

Lothar Waßmann LW at KARO-electronics.de
Fri May 26 08:08:45 UTC 2017


Franklin S Cooper Jr <fcooper at ti.com> wrote:

> 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
>
s/ones/once/

> 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 at ti.com>
> ---
>  common/Kconfig   | 10 ++++++++++
>  common/board_f.c |  3 +++
>  include/common.h |  4 ++++
>  3 files changed, 17 insertions(+)
> 
> diff --git a/common/Kconfig b/common/Kconfig
> index 2429953..b6327f0 100644
> --- a/common/Kconfig
> +++ b/common/Kconfig
> @@ -421,6 +421,16 @@ config SYS_STDIO_DEREGISTER
>  
>  endmenu
>  
> +config DTB_RESELECT
> +	bool "Support swapping dtbs at a later point in boot"
> +	depends on FIT_EMBED
> +	default n
>
'default n' is redundant.


Lothar Waßmann
-- 
___________________________________________________________

Ka-Ro electronics GmbH | Pascalstraße 22 | D - 52076 Aachen
Phone: +49 2408 1402-0 | Fax: +49 2408 1402-10
Geschäftsführer: Matthias Kaussen
Handelsregistereintrag: Amtsgericht Aachen, HRB 4996

www.karo-electronics.de | info at karo-electronics.de
___________________________________________________________


More information about the U-Boot mailing list