diff mbox

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

Message ID 1331089833-25262-22-git-send-email-sjg@chromium.org
State Not Applicable, archived
Headers show

Commit Message

Simon Glass March 7, 2012, 3:10 a.m. UTC
From: Tom Warren <twarren@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@nvidia.com>
Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Simon Glass <sjg@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(-)

Comments

Stephen Warren March 7, 2012, 5:10 p.m. UTC | #1
On 03/06/2012 08:10 PM, Simon Glass wrote:
> From: Tom Warren <twarren@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.

But there's a Ventana-specific tegra-ventana.dts in the kernel...

> Signed-off-by: Tom Warren <twarren@nvidia.com>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> Acked-by: Simon Glass <sjg@chromium.org>

Have you tested this on Ventana in mainline U-Boot?
--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Simon Glass March 7, 2012, 5:14 p.m. UTC | #2
Hi Stephen,

On Wed, Mar 7, 2012 at 9:10 AM, Stephen Warren <swarren@wwwdotorg.org> wrote:
> On 03/06/2012 08:10 PM, Simon Glass wrote:
>> From: Tom Warren <twarren@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.
>
> But there's a Ventana-specific tegra-ventana.dts in the kernel...

Yes, that's right. Perhaps we should drop this patch for now? Ventana
will still build, just not have USB support.

>
>> Signed-off-by: Tom Warren <twarren@nvidia.com>
>> Signed-off-by: Simon Glass <sjg@chromium.org>
>> Acked-by: Simon Glass <sjg@chromium.org>
>
> Have you tested this on Ventana in mainline U-Boot?

I have not, but I think Tom has - maybe Tom you can reply Tested-by here if so?

Regards,
Simon
--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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@0M nvmem=128M@384M mem=512M@512M"
 #define V_PROMPT		"Tegra2 (Ventana) # "