From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lothar =?UTF-8?B?V2HDn21hbm4=?= Date: Fri, 26 May 2017 10:08:45 +0200 Subject: [U-Boot] [PATCH v2 09/30] board_f: Add new function to allow runtime DTB selection In-Reply-To: <20170523174259.14797-10-fcooper@ti.com> References: <20170523174259.14797-1-fcooper@ti.com> <20170523174259.14797-10-fcooper@ti.com> Message-ID: <20170526100845.08e7c3ed@ipc1.ka-ro> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: u-boot@lists.denx.de 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. 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 ___________________________________________________________