From: Tom Rini Date: Wed, 10 May 2017 13:51:30 -0400 Subject: [U-Boot] Allow boards to initialize the DT at runtime. In-Reply-To: <20170402082520.32546-1-deymo@google.com> References: <20170402082520.32546-1-deymo@google.com> Message-ID: <20170510175130.GJ12511@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sun, Apr 02, 2017 at 01:25:20AM -0700, Alex Deymo wrote: > In some boards like the Raspberry Pi the initial bootloader will pass > a DT to the kernel. When using U-boot as such kernel, the board code in > U-Boot should be able to provide U-boot with this, already assembled > device tree blob. > > This patch introduces a new config option CONFIG_OF_BOARD to use instead > of CONFIG_OF_EMBED or CONFIG_OF_SEPARATE which will initialize the DT > from a board-specific funtion instead of bundling one with U-boot or as > a separated file. This allows boards like the Raspberry Pi to reuse the > device tree passed from the bootcode.bin and start.elf firmware > files, included the run-time selected device tree overlays. > > Signed-off-by: Alex Deymo > Reviewed-by: Simon Glass After doing the rewords Simon suggested, applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: