[U-Boot] [PATCH] ORIGEN : enable device tree support

angus.ainslie at linaro.org angus.ainslie at linaro.org
Sat Sep 10 00:02:02 CEST 2011


From: Angus Ainslie <angus.ainslie at linaro.org>

Enable passing a flattened device tree to the kernel.

Signed-off-by: Angus Ainslie <angus.ainslie at linaro.org>
---
 include/configs/origen.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/include/configs/origen.h b/include/configs/origen.h
index 889d5fc..380ef4f 100644
--- a/include/configs/origen.h
+++ b/include/configs/origen.h
@@ -165,4 +165,7 @@
 #define COPY_BL2_SIZE		0x80000
 #define BL2_START_OFFSET	((CONFIG_ENV_OFFSET + CONFIG_ENV_SIZE)/512)
 #define BL2_SIZE_BLOC_COUNT	(COPY_BL2_SIZE/512)
+
+/* Enable devicetree support */
+#define CONFIG_OF_LIBFDT
 #endif	/* __CONFIG_H */
-- 
1.7.4.1



More information about the U-Boot mailing list