[U-Boot,05/12] ARM: rpi_b: enable CONFIG_OF_LIBFDT

Submitted by Stephen Warren on July 4, 2012, 2:02 a.m.

Details

Message ID 1341367375-11467-6-git-send-email-swarren@wwwdotorg.org
State Changes Requested
Delegated to: Tom Rini
Headers show

Commit Message

Stephen Warren July 4, 2012, 2:02 a.m.
This allows bootm/bootz to pass a device tree to the kernel.

Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
---
 include/configs/rpi_b.h |    3 +++
 1 file changed, 3 insertions(+)

Comments

Tom Rini July 9, 2012, 12:24 p.m.
On Tue, Jul 03, 2012 at 08:02:48PM -0600, Stephen Warren wrote:
> This allows bootm/bootz to pass a device tree to the kernel.
> 
> Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>

FWIW, I would combine this, 6 and 7 into a single commit and say "Enable
booting the Linux Kernel" and in the body mention that today we use
ATAGS and as the code moves into mainline device trees will be used and
required, so enable both for now.  This is roughly what I'm saying in my
to-post series enhancing the am335x_evm support.

Patch hide | download patch | download mbox

diff --git a/include/configs/rpi_b.h b/include/configs/rpi_b.h
index 9268efb..52379b9 100644
--- a/include/configs/rpi_b.h
+++ b/include/configs/rpi_b.h
@@ -87,4 +87,7 @@ 
 #undef CONFIG_CMD_NFS
 #undef CONFIG_CMD_SAVEENV
 
+/* Device tree support for bootm/bootz */
+#define CONFIG_OF_LIBFDT
+
 #endif