From 0997561de956783ef1ac2f0acf649a0793882a3a Mon Sep 17 00:00:00 2001
From: Thomas Weber <weber@corscience.de>
Date: Sat, 26 Nov 2011 10:30:56 +0000
Subject: [PATCH] ARM: OMAP3: Remove unused define SDRC_R_C_B

This patch removes the unused definition of SDRC_R_C_B
from the config files.

Acked-by: Enric Balletbo i Serra <eballetbo@iseebcn.com>
Acked-by: Igor Grinberg <grinberg@compulab.co.il>
Signed-off-by: Thomas Weber <weber@corscience.de>
Acked-by: Luca Ceresoli <luca.ceresoli@comelit.it>
Acked-by: Tom Rini <trini@ti.com>
---
 include/configs/am3517_crane.h     | 3 ---
 include/configs/am3517_evm.h       | 3 ---
 include/configs/cm_t35.h           | 3 ---
 include/configs/devkit8000.h       | 3 ---
 include/configs/dig297.h           | 3 ---
 include/configs/igep0020.h         | 3 ---
 include/configs/igep0030.h         | 3 ---
 include/configs/omap3_beagle.h     | 3 ---
 include/configs/omap3_evm_common.h | 3 ---
 include/configs/omap3_mvblx.h      | 3 ---
 include/configs/omap3_overo.h      | 3 ---
 include/configs/omap3_pandora.h    | 3 ---
 include/configs/omap3_sdp3430.h    | 3 ---
 include/configs/omap3_zoom1.h      | 3 ---
 include/configs/omap3_zoom2.h      | 3 ---
 15 files changed, 45 deletions(-)

diff --git a/include/configs/am3517_crane.h b/include/configs/am3517_crane.h
index 8842a183f8..25ce2dab49 100644
--- a/include/configs/am3517_crane.h
+++ b/include/configs/am3517_crane.h
@@ -277,9 +277,6 @@
 #define PHYS_SDRAM_1_SIZE	(32 << 20)	/* at least 32 MiB */
 #define PHYS_SDRAM_2		OMAP34XX_SDRC_CS1
 
-/* SDRAM Bank Allocation method */
-#define SDRC_R_B_C		1
-
 /*-----------------------------------------------------------------------
  * FLASH and environment organization
  */
diff --git a/include/configs/am3517_evm.h b/include/configs/am3517_evm.h
index 1c70b9df69..87dd00f7ad 100644
--- a/include/configs/am3517_evm.h
+++ b/include/configs/am3517_evm.h
@@ -276,9 +276,6 @@
 #define PHYS_SDRAM_1_SIZE	(32 << 20)	/* at least 32 MiB */
 #define PHYS_SDRAM_2		OMAP34XX_SDRC_CS1
 
-/* SDRAM Bank Allocation method */
-#define SDRC_R_B_C		1
-
 /*-----------------------------------------------------------------------
  * FLASH and environment organization
  */
diff --git a/include/configs/cm_t35.h b/include/configs/cm_t35.h
index eca7dece05..2cba7fd714 100644
--- a/include/configs/cm_t35.h
+++ b/include/configs/cm_t35.h
@@ -295,9 +295,6 @@
 #define PHYS_SDRAM_1		OMAP34XX_SDRC_CS0
 #define PHYS_SDRAM_1_SIZE	(32 << 20)	/* at least 32 MiB */
 
-/* SDRAM Bank Allocation method */
-#define SDRC_R_B_C		1
-
 /*-----------------------------------------------------------------------
  * FLASH and environment organization
  */
diff --git a/include/configs/devkit8000.h b/include/configs/devkit8000.h
index 353e09f432..e27e2829d2 100644
--- a/include/configs/devkit8000.h
+++ b/include/configs/devkit8000.h
@@ -286,9 +286,6 @@
 #define PHYS_SDRAM_1_SIZE		(128 << 20)	/* at least 128 MiB */
 #define PHYS_SDRAM_2			OMAP34XX_SDRC_CS1
 
-/* SDRAM Bank Allocation method */
-#define SDRC_R_B_C			1
-
 /* NAND and environment organization  */
 #define PISMO1_NAND_SIZE		GPMC_SIZE_128M
 
diff --git a/include/configs/dig297.h b/include/configs/dig297.h
index 749be7e3b9..42aab27fac 100644
--- a/include/configs/dig297.h
+++ b/include/configs/dig297.h
@@ -281,9 +281,6 @@
 #define PHYS_SDRAM_1_SIZE	(32 << 20)	/* at least 32 MiB */
 #define PHYS_SDRAM_2		OMAP34XX_SDRC_CS1
 
-/* SDRAM Bank Allocation method */
-#define SDRC_R_B_C		1
-
 /*-----------------------------------------------------------------------
  * FLASH and environment organization
  */
diff --git a/include/configs/igep0020.h b/include/configs/igep0020.h
index a3b58cf926..56fd6de231 100644
--- a/include/configs/igep0020.h
+++ b/include/configs/igep0020.h
@@ -237,9 +237,6 @@
 #define PHYS_SDRAM_1_SIZE	(32 << 20)	/* at least 32 meg */
 #define PHYS_SDRAM_2		OMAP34XX_SDRC_CS1
 
-/* SDRAM Bank Allocation method */
-#define SDRC_R_B_C		1
-
 /*
  * FLASH and environment organization
  */
diff --git a/include/configs/igep0030.h b/include/configs/igep0030.h
index 96b366b98a..36346187f8 100644
--- a/include/configs/igep0030.h
+++ b/include/configs/igep0030.h
@@ -235,9 +235,6 @@
 #define PHYS_SDRAM_1_SIZE	(32 << 20)	/* at least 32 meg */
 #define PHYS_SDRAM_2		OMAP34XX_SDRC_CS1
 
