From: Franklin S Cooper Jr Date: Fri, 26 May 2017 13:24:50 -0500 Subject: [U-Boot] [PATCH v2 09/30] board_f: Add new function to allow runtime DTB selection In-Reply-To: <20170526100845.08e7c3ed@ipc1.ka-ro> References: <20170523174259.14797-1-fcooper@ti.com> <20170523174259.14797-10-fcooper@ti.com> <20170526100845.08e7c3ed@ipc1.ka-ro> Message-ID: <0f934b5d-ccb8-5a4a-898e-ba01559d50e1@ti.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: u-boot@lists.denx.de On 05/26/2017 03:08 AM, Lothar Waßmann wrote: > Franklin S Cooper Jr 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 >> --- >> 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 >