From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Mon, 26 Jan 2015 14:17:17 +0100 Subject: [U-Boot] [PATCH 12/19] powerpc: ppc4xx: Use CONFIG_OF_CONTROL for canyonlands boards In-Reply-To: <1418653194-16873-13-git-send-email-sjg@chromium.org> References: <1418653194-16873-1-git-send-email-sjg@chromium.org> <1418653194-16873-13-git-send-email-sjg@chromium.org> Message-ID: <54C63E5D.7040506@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 15.12.2014 15:19, Simon Glass wrote: > Enable CONFIG_OF_CONTROL so that U-Boot on these three boards uses a device > tree for its configuration. > > Signed-off-by: Simon Glass This need further work on the ppc4xx platforms to get it booting from flash. As now the dtb is appended to the "normal" U-Boot image. And this image is fine-tuned to fit into currently 512KiB. With the last word (reset vector of the ppc4xx) located at 0xffff.fffc. So we need to include this dtb into the image this way: 0xfff8.0000 U-Boot code / text etc ... dtb 0xffff.fffc reset vector Looking for the current options shows that perhaps CONFIG_OF_EMBED seems to be exactly what we are need. I'll got it working on Canyonlands after a bit of debugging. I'll post the necessary small patches soon... Thanks, Stefan