Patchwork [U-Boot,1/6] am335x_evm: Drop useless CONFIG_ENV_IS_NOWHERE

login
register
mail settings
Submitter Tom Rini
Date May 8, 2013, 10:45 p.m.
Message ID <1368053157-28317-1-git-send-email-trini@ti.com>
Download mbox | patch
Permalink /patch/242654/
State Superseded
Delegated to: Tom Rini
Headers show

Comments

Tom Rini - May 8, 2013, 10:45 p.m.
We always set a CONFIG_ENV_IS_...somewhere... so drop the initial define
of NOWHERE.

Signed-off-by: Tom Rini <trini@ti.com>
---
 include/configs/am335x_evm.h |    4 ----
 1 file changed, 4 deletions(-)
Peter Korsgaard - May 12, 2013, 8:54 p.m.
>>>>> "Tom" == Tom Rini <trini@ti.com> writes:

 Tom> We always set a CONFIG_ENV_IS_...somewhere... so drop the initial define
 Tom> of NOWHERE.

 Tom> Signed-off-by: Tom Rini <trini@ti.com>

Reviewed-by: Peter Korsgaard <jacmet@sunsite.dk>

Patch

diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
index ef00306..945ec09 100644
--- a/include/configs/am335x_evm.h
+++ b/include/configs/am335x_evm.h
@@ -298,8 +298,6 @@ 
 #define CONFIG_ENV_OVERWRITE		1
 #define CONFIG_SYS_CONSOLE_INFO_QUIET
 
-#define CONFIG_ENV_IS_NOWHERE
-
 /* Defines for SPL */
 #define CONFIG_SPL
 #define CONFIG_SPL_FRAMEWORK
@@ -434,7 +432,6 @@ 
  * 0x442000 - 0x800000 : Userland
  */
 #if defined(CONFIG_SPI_BOOT)
-# undef CONFIG_ENV_IS_NOWHERE
 # define CONFIG_ENV_IS_IN_SPI_FLASH
 # define CONFIG_ENV_SPI_MAX_HZ		CONFIG_SF_DEFAULT_SPEED
 # define CONFIG_ENV_OFFSET		(892 << 10) /* 892 KiB in */
@@ -481,7 +478,6 @@ 
 #define CONFIG_SYS_MAX_NAND_DEVICE	1		/* Max number of NAND
 							   devices */
 #if !defined(CONFIG_SPI_BOOT)
-#undef CONFIG_ENV_IS_NOWHERE
 #define CONFIG_ENV_IS_IN_NAND
 #define CONFIG_ENV_OFFSET		0x260000 /* environment starts here */
 #define CONFIG_SYS_ENV_SECT_SIZE	(128 << 10)	/* 128 KiB */