From: Simon Glass <sjg@chromium.org>
Date: Mon, 28 Nov 2011 15:04:41 +0000 (+0000)
Subject: tegra: Fix build error in plutux, medcom
X-Git-Tag: v2025.01-rc5-pxa1908~18234^2~8
X-Git-Url: http://git.dujemihanovic.xyz/img/static/%7B%7B%20%28.OutputFormats.Get?a=commitdiff_plain;h=a783bdb870047a837ec4928d4c3d222b1b1b506c;p=u-boot.git

tegra: Fix build error in plutux, medcom

We need to define CONFIG_ENV_IS_NOWHERE to avoid this error:

cmd_nvedit.c:69:3: error: #error Define one of CONFIG_ENV_IS_IN_...

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

diff --git a/include/configs/medcom.h b/include/configs/medcom.h
index 6a54925bd7..2dc350762d 100644
--- a/include/configs/medcom.h
+++ b/include/configs/medcom.h
@@ -41,6 +41,8 @@
 
 #define CONFIG_BOARD_EARLY_INIT_F
 
+#define CONFIG_ENV_IS_NOWHERE
+
 /* SD/MMC */
 #define CONFIG_MMC
 #define CONFIG_GENERIC_MMC
diff --git a/include/configs/plutux.h b/include/configs/plutux.h
index 033eda025f..f869191f34 100644
--- a/include/configs/plutux.h
+++ b/include/configs/plutux.h
@@ -41,6 +41,8 @@
 
 #define CONFIG_BOARD_EARLY_INIT_F
 
+#define CONFIG_ENV_IS_NOWHERE
+
 /* SD/MMC */
 #define CONFIG_MMC
 #define CONFIG_GENERIC_MMC