[U-Boot] [PATCH v2 1/3] mx28evk: Remove extra CONFIG_ENV_SIZE
Fabio Estevam
festevam at gmail.com
Fri May 9 01:35:34 CEST 2014
From: Fabio Estevam <fabio.estevam at freescale.com>
When building a target with CONFIG_ENV_IS_IN_SPI_FLASH the following build
warning is seen:
include/configs/mx28evk.h:73:0: warning: "CONFIG_ENV_SIZE" redefined [enabled by default]
Each target has its own CONFIG_ENV_SIZE definition, so remove the one that
does not belong to any target.
While at it, fix a typo.
Signed-off-by: Fabio Estevam <fabio.estevam at freescale.com>
---
Changes since v1:
- None
include/configs/mx28evk.h | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/include/configs/mx28evk.h b/include/configs/mx28evk.h
index 9b9124a..e5370f3 100644
--- a/include/configs/mx28evk.h
+++ b/include/configs/mx28evk.h
@@ -48,7 +48,6 @@
#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1
/* Environment */
-#define CONFIG_ENV_SIZE (16 * 1024)
#define CONFIG_ENV_OVERWRITE
/* Environment is in MMC */
@@ -67,7 +66,7 @@
(CONFIG_ENV_OFFSET + CONFIG_ENV_RANGE)
#endif
-/* Environemnt is in SPI flash */
+/* Environment is in SPI flash */
#if defined(CONFIG_CMD_SF) && defined(CONFIG_ENV_IS_IN_SPI_FLASH)
#define CONFIG_SYS_REDUNDAND_ENVIRONMENT
#define CONFIG_ENV_SIZE 0x1000 /* 4KB */
--
1.8.3.2
More information about the U-Boot
mailing list