[U-Boot] [PATCH v2 7/7] tegra: Fix build error in plutux, medcom

Simon Glass sjg at chromium.org
Tue Nov 29 02:04:41 CET 2011


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 at chromium.org>
Acked-by: Stephen Warren <swarren at nvidia.com>
---
Changes in v2:
- Wrap nvedit error in commit message

 include/configs/medcom.h |    2 ++
 include/configs/plutux.h |    2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/include/configs/medcom.h b/include/configs/medcom.h
index 6a54925..2dc3507 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 033eda0..f869191 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
-- 
1.7.3.1



More information about the U-Boot mailing list