-/* SDRAM Bank Allocation method */
-#define SDRC_R_B_C		1
-
 /*
  * FLASH and environment organization
  */
diff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h
index 13af58479e..d280451a69 100644
--- a/include/configs/omap3_beagle.h
+++ b/include/configs/omap3_beagle.h
@@ -349,9 +349,6 @@
 #define PHYS_SDRAM_1_SIZE	(32 << 20)	/* at least 32 MiB */
 #define PHYS_SDRAM_2		OMAP34XX_SDRC_CS1
 
-/* SDRAM Bank Allocation method */
-#define SDRC_R_B_C		1
-
 /*-----------------------------------------------------------------------
  * FLASH and environment organization
  */
diff --git a/include/configs/omap3_evm_common.h b/include/configs/omap3_evm_common.h
index c459f949d3..d11de5ad28 100644
--- a/include/configs/omap3_evm_common.h
+++ b/include/configs/omap3_evm_common.h
@@ -73,9 +73,6 @@
 #define PHYS_SDRAM_1_SIZE		(32 << 20)
 #define PHYS_SDRAM_2			OMAP34XX_SDRC_CS1
 
-/* SDRAM Bank Allocation method */
-#define SDRC_R_B_C
-
 /* Limits for memtest */
 #define CONFIG_SYS_MEMTEST_START	(OMAP34XX_SDRC_CS0)
 #define CONFIG_SYS_MEMTEST_END		(OMAP34XX_SDRC_CS0 + \
diff --git a/include/configs/omap3_mvblx.h b/include/configs/omap3_mvblx.h
index f2c5309962..04b683ef21 100644
--- a/include/configs/omap3_mvblx.h
+++ b/include/configs/omap3_mvblx.h
@@ -269,9 +269,6 @@
 #define PHYS_SDRAM_1_SIZE	(32 << 20)	/* at least 32 MiB */
 #define PHYS_SDRAM_2		OMAP34XX_SDRC_CS1
 
-/* SDRAM Bank Allocation method */
-#define SDRC_R_B_C		1
-
 #define CONFIG_ENV_IS_NOWHERE	1
 
 /*----------------------------------------------------------------------------
diff --git a/include/configs/omap3_overo.h b/include/configs/omap3_overo.h
index 9f01fc48aa..ae2247f979 100644
--- a/include/configs/omap3_overo.h
+++ b/include/configs/omap3_overo.h
@@ -256,9 +256,6 @@
 #define PHYS_SDRAM_1_SIZE	(32 << 20)	/* at least 32 MiB */
 #define PHYS_SDRAM_2		OMAP34XX_SDRC_CS1
 
-/* SDRAM Bank Allocation method */
-#define SDRC_R_B_C		1
-
 /*-----------------------------------------------------------------------
  * FLASH and environment organization
  */
diff --git a/include/configs/omap3_pandora.h b/include/configs/omap3_pandora.h
index e2fda2602b..558934246a 100644
--- a/include/configs/omap3_pandora.h
+++ b/include/configs/omap3_pandora.h
@@ -240,9 +240,6 @@
 #define PHYS_SDRAM_1_SIZE	(32 << 20)	/* at least 32 MiB */
 #define PHYS_SDRAM_2		OMAP34XX_SDRC_CS1
 
-/* SDRAM Bank Allocation method */
-#define SDRC_R_B_C		1
-
 #define CONFIG_SYS_TEXT_BASE		0x80008000
 #define CONFIG_SYS_SDRAM_BASE		PHYS_SDRAM_1
 #define CONFIG_SYS_INIT_RAM_ADDR	0x4020f800
diff --git a/include/configs/omap3_sdp3430.h b/include/configs/omap3_sdp3430.h
index d3d25abc3f..5500ede660 100644
--- a/include/configs/omap3_sdp3430.h
+++ b/include/configs/omap3_sdp3430.h
@@ -322,9 +322,6 @@
 #define PHYS_SDRAM_1_SIZE	(32 << 20) /* at least 32 meg */
 #define PHYS_SDRAM_2		OMAP34XX_SDRC_CS1
 
-/* SDRAM Bank Allocation method */
-#define SDRC_R_B_C		1
-
 /*--------------------------------------------------------------------------*/
 
 /*
diff --git a/include/configs/omap3_zoom1.h b/include/configs/omap3_zoom1.h
index 1224c4839c..fcfdfda3a7 100644
--- a/include/configs/omap3_zoom1.h
+++ b/include/configs/omap3_zoom1.h
@@ -271,9 +271,6 @@
 #define PHYS_SDRAM_1_SIZE	(32 << 20)	/* at least 32 MiB */
 #define PHYS_SDRAM_2		OMAP34XX_SDRC_CS1
 
-/* SDRAM Bank Allocation method */
-#define SDRC_R_B_C		1
-
 /*-----------------------------------------------------------------------
  * FLASH and environment organization
  */
diff --git a/include/configs/omap3_zoom2.h b/include/configs/omap3_zoom2.h
index 8432ae31e0..3f71dcaf9e 100644
--- a/include/configs/omap3_zoom2.h
+++ b/include/configs/omap3_zoom2.h
@@ -239,9 +239,6 @@
 #define PHYS_SDRAM_1_SIZE	(32 << 20)	/* at least 32 MiB */
 #define PHYS_SDRAM_2		OMAP34XX_SDRC_CS1
 
-/* SDRAM Bank Allocation method */
-#define SDRC_R_B_C		1
-
 /*-----------------------------------------------------------------------
  * FLASH and environment organization
  */
-- 
2.39.5