public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v2 1/3] mx28evk: Remove extra CONFIG_ENV_SIZE
@ 2014-05-08 23:35 Fabio Estevam
  2014-05-08 23:35 ` [U-Boot] [PATCH v2 2/3] mx28evk: Add a target for SPI NOR boot Fabio Estevam
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Fabio Estevam @ 2014-05-08 23:35 UTC (permalink / raw)
  To: u-boot

From: Fabio Estevam <fabio.estevam@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@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

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-05-28 15:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-08 23:35 [U-Boot] [PATCH v2 1/3] mx28evk: Remove extra CONFIG_ENV_SIZE Fabio Estevam
2014-05-08 23:35 ` [U-Boot] [PATCH v2 2/3] mx28evk: Add a target for SPI NOR boot Fabio Estevam
2014-05-08 23:35 ` [U-Boot] [PATCH v2 3/3] mx28evk: Add documentation on how to boot from SPI NOR Fabio Estevam
2014-05-19 13:06   ` Fabio Estevam
2014-05-28 15:30 ` [U-Boot] [PATCH v2 1/3] mx28evk: Remove extra CONFIG_ENV_SIZE Stefano Babic
2014-05-28 15:34 ` Stefano Babic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox