[PATCH v8 21/21] tegra: fdt: Enable FDT support for Ventana

Simon Glass sjg at chromium.org
Wed Mar 7 14:10:33 EST 2012


From: Tom Warren <twarren at nvidia.com>

This switches Ventana over to use FDT for run-time config instead of
CONFIG options.

At present Ventana does not have its own device tree file - it just uses
the Seaboard one.

Signed-off-by: Tom Warren <twarren at nvidia.com>
Signed-off-by: Simon Glass <sjg at chromium.org>
Acked-by: Simon Glass <sjg at chromium.org>
---
Changes in v8:
- Add Tom's patch to enable FDT support on Ventana

 include/configs/ventana.h |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/include/configs/ventana.h b/include/configs/ventana.h
index acc9b43..3e55fe5 100644
--- a/include/configs/ventana.h
+++ b/include/configs/ventana.h
@@ -27,6 +27,11 @@
 #include <asm/sizes.h>
 #include "tegra2-common.h"
 
+/* Enable fdt support for Ventana. Flash the image in u-boot-dtb.bin */
+#define CONFIG_DEFAULT_DEVICE_TREE	tegra2-seaboard
+#define CONFIG_OF_CONTROL
+#define CONFIG_OF_SEPARATE
+
 /* High-level configuration options */
 #define TEGRA2_SYSMEM		"mem=384M at 0M nvmem=128M at 384M mem=512M at 512M"
 #define V_PROMPT		"Tegra2 (Ventana) # "
-- 
1.7.7.3



More information about the devicetree-discuss mailing list