[U-Boot] [PATCH v2 09/30] board_f: Add new function to allow runtime DTB selection
Franklin S Cooper Jr
fcooper at ti.com
Fri May 26 18:24:50 UTC 2017
On 05/26/2017 03:08 AM, Lothar Waßmann wrote:
> 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.
>
>
Tom mentioned this also in my v1 patch and I forgot to fix it in this
patchset. I've sent a v3 that already drops this.
https://patchwork.ozlabs.org/patch/766537/
> Lothar Waßmann
>
More information about the U-Boot
mailing list