From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Subject: Re: [PATCH] arm: fdt: Relocate fdt along with other data Date: Fri, 28 Sep 2012 09:22:48 -0600 Message-ID: <5065C0C8.6070503@wwwdotorg.org> References: <1348796515-29008-1-git-send-email-sjg@chromium.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1348796515-29008-1-git-send-email-sjg-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Sender: "devicetree-discuss" To: Simon Glass Cc: U-Boot Mailing List , Devicetree Discuss , Jerry Van Baren , Albert Aribaud List-Id: devicetree@vger.kernel.org On 09/27/2012 07:41 PM, Simon Glass wrote: > Rather than leave the fdt down next to the code/data, we really should > relocate it along with everything else. For CONFIG_OF_EMBED this happens > automatically, but for CONFIG_OF_SEPARATE it does not. > > Add code to copy the fdt and point to the new copy after relocation. Tested-by: Stephen Warren (on Tegra Harmony board, on top of a merge of current u-boot/master, u-boot-usb/master, u-boot-tegra/next plus my CONFIG_SYS_BOOTMAPSZ and standard environment variable patches for Tegra)