Patchwork [U-Boot,1/2] cm-t35: clean unused defines from config

login
register
mail settings
Submitter Igor Grinberg
Date Oct. 7, 2012, 11:17 a.m.
Message ID <1349608655-11171-2-git-send-email-grinberg@compulab.co.il>
Download mbox | patch
Permalink /patch/189802/
State Accepted
Delegated to: Tom Rini
Headers show

Comments

Igor Grinberg - Oct. 7, 2012, 11:17 a.m.
Neither cm-t35, nor cm-t3730 is using OneNAND or flash.
Remove the related defines from config file.

Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
---
 include/configs/cm_t35.h |   12 +-----------
 1 files changed, 1 insertions(+), 11 deletions(-)
Tom Rini - Oct. 17, 2012, 3:40 p.m.
On Sun, Oct 07, 2012 at 01:17:34PM +0200, Igor Grinberg wrote:

> Neither cm-t35, nor cm-t3730 is using OneNAND or flash.
> Remove the related defines from config file.
> 
> Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>

Applied to u-boot-ti/master, thanks!

Patch

diff --git a/include/configs/cm_t35.h b/include/configs/cm_t35.h
index 46c556d..8e28fbc 100644
--- a/include/configs/cm_t35.h
+++ b/include/configs/cm_t35.h
@@ -289,25 +289,15 @@ 
  */
 
 /* **** PISMO SUPPORT *** */
-
 /* Configure the PISMO */
 #define PISMO1_NAND_SIZE		GPMC_SIZE_128M
-#define PISMO1_ONEN_SIZE		GPMC_SIZE_128M
-
-#define CONFIG_SYS_MONITOR_LEN		(256 << 10)	/* Reserve 2 sectors */
-
-#if defined(CONFIG_CMD_NAND)
-#define CONFIG_SYS_FLASH_BASE		PISMO1_NAND_BASE
-#endif
 
 /* Monitor at start of flash */
 #define CONFIG_SYS_MONITOR_BASE		CONFIG_SYS_FLASH_BASE
-#define CONFIG_SYS_ONENAND_BASE		ONENAND_MAP
+#define CONFIG_SYS_MONITOR_LEN		(256 << 10)	/* Reserve 2 sectors */
 
 #define CONFIG_ENV_IS_IN_NAND
-#define ONENAND_ENV_OFFSET		0x260000 /* environment starts here */
 #define SMNAND_ENV_OFFSET		0x260000 /* environment starts here */
-
 #define CONFIG_ENV_OFFSET		SMNAND_ENV_OFFSET
 #define CONFIG_ENV_ADDR			SMNAND_ENV_OFFSET