[U-Boot] [PATCH 1/2] mx28evk: Remove unneeded 'undef'

Fabio Estevam festevam at gmail.com
Sun Aug 19 01:28:11 CEST 2012


From: Fabio Estevam <fabio.estevam at freescale.com>

There is no need to undef an option that is not enabled by default.

Signed-off-by: Fabio Estevam <fabio.estevam at freescale.com>
---
 include/configs/mx28evk.h |    1 -
 1 file changed, 1 deletion(-)

diff --git a/include/configs/mx28evk.h b/include/configs/mx28evk.h
index 4e70617..b677e51 100644
--- a/include/configs/mx28evk.h
+++ b/include/configs/mx28evk.h
@@ -215,7 +215,6 @@
 #define CONFIG_SF_DEFAULT_SPEED		24000000
 
 /* (redundant) environemnt in SPI flash */
-#undef CONFIG_ENV_IS_IN_SPI_FLASH
 #ifdef CONFIG_ENV_IS_IN_SPI_FLASH
 #define CONFIG_SYS_REDUNDAND_ENVIRONMENT
 #define CONFIG_ENV_SIZE			0x1000		/* 4KB */
-- 
1.7.9.5



More information about the U-Boot mailing list