[U-Boot] [PATCH 6/6] tegra: Fix build error in plutux, medcom
Simon Glass
sjg at chromium.org
Wed Nov 23 23:59:08 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_{EEPROM|FLASH|DATAFLASH|ONENAND|SPI_FLASH|MG_DISK|NVRAM|MMC} or CONFIG_ENV_IS_NOWHERE
Signed-off-by: Simon Glass <sjg at chromium.org>
---
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