Skip to contentSkip to conversation

Remove unused definitions from config files

PATCH Superseded Thomas Weber 2 participants 7 messages Nov 18, 2011 – Nov 20, 2011

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

cover Remove unused definitions from config files

This patchset removes some unused definitions from the config files. It is mostly omap3 centred.

Thomas Weber (3):
ARM: OMAP3: Remove unused define CONFIG_OMAP3430
ARM: OMAP3: Remove unused define SDRC_R_C_B
ARM: OMAP: Remove STACKSIZE for IRQ and FIQ if unused

 include/configs/am3517_crane.h     |    5 -----
 include/configs/am3517_evm.h       |    5 -----
 include/configs/apollon.h          |    4 ----
 include/configs/cm_t35.h           |    6 ------
 include/configs/devkit8000.h       |    6 ------
 include/configs/dig297.h           |    2 --
 include/configs/igep0020.h         |    2 --
 include/configs/igep0030.h         |    2 --
 include/configs/omap3_beagle.h     |    6 ------
 include/configs/omap3_evm_common.h |    7 -------
 include/configs/omap3_mvblx.h      |    6 ------
 include/configs/omap3_overo.h      |    6 ------
 include/configs/omap3_pandora.h    |    6 ------
 include/configs/omap3_sdp3430.h    |    6 ------
 include/configs/omap3_zoom1.h      |    6 ------
 include/configs/omap3_zoom2.h      |    6 ------
 16 files changed, 0 insertions(+), 81 deletions(-)
Signature · 1 line
1.7.8.rc1
#1 lore raw

PATCH 1/3 ARM: OMAP3: Remove unused define CONFIG_OMAP3430

This patch removes the CONFIG_OMAP3430, because it is unused.

---
 include/configs/cm_t35.h           |    1 -
 include/configs/devkit8000.h       |    1 -
 include/configs/dig297.h           |    1 -
 include/configs/igep0020.h         |    1 -
 include/configs/igep0030.h         |    1 -
 include/configs/omap3_beagle.h     |    1 -
 include/configs/omap3_evm_common.h |    1 -
 include/configs/omap3_mvblx.h      |    1 -
 include/configs/omap3_overo.h      |    1 -
 include/configs/omap3_pandora.h    |    1 -
 include/configs/omap3_sdp3430.h    |    1 -
 include/configs/omap3_zoom1.h      |    1 -
 include/configs/omap3_zoom2.h      |    1 -
 13 files changed, 0 insertions(+), 13 deletions(-)
include/configs/cm_t35.h +0 -1
index 026d222..eca7dec 100644
@@ -38,7 +38,6 @@
  */
 #define CONFIG_OMAP		1	/* in a TI OMAP core */
 #define CONFIG_OMAP34XX		1	/* which is a 34XX */
-#define CONFIG_OMAP3430		1	/* which is in a 3430 */
 #define CONFIG_CM_T3X		1	/* working with CM-T35 and CM-T3730 */
 
 #define CONFIG_SYS_TEXT_BASE	0x80008000
include/configs/devkit8000.h +0 -1
index e1743dc..353e09f 100644
@@ -34,7 +34,6 @@
 /* High Level Configuration Options */
 #define CONFIG_OMAP		1	/* in a TI OMAP core */
 #define CONFIG_OMAP34XX		1	/* which is a 34XX */
-#define CONFIG_OMAP3430		1	/* which is in a 3430 */
 #define CONFIG_OMAP3_DEVKIT8000	1	/* working with DevKit8000 */
 
 #define	CONFIG_SYS_TEXT_BASE	0x80008000
include/configs/dig297.h +0 -1
index 9baf415..749be7e 100644
@@ -45,7 +45,6 @@
  */
 #define CONFIG_OMAP		/* in a TI OMAP core */
 #define CONFIG_OMAP34XX		/* which is a 34XX */
-#define CONFIG_OMAP3430		/* which is in a 3430 */
 
 #define CONFIG_SYS_TEXT_BASE	0x80008000
 
include/configs/igep0020.h +0 -1
index 279a9d2..a3b58cf 100644
@@ -27,7 +27,6 @@
  */
 #define CONFIG_OMAP		1	/* in a TI OMAP core */
 #define CONFIG_OMAP34XX		1	/* which is a 34XX */
-#define CONFIG_OMAP3430		1	/* which is in a 3430 */
 #define CONFIG_OMAP3_IGEP0020	1	/* working with IGEP0020 */
 
 #define CONFIG_SDRC	/* The chip has SDRC controller */
include/configs/igep0030.h +0 -1
index d85e5ae..96b366b 100644
@@ -27,7 +27,6 @@
  */
 #define CONFIG_OMAP		1	/* in a TI OMAP core */
 #define CONFIG_OMAP34XX		1	/* which is a 34XX */
-#define CONFIG_OMAP3430		1	/* which is in a 3430 */
 #define CONFIG_OMAP3_IGEP0030	1	/* working with IGEP0030 */
 
 #define CONFIG_SDRC	/* The chip has SDRC controller */
include/configs/omap3_beagle.h +0 -1
index 15e40c5..c4f772b 100644
@@ -33,7 +33,6 @@
  */
 #define CONFIG_OMAP		1	/* in a TI OMAP core */
 #define CONFIG_OMAP34XX		1	/* which is a 34XX */
-#define CONFIG_OMAP3430		1	/* which is in a 3430 */
 #define CONFIG_OMAP3_BEAGLE	1	/* working with BEAGLE */
 
 #define CONFIG_SDRC	/* The chip has SDRC controller */
include/configs/omap3_evm_common.h +0 -1
index 54aa7a7..0fa0b0f 100644
@@ -22,7 +22,6 @@
  */
 #define CONFIG_OMAP			/* This is TI OMAP core */
 #define CONFIG_OMAP34XX			/* belonging to 34XX family */
-#define CONFIG_OMAP3430			/* which is in a 3430 */
 
 #define CONFIG_SDRC			/* The chip has SDRC controller */
 
include/configs/omap3_mvblx.h +0 -1
index a0252a2..272e81d 100644
@@ -37,7 +37,6 @@
 #define CONFIG_ARMV7		1	/* This is an ARM V7 CPU core */
 #define CONFIG_OMAP		1	/* in a TI OMAP core */
 #define CONFIG_OMAP34XX		1	/* which is a 34XX */
-#define CONFIG_OMAP3430		1	/* which is in a 3430 */
 #define CONFIG_MVBLX		1	/* working with mvBlueLYNX-X */
 #define CONFIG_MACH_TYPE	MACH_TYPE_MVBLX
 
include/configs/omap3_overo.h +0 -1
index afdefd9..ebabd37 100644
@@ -25,7 +25,6 @@
  */
 #define CONFIG_OMAP		1	/* in a TI OMAP core */
 #define CONFIG_OMAP34XX		1	/* which is a 34XX */
-#define CONFIG_OMAP3430		1	/* which is in a 3430 */
 #define CONFIG_OMAP3_OVERO	1	/* working with overo */
 
 #define CONFIG_SDRC	/* The chip has SDRC controller */
include/configs/omap3_pandora.h +0 -1
index 3c2793e..832378b 100644
@@ -28,7 +28,6 @@
  */
 #define CONFIG_OMAP		1	/* in a TI OMAP core */
 #define CONFIG_OMAP34XX		1	/* which is a 34XX */
-#define CONFIG_OMAP3430		1	/* which is in a 3430 */
 #define CONFIG_OMAP3_PANDORA	1	/* working with pandora */
 
 #define CONFIG_SDRC	/* The chip has SDRC controller */
include/configs/omap3_sdp3430.h +0 -1
index 35472bb..2a34172 100644
@@ -38,7 +38,6 @@
  */
 #define CONFIG_OMAP		1	/* in a TI OMAP core */
 #define CONFIG_OMAP34XX		1	/* which is a 34XX */
-#define CONFIG_OMAP3430		1	/* which is in a 3430 */
 #define CONFIG_OMAP3_3430SDP	1	/* working with SDP Rev2 */
 
 #define CONFIG_SDRC	/* The chip has SDRC controller */
include/configs/omap3_zoom1.h +0 -1
index fbac222..9fb8f4d 100644
@@ -34,7 +34,6 @@
  */
 #define CONFIG_OMAP		1	/* in a TI OMAP core */
 #define CONFIG_OMAP34XX		1	/* which is a 34XX */
-#define CONFIG_OMAP3430		1	/* which is in a 3430 */
 #define CONFIG_OMAP3_ZOOM1	1	/* working with Zoom MDK Rev1 */
 
 #define CONFIG_SDRC	/* The chip has SDRC controller */
include/configs/omap3_zoom2.h +0 -1
index 8de3d31..209dfe4 100644
@@ -35,7 +35,6 @@
  */
 #define CONFIG_OMAP		1	/* in a TI OMAP core */
 #define CONFIG_OMAP34XX		1	/* which is a 34XX */
-#define CONFIG_OMAP3430		1	/* which is in a 3430 */
 #define CONFIG_OMAP3_ZOOM2	1	/* working with Zoom II */
 
 #define CONFIG_SDRC	/* The chip has SDRC controller */
Signature · 1 line
1.7.8.rc1
#2 lore raw

PATCH 1/3 ARM: OMAP3: Remove unused define CONFIG_OMAP3430

Quoted 3 lines · Thomas Weber

This patch removes the CONFIG_OMAP3430, because it is unused.

When you change board related files,
it is a good practice to CC board maintainers.

Thanks

Quoted 172 lines
---
 include/configs/cm_t35.h           |    1 -
 include/configs/devkit8000.h       |    1 -
 include/configs/dig297.h           |    1 -
 include/configs/igep0020.h         |    1 -
 include/configs/igep0030.h         |    1 -
 include/configs/omap3_beagle.h     |    1 -
 include/configs/omap3_evm_common.h |    1 -
 include/configs/omap3_mvblx.h      |    1 -
 include/configs/omap3_overo.h      |    1 -
 include/configs/omap3_pandora.h    |    1 -
 include/configs/omap3_sdp3430.h    |    1 -
 include/configs/omap3_zoom1.h      |    1 -
 include/configs/omap3_zoom2.h      |    1 -
 13 files changed, 0 insertions(+), 13 deletions(-)
include/configs/cm_t35.h +0 -1
index 026d222..eca7dec 100644
@@ -38,7 +38,6 @@
  */
 #define CONFIG_OMAP		1	/* in a TI OMAP core */
 #define CONFIG_OMAP34XX		1	/* which is a 34XX */
-#define CONFIG_OMAP3430		1	/* which is in a 3430 */
 #define CONFIG_CM_T3X		1	/* working with CM-T35 and CM-T3730 */
 
 #define CONFIG_SYS_TEXT_BASE	0x80008000
include/configs/devkit8000.h +0 -1
index e1743dc..353e09f 100644
@@ -34,7 +34,6 @@
 /* High Level Configuration Options */
 #define CONFIG_OMAP		1	/* in a TI OMAP core */
 #define CONFIG_OMAP34XX		1	/* which is a 34XX */
-#define CONFIG_OMAP3430		1	/* which is in a 3430 */
 #define CONFIG_OMAP3_DEVKIT8000	1	/* working with DevKit8000 */
 
 #define	CONFIG_SYS_TEXT_BASE	0x80008000
include/configs/dig297.h +0 -1
index 9baf415..749be7e 100644
@@ -45,7 +45,6 @@
  */
 #define CONFIG_OMAP		/* in a TI OMAP core */
 #define CONFIG_OMAP34XX		/* which is a 34XX */
-#define CONFIG_OMAP3430		/* which is in a 3430 */
 
 #define CONFIG_SYS_TEXT_BASE	0x80008000
 
include/configs/igep0020.h +0 -1
index 279a9d2..a3b58cf 100644
@@ -27,7 +27,6 @@
  */
 #define CONFIG_OMAP		1	/* in a TI OMAP core */
 #define CONFIG_OMAP34XX		1	/* which is a 34XX */
-#define CONFIG_OMAP3430		1	/* which is in a 3430 */
 #define CONFIG_OMAP3_IGEP0020	1	/* working with IGEP0020 */
 
 #define CONFIG_SDRC	/* The chip has SDRC controller */
include/configs/igep0030.h +0 -1
index d85e5ae..96b366b 100644
@@ -27,7 +27,6 @@
  */
 #define CONFIG_OMAP		1	/* in a TI OMAP core */
 #define CONFIG_OMAP34XX		1	/* which is a 34XX */
-#define CONFIG_OMAP3430		1	/* which is in a 3430 */
 #define CONFIG_OMAP3_IGEP0030	1	/* working with IGEP0030 */
 
 #define CONFIG_SDRC	/* The chip has SDRC controller */
include/configs/omap3_beagle.h +0 -1
index 15e40c5..c4f772b 100644
@@ -33,7 +33,6 @@
  */
 #define CONFIG_OMAP		1	/* in a TI OMAP core */
 #define CONFIG_OMAP34XX		1	/* which is a 34XX */
-#define CONFIG_OMAP3430		1	/* which is in a 3430 */
 #define CONFIG_OMAP3_BEAGLE	1	/* working with BEAGLE */
 
 #define CONFIG_SDRC	/* The chip has SDRC controller */
include/configs/omap3_evm_common.h +0 -1
index 54aa7a7..0fa0b0f 100644
@@ -22,7 +22,6 @@
  */
 #define CONFIG_OMAP			/* This is TI OMAP core */
 #define CONFIG_OMAP34XX			/* belonging to 34XX family */
-#define CONFIG_OMAP3430			/* which is in a 3430 */
 
 #define CONFIG_SDRC			/* The chip has SDRC controller */
 
include/configs/omap3_mvblx.h +0 -1
index a0252a2..272e81d 100644
@@ -37,7 +37,6 @@
 #define CONFIG_ARMV7		1	/* This is an ARM V7 CPU core */
 #define CONFIG_OMAP		1	/* in a TI OMAP core */
 #define CONFIG_OMAP34XX		1	/* which is a 34XX */
-#define CONFIG_OMAP3430		1	/* which is in a 3430 */
 #define CONFIG_MVBLX		1	/* working with mvBlueLYNX-X */
 #define CONFIG_MACH_TYPE	MACH_TYPE_MVBLX
 
include/configs/omap3_overo.h +0 -1
index afdefd9..ebabd37 100644
@@ -25,7 +25,6 @@
  */
 #define CONFIG_OMAP		1	/* in a TI OMAP core */
 #define CONFIG_OMAP34XX		1	/* which is a 34XX */
-#define CONFIG_OMAP3430		1	/* which is in a 3430 */
 #define CONFIG_OMAP3_OVERO	1	/* working with overo */
 
 #define CONFIG_SDRC	/* The chip has SDRC controller */
include/configs/omap3_pandora.h +0 -1
index 3c2793e..832378b 100644
@@ -28,7 +28,6 @@
  */
 #define CONFIG_OMAP		1	/* in a TI OMAP core */
 #define CONFIG_OMAP34XX		1	/* which is a 34XX */
-#define CONFIG_OMAP3430		1	/* which is in a 3430 */
 #define CONFIG_OMAP3_PANDORA	1	/* working with pandora */
 
 #define CONFIG_SDRC	/* The chip has SDRC controller */
include/configs/omap3_sdp3430.h +0 -1
index 35472bb..2a34172 100644
@@ -38,7 +38,6 @@
  */
 #define CONFIG_OMAP		1	/* in a TI OMAP core */
 #define CONFIG_OMAP34XX		1	/* which is a 34XX */
-#define CONFIG_OMAP3430		1	/* which is in a 3430 */
 #define CONFIG_OMAP3_3430SDP	1	/* working with SDP Rev2 */
 
 #define CONFIG_SDRC	/* The chip has SDRC controller */
include/configs/omap3_zoom1.h +0 -1
index fbac222..9fb8f4d 100644
@@ -34,7 +34,6 @@
  */
 #define CONFIG_OMAP		1	/* in a TI OMAP core */
 #define CONFIG_OMAP34XX		1	/* which is a 34XX */
-#define CONFIG_OMAP3430		1	/* which is in a 3430 */
 #define CONFIG_OMAP3_ZOOM1	1	/* working with Zoom MDK Rev1 */
 
 #define CONFIG_SDRC	/* The chip has SDRC controller */
include/configs/omap3_zoom2.h +0 -1
index 8de3d31..209dfe4 100644
@@ -35,7 +35,6 @@
  */
 #define CONFIG_OMAP		1	/* in a TI OMAP core */
 #define CONFIG_OMAP34XX		1	/* which is a 34XX */
-#define CONFIG_OMAP3430		1	/* which is in a 3430 */
 #define CONFIG_OMAP3_ZOOM2	1	/* working with Zoom II */
 
 #define CONFIG_SDRC	/* The chip has SDRC controller */
Signature · 2 lines
Regards,
Igor.
#3 lore raw

PATCH 2/3 ARM: OMAP3: Remove unused define SDRC_R_C_B

In reply to Thomas Weber

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

---
 include/configs/am3517_crane.h     |    1 -
 include/configs/am3517_evm.h       |    1 -
 include/configs/cm_t35.h           |    1 -
 include/configs/devkit8000.h       |    1 -
 include/configs/dig297.h           |    1 -
 include/configs/igep0020.h         |    1 -
 include/configs/igep0030.h         |    1 -
 include/configs/omap3_beagle.h     |    1 -
 include/configs/omap3_evm_common.h |    1 -
 include/configs/omap3_mvblx.h      |    1 -
 include/configs/omap3_overo.h      |    1 -
 include/configs/omap3_pandora.h    |    1 -
 include/configs/omap3_sdp3430.h    |    1 -
 include/configs/omap3_zoom1.h      |    1 -
 include/configs/omap3_zoom2.h      |    1 -
 15 files changed, 0 insertions(+), 15 deletions(-)
include/configs/am3517_crane.h +0 -1
index 8842a18..350a570 100644
@@ -278,7 +278,6 @@
 #define PHYS_SDRAM_2		OMAP34XX_SDRC_CS1
 
 /* SDRAM Bank Allocation method */
-#define SDRC_R_B_C		1
 
 /*-----------------------------------------------------------------------
  * FLASH and environment organization
include/configs/am3517_evm.h +0 -1
index 1c70b9d..83098e4 100644
@@ -277,7 +277,6 @@
 #define PHYS_SDRAM_2		OMAP34XX_SDRC_CS1
 
 /* SDRAM Bank Allocation method */
-#define SDRC_R_B_C		1
 
 /*-----------------------------------------------------------------------
  * FLASH and environment organization
include/configs/cm_t35.h +0 -1
index eca7dec..38f0d9c 100644
@@ -296,7 +296,6 @@
 #define PHYS_SDRAM_1_SIZE	(32 << 20)	/*@least 32 MiB */
 
 /* SDRAM Bank Allocation method */
-#define SDRC_R_B_C		1
 
 /*-----------------------------------------------------------------------
  * FLASH and environment organization
include/configs/devkit8000.h +0 -1
index 353e09f..085950d 100644
@@ -287,7 +287,6 @@
 #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
include/configs/dig297.h +0 -1
index 749be7e..0b447e5 100644
@@ -282,7 +282,6 @@
 #define PHYS_SDRAM_2		OMAP34XX_SDRC_CS1
 
 /* SDRAM Bank Allocation method */
-#define SDRC_R_B_C		1
 
 /*-----------------------------------------------------------------------
  * FLASH and environment organization
include/configs/igep0020.h +0 -1
index a3b58cf..ec7cc77 100644
@@ -238,7 +238,6 @@
 #define PHYS_SDRAM_2		OMAP34XX_SDRC_CS1
 
 /* SDRAM Bank Allocation method */
-#define SDRC_R_B_C		1
 
 /*
  * FLASH and environment organization
include/configs/igep0030.h +0 -1
index 96b366b..e4ffb95 100644
@@ -236,7 +236,6 @@
 #define PHYS_SDRAM_2		OMAP34XX_SDRC_CS1
 
 /* SDRAM Bank Allocation method */
-#define SDRC_R_B_C		1
 
 /*
  * FLASH and environment organization
include/configs/omap3_beagle.h +0 -1
index c4f772b..b418002 100644
@@ -350,7 +350,6 @@
 #define PHYS_SDRAM_2		OMAP34XX_SDRC_CS1
 
 /* SDRAM Bank Allocation method */
-#define SDRC_R_B_C		1
 
 /*-----------------------------------------------------------------------
  * FLASH and environment organization
include/configs/omap3_evm_common.h +0 -1
index 0fa0b0f..8a22835 100644
@@ -74,7 +74,6 @@
 #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)
include/configs/omap3_mvblx.h +0 -1
index 272e81d..d6a40c7 100644
@@ -270,7 +270,6 @@
 #define PHYS_SDRAM_2		OMAP34XX_SDRC_CS1
 
 /* SDRAM Bank Allocation method */
-#define SDRC_R_B_C		1
 
 #define CONFIG_ENV_IS_NOWHERE	1
 
include/configs/omap3_overo.h +0 -1
index ebabd37..9670981 100644
@@ -257,7 +257,6 @@
 #define PHYS_SDRAM_2		OMAP34XX_SDRC_CS1
 
 /* SDRAM Bank Allocation method */
-#define SDRC_R_B_C		1
 
 /*-----------------------------------------------------------------------
  * FLASH and environment organization
include/configs/omap3_pandora.h +0 -1
index 832378b..56fc0dc 100644
@@ -241,7 +241,6 @@
 #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
include/configs/omap3_sdp3430.h +0 -1
index 2a34172..5b62a16 100644
@@ -323,7 +323,6 @@
 #define PHYS_SDRAM_2		OMAP34XX_SDRC_CS1
 
 /* SDRAM Bank Allocation method */
-#define SDRC_R_B_C		1
 
 /*--------------------------------------------------------------------------*/
 
include/configs/omap3_zoom1.h +0 -1
index 9fb8f4d..9fa5f0e 100644
@@ -272,7 +272,6 @@
 #define PHYS_SDRAM_2		OMAP34XX_SDRC_CS1
 
 /* SDRAM Bank Allocation method */
-#define SDRC_R_B_C		1
 
 /*-----------------------------------------------------------------------
  * FLASH and environment organization
include/configs/omap3_zoom2.h +0 -1
index 209dfe4..1dc0240 100644
@@ -240,7 +240,6 @@
 #define PHYS_SDRAM_2		OMAP34XX_SDRC_CS1
 
 /* SDRAM Bank Allocation method */
-#define SDRC_R_B_C		1
 
 /*-----------------------------------------------------------------------
  * FLASH and environment organization
Signature · 1 line
1.7.8.rc1
#4 lore raw

PATCH 2/3 ARM: OMAP3: Remove unused define SDRC_R_C_B

Quoted 4 lines · Thomas Weber

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

Quoted 198 lines
---
 include/configs/am3517_crane.h     |    1 -
 include/configs/am3517_evm.h       |    1 -
 include/configs/cm_t35.h           |    1 -
 include/configs/devkit8000.h       |    1 -
 include/configs/dig297.h           |    1 -
 include/configs/igep0020.h         |    1 -
 include/configs/igep0030.h         |    1 -
 include/configs/omap3_beagle.h     |    1 -
 include/configs/omap3_evm_common.h |    1 -
 include/configs/omap3_mvblx.h      |    1 -
 include/configs/omap3_overo.h      |    1 -
 include/configs/omap3_pandora.h    |    1 -
 include/configs/omap3_sdp3430.h    |    1 -
 include/configs/omap3_zoom1.h      |    1 -
 include/configs/omap3_zoom2.h      |    1 -
 15 files changed, 0 insertions(+), 15 deletions(-)
include/configs/am3517_crane.h +0 -1
index 8842a18..350a570 100644
@@ -278,7 +278,6 @@
 #define PHYS_SDRAM_2		OMAP34XX_SDRC_CS1
 
 /* SDRAM Bank Allocation method */
-#define SDRC_R_B_C		1
 
 /*-----------------------------------------------------------------------
  * FLASH and environment organization
include/configs/am3517_evm.h +0 -1
index 1c70b9d..83098e4 100644
@@ -277,7 +277,6 @@
 #define PHYS_SDRAM_2		OMAP34XX_SDRC_CS1
 
 /* SDRAM Bank Allocation method */
-#define SDRC_R_B_C		1
 
 /*-----------------------------------------------------------------------
  * FLASH and environment organization
include/configs/cm_t35.h +0 -1
index eca7dec..38f0d9c 100644
@@ -296,7 +296,6 @@
 #define PHYS_SDRAM_1_SIZE	(32 << 20)	/*@least 32 MiB */
 
 /* SDRAM Bank Allocation method */
-#define SDRC_R_B_C		1
 
 /*-----------------------------------------------------------------------
  * FLASH and environment organization
include/configs/devkit8000.h +0 -1
index 353e09f..085950d 100644
@@ -287,7 +287,6 @@
 #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
include/configs/dig297.h +0 -1
index 749be7e..0b447e5 100644
@@ -282,7 +282,6 @@
 #define PHYS_SDRAM_2		OMAP34XX_SDRC_CS1
 
 /* SDRAM Bank Allocation method */
-#define SDRC_R_B_C		1
 
 /*-----------------------------------------------------------------------
  * FLASH and environment organization
include/configs/igep0020.h +0 -1
index a3b58cf..ec7cc77 100644
@@ -238,7 +238,6 @@
 #define PHYS_SDRAM_2		OMAP34XX_SDRC_CS1
 
 /* SDRAM Bank Allocation method */
-#define SDRC_R_B_C		1
 
 /*
  * FLASH and environment organization
include/configs/igep0030.h +0 -1
index 96b366b..e4ffb95 100644
@@ -236,7 +236,6 @@
 #define PHYS_SDRAM_2		OMAP34XX_SDRC_CS1
 
 /* SDRAM Bank Allocation method */
-#define SDRC_R_B_C		1
 
 /*
  * FLASH and environment organization
include/configs/omap3_beagle.h +0 -1
index c4f772b..b418002 100644
@@ -350,7 +350,6 @@
 #define PHYS_SDRAM_2		OMAP34XX_SDRC_CS1
 
 /* SDRAM Bank Allocation method */
-#define SDRC_R_B_C		1
 
 /*-----------------------------------------------------------------------
  * FLASH and environment organization
include/configs/omap3_evm_common.h +0 -1
index 0fa0b0f..8a22835 100644
@@ -74,7 +74,6 @@
 #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)
include/configs/omap3_mvblx.h +0 -1
index 272e81d..d6a40c7 100644
@@ -270,7 +270,6 @@
 #define PHYS_SDRAM_2		OMAP34XX_SDRC_CS1
 
 /* SDRAM Bank Allocation method */
-#define SDRC_R_B_C		1
 
 #define CONFIG_ENV_IS_NOWHERE	1
 
include/configs/omap3_overo.h +0 -1
index ebabd37..9670981 100644
@@ -257,7 +257,6 @@
 #define PHYS_SDRAM_2		OMAP34XX_SDRC_CS1
 
 /* SDRAM Bank Allocation method */
-#define SDRC_R_B_C		1
 
 /*-----------------------------------------------------------------------
  * FLASH and environment organization
include/configs/omap3_pandora.h +0 -1
index 832378b..56fc0dc 100644
@@ -241,7 +241,6 @@
 #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
include/configs/omap3_sdp3430.h +0 -1
index 2a34172..5b62a16 100644
@@ -323,7 +323,6 @@
 #define PHYS_SDRAM_2		OMAP34XX_SDRC_CS1
 
 /* SDRAM Bank Allocation method */
-#define SDRC_R_B_C		1
 
 /*--------------------------------------------------------------------------*/
 
include/configs/omap3_zoom1.h +0 -1
index 9fb8f4d..9fa5f0e 100644
@@ -272,7 +272,6 @@
 #define PHYS_SDRAM_2		OMAP34XX_SDRC_CS1
 
 /* SDRAM Bank Allocation method */
-#define SDRC_R_B_C		1
 
 /*-----------------------------------------------------------------------
  * FLASH and environment organization
include/configs/omap3_zoom2.h +0 -1
index 209dfe4..1dc0240 100644
@@ -240,7 +240,6 @@
 #define PHYS_SDRAM_2		OMAP34XX_SDRC_CS1
 
 /* SDRAM Bank Allocation method */
-#define SDRC_R_B_C		1
 
 /*-----------------------------------------------------------------------
  * FLASH and environment organization
Signature · 2 lines
Regards,
Igor.
#5 lore raw

PATCH 3/3 ARM: OMAP: Remove STACKSIZE for IRQ and FIQ if unused

In reply to Thomas Weber

This patch removes the definition of stack sizes for irq and fiq if the CONFIG_USE_IRQ is undefined before.

---
 include/configs/am3517_crane.h     |    4 ----
 include/configs/am3517_evm.h       |    4 ----
 include/configs/apollon.h          |    4 ----
 include/configs/cm_t35.h           |    4 ----
 include/configs/devkit8000.h       |    4 ----
 include/configs/omap3_beagle.h     |    4 ----
 include/configs/omap3_evm_common.h |    5 -----
 include/configs/omap3_mvblx.h      |    4 ----
 include/configs/omap3_overo.h      |    4 ----
 include/configs/omap3_pandora.h    |    4 ----
 include/configs/omap3_sdp3430.h    |    4 ----
 include/configs/omap3_zoom1.h      |    4 ----
 include/configs/omap3_zoom2.h      |    4 ----
 13 files changed, 0 insertions(+), 53 deletions(-)
include/configs/am3517_crane.h +0 -4
index 350a570..6748743 100644
@@ -264,10 +264,6 @@
  * The stack sizes are set up in start.S using the settings below
  */
 #define CONFIG_STACKSIZE	(128 << 10)	/* regular stack 128 KiB */
-#ifdef CONFIG_USE_IRQ
-#define CONFIG_STACKSIZE_IRQ	(4 << 10)	/* IRQ stack 4 KiB */
-#define CONFIG_STACKSIZE_FIQ	(4 << 10)	/* FIQ stack 4 KiB */
-#endif
 
 /*-----------------------------------------------------------------------
  * Physical Memory Map
include/configs/am3517_evm.h +0 -4
index 83098e4..cf91e3f 100644
@@ -263,10 +263,6 @@
  * The stack sizes are set up in start.S using the settings below
  */
 #define CONFIG_STACKSIZE	(128 << 10)	/* regular stack 128 KiB */
-#ifdef CONFIG_USE_IRQ
-#define CONFIG_STACKSIZE_IRQ	(4 << 10)	/* IRQ stack 4 KiB */
-#define CONFIG_STACKSIZE_FIQ	(4 << 10)	/* FIQ stack 4 KiB */
-#endif
 
 /*-----------------------------------------------------------------------
  * Physical Memory Map
include/configs/apollon.h +0 -4
index 46595d9..7fcf437 100644
@@ -211,10 +211,6 @@
  * The stack sizes are set up in start.S using the settings below
  */
 #define	CONFIG_STACKSIZE SZ_128K	/* regular stack */
-#ifdef	CONFIG_USE_IRQ
-# define	CONFIG_STACKSIZE_IRQ SZ_4K	/* IRQ stack */
-# define	CONFIG_STACKSIZE_FIQ SZ_4K	/* FIQ stack */
-#endif
 
 /*-----------------------------------------------------------------------
  * Physical Memory Map
include/configs/cm_t35.h +0 -4
index 38f0d9c..257f6ff 100644
@@ -283,10 +283,6 @@
  * The stack sizes are set up in start.S using the settings below
  */
 #define CONFIG_STACKSIZE	(128 << 10)	/* regular stack 128 KiB */
-#ifdef CONFIG_USE_IRQ
-#define CONFIG_STACKSIZE_IRQ	(4 << 10)	/* IRQ stack 4 KiB */
-#define CONFIG_STACKSIZE_FIQ	(4 << 10)	/* FIQ stack 4 KiB */
-#endif
 
 /*-----------------------------------------------------------------------
  * Physical Memory Map
include/configs/devkit8000.h +0 -4
index 085950d..f5d9a5e 100644
@@ -275,10 +275,6 @@
 
 /* The stack sizes are set up in start.S using the settings below */
 #define CONFIG_STACKSIZE	(128 << 10)	/* regular stack 128 KiB */
-#ifdef CONFIG_USE_IRQ
-#define CONFIG_STACKSIZE_IRQ		(4 << 10)	/* IRQ stack 4 KiB */
-#define CONFIG_STACKSIZE_FIQ		(4 << 10)	/* FIQ stack 4 KiB */
-#endif
 
 /*  Physical Memory Map  */
 #define CONFIG_NR_DRAM_BANKS		2 /* CS1 may or may not be populated */
include/configs/omap3_beagle.h +0 -4
index b418002..263038b 100644
@@ -336,10 +336,6 @@
  * The stack sizes are set up in start.S using the settings below
  */
 #define CONFIG_STACKSIZE	(128 << 10)	/* regular stack 128 KiB */
-#ifdef CONFIG_USE_IRQ
-#define CONFIG_STACKSIZE_IRQ	(4 << 10)	/* IRQ stack 4 KiB */
-#define CONFIG_STACKSIZE_FIQ	(4 << 10)	/* FIQ stack 4 KiB */
-#endif
 
 /*-----------------------------------------------------------------------
  * Physical Memory Map
include/configs/omap3_evm_common.h +0 -5
index 8a22835..8210afe 100644
@@ -58,11 +58,6 @@
  */
 #define CONFIG_STACKSIZE	(128 << 10)	/* regular stack 128 KiB */
 
-#ifdef CONFIG_USE_IRQ
-#define CONFIG_STACKSIZE_IRQ	(4 << 10)	/* IRQ stack 4 KiB */
-#define CONFIG_STACKSIZE_FIQ	(4 << 10)	/* FIQ stack 4 KiB */
-#endif
-
 /*
  * Physical Memory Map
  * Note 1: CS1 may or may not be populated
include/configs/omap3_mvblx.h +0 -4
index d6a40c7..7c0d7f6 100644
@@ -256,10 +256,6 @@
  * The stack sizes are set up in start.S using the settings below
  */
 #define CONFIG_STACKSIZE	(128 << 10)	/* regular stack 128 KiB */
-#ifdef CONFIG_USE_IRQ
-#define CONFIG_STACKSIZE_IRQ	(4 << 10)	/* IRQ stack 4 KiB */
-#define CONFIG_STACKSIZE_FIQ	(4 << 10)	/* FIQ stack 4 KiB */
-#endif
 
 /*-----------------------------------------------------------------------
  * Physical Memory Map
include/configs/omap3_overo.h +0 -4
index 9670981..2d5d120 100644
@@ -243,10 +243,6 @@
  * The stack sizes are set up in start.S using the settings below
  */
 #define CONFIG_STACKSIZE	(128 << 10)	/* regular stack 128 KiB */
-#ifdef CONFIG_USE_IRQ
-#define CONFIG_STACKSIZE_IRQ	(4 << 10)	/* IRQ stack 4 KiB */
-#define CONFIG_STACKSIZE_FIQ	(4 << 10)	/* FIQ stack 4 KiB */
-#endif
 
 /*-----------------------------------------------------------------------
  * Physical Memory Map
include/configs/omap3_pandora.h +0 -4
index 56fc0dc..e80ca7a 100644
@@ -227,10 +227,6 @@
  * The stack sizes are set up in start.S using the settings below
  */
 #define CONFIG_STACKSIZE	(128 << 10)	/* regular stack 128 KiB */
-#ifdef CONFIG_USE_IRQ
-#define CONFIG_STACKSIZE_IRQ	(4 << 10)	/* IRQ stack 4 KiB */
-#define CONFIG_STACKSIZE_FIQ	(4 << 10)	/* FIQ stack 4 KiB */
-#endif
 
 /*-----------------------------------------------------------------------
  * Physical Memory Map
include/configs/omap3_sdp3430.h +0 -4
index 5b62a16..a6cf41a 100644
@@ -303,10 +303,6 @@
  * The stack sizes are set up in start.S using the settings below
  */
 #define CONFIG_STACKSIZE	(128 << 10) /* Regular stack */
-#ifdef CONFIG_USE_IRQ
-#define CONFIG_STACKSIZE_IRQ	(4 << 10) /* IRQ stack */
-#define CONFIG_STACKSIZE_FIQ	(4 << 10) /* FIQ stack */
-#endif
 
 #define CONFIG_SYS_SDRAM_BASE		PHYS_SDRAM_1
 #define CONFIG_SYS_INIT_RAM_ADDR	0x4020f800
include/configs/omap3_zoom1.h +0 -4
index 9fa5f0e..d2b2f34 100644
@@ -258,10 +258,6 @@
  * The stack sizes are set up in start.S using the settings below
  */
 #define CONFIG_STACKSIZE	(128 << 10)	/* regular stack 128 KiB */
-#ifdef CONFIG_USE_IRQ
-#define CONFIG_STACKSIZE_IRQ	(4 << 10)	/* IRQ stack 4 KiB */
-#define CONFIG_STACKSIZE_FIQ	(4 << 10)	/* FIQ stack 4 KiB */
-#endif
 
 /*-----------------------------------------------------------------------
  * Physical Memory Map
include/configs/omap3_zoom2.h +0 -4
index 1dc0240..e5c375b 100644
@@ -226,10 +226,6 @@
  * The stack sizes are set up in start.S using these settings
  */
 #define CONFIG_STACKSIZE	(128 << 10)	/* regular stack 128 KiB */
-#ifdef CONFIG_USE_IRQ
-#define CONFIG_STACKSIZE_IRQ	(4 << 10)	/* IRQ stack 4 KiB */
-#define CONFIG_STACKSIZE_FIQ	(4 << 10)	/* FIQ stack 4 KiB */
-#endif
 
 /*-----------------------------------------------------------------------
  * Physical Memory Map
Signature · 1 line
1.7.8.rc1
#6 lore raw

PATCH 3/3 ARM: OMAP: Remove STACKSIZE for IRQ and FIQ if unused

Quoted 4 lines · Thomas Weber

This patch removes the definition of stack sizes for irq and fiq if the CONFIG_USE_IRQ is undefined before.

Quoted 212 lines
---
 include/configs/am3517_crane.h     |    4 ----
 include/configs/am3517_evm.h       |    4 ----
 include/configs/apollon.h          |    4 ----
 include/configs/cm_t35.h           |    4 ----
 include/configs/devkit8000.h       |    4 ----
 include/configs/omap3_beagle.h     |    4 ----
 include/configs/omap3_evm_common.h |    5 -----
 include/configs/omap3_mvblx.h      |    4 ----
 include/configs/omap3_overo.h      |    4 ----
 include/configs/omap3_pandora.h    |    4 ----
 include/configs/omap3_sdp3430.h    |    4 ----
 include/configs/omap3_zoom1.h      |    4 ----
 include/configs/omap3_zoom2.h      |    4 ----
 13 files changed, 0 insertions(+), 53 deletions(-)
include/configs/am3517_crane.h +0 -4
index 350a570..6748743 100644
@@ -264,10 +264,6 @@
  * The stack sizes are set up in start.S using the settings below
  */
 #define CONFIG_STACKSIZE	(128 << 10)	/* regular stack 128 KiB */
-#ifdef CONFIG_USE_IRQ
-#define CONFIG_STACKSIZE_IRQ	(4 << 10)	/* IRQ stack 4 KiB */
-#define CONFIG_STACKSIZE_FIQ	(4 << 10)	/* FIQ stack 4 KiB */
-#endif
 
 /*-----------------------------------------------------------------------
  * Physical Memory Map
include/configs/am3517_evm.h +0 -4
index 83098e4..cf91e3f 100644
@@ -263,10 +263,6 @@
  * The stack sizes are set up in start.S using the settings below
  */
 #define CONFIG_STACKSIZE	(128 << 10)	/* regular stack 128 KiB */
-#ifdef CONFIG_USE_IRQ
-#define CONFIG_STACKSIZE_IRQ	(4 << 10)	/* IRQ stack 4 KiB */
-#define CONFIG_STACKSIZE_FIQ	(4 << 10)	/* FIQ stack 4 KiB */
-#endif
 
 /*-----------------------------------------------------------------------
  * Physical Memory Map
include/configs/apollon.h +0 -4
index 46595d9..7fcf437 100644
@@ -211,10 +211,6 @@
  * The stack sizes are set up in start.S using the settings below
  */
 #define	CONFIG_STACKSIZE SZ_128K	/* regular stack */
-#ifdef	CONFIG_USE_IRQ
-# define	CONFIG_STACKSIZE_IRQ SZ_4K	/* IRQ stack */
-# define	CONFIG_STACKSIZE_FIQ SZ_4K	/* FIQ stack */
-#endif
 
 /*-----------------------------------------------------------------------
  * Physical Memory Map
include/configs/cm_t35.h +0 -4
index 38f0d9c..257f6ff 100644
@@ -283,10 +283,6 @@
  * The stack sizes are set up in start.S using the settings below
  */
 #define CONFIG_STACKSIZE	(128 << 10)	/* regular stack 128 KiB */
-#ifdef CONFIG_USE_IRQ
-#define CONFIG_STACKSIZE_IRQ	(4 << 10)	/* IRQ stack 4 KiB */
-#define CONFIG_STACKSIZE_FIQ	(4 << 10)	/* FIQ stack 4 KiB */
-#endif
 
 /*-----------------------------------------------------------------------
  * Physical Memory Map
include/configs/devkit8000.h +0 -4
index 085950d..f5d9a5e 100644
@@ -275,10 +275,6 @@
 
 /* The stack sizes are set up in start.S using the settings below */
 #define CONFIG_STACKSIZE	(128 << 10)	/* regular stack 128 KiB */
-#ifdef CONFIG_USE_IRQ
-#define CONFIG_STACKSIZE_IRQ		(4 << 10)	/* IRQ stack 4 KiB */
-#define CONFIG_STACKSIZE_FIQ		(4 << 10)	/* FIQ stack 4 KiB */
-#endif
 
 /*  Physical Memory Map  */
 #define CONFIG_NR_DRAM_BANKS		2 /* CS1 may or may not be populated */
include/configs/omap3_beagle.h +0 -4
index b418002..263038b 100644
@@ -336,10 +336,6 @@
  * The stack sizes are set up in start.S using the settings below
  */
 #define CONFIG_STACKSIZE	(128 << 10)	/* regular stack 128 KiB */
-#ifdef CONFIG_USE_IRQ
-#define CONFIG_STACKSIZE_IRQ	(4 << 10)	/* IRQ stack 4 KiB */
-#define CONFIG_STACKSIZE_FIQ	(4 << 10)	/* FIQ stack 4 KiB */
-#endif
 
 /*-----------------------------------------------------------------------
  * Physical Memory Map
include/configs/omap3_evm_common.h +0 -5
index 8a22835..8210afe 100644
@@ -58,11 +58,6 @@
  */
 #define CONFIG_STACKSIZE	(128 << 10)	/* regular stack 128 KiB */
 
-#ifdef CONFIG_USE_IRQ
-#define CONFIG_STACKSIZE_IRQ	(4 << 10)	/* IRQ stack 4 KiB */
-#define CONFIG_STACKSIZE_FIQ	(4 << 10)	/* FIQ stack 4 KiB */
-#endif
-
 /*
  * Physical Memory Map
  * Note 1: CS1 may or may not be populated
include/configs/omap3_mvblx.h +0 -4
index d6a40c7..7c0d7f6 100644
@@ -256,10 +256,6 @@
  * The stack sizes are set up in start.S using the settings below
  */
 #define CONFIG_STACKSIZE	(128 << 10)	/* regular stack 128 KiB */
-#ifdef CONFIG_USE_IRQ
-#define CONFIG_STACKSIZE_IRQ	(4 << 10)	/* IRQ stack 4 KiB */
-#define CONFIG_STACKSIZE_FIQ	(4 << 10)	/* FIQ stack 4 KiB */
-#endif
 
 /*-----------------------------------------------------------------------
  * Physical Memory Map
include/configs/omap3_overo.h +0 -4
index 9670981..2d5d120 100644
@@ -243,10 +243,6 @@
  * The stack sizes are set up in start.S using the settings below
  */
 #define CONFIG_STACKSIZE	(128 << 10)	/* regular stack 128 KiB */
-#ifdef CONFIG_USE_IRQ
-#define CONFIG_STACKSIZE_IRQ	(4 << 10)	/* IRQ stack 4 KiB */
-#define CONFIG_STACKSIZE_FIQ	(4 << 10)	/* FIQ stack 4 KiB */
-#endif
 
 /*-----------------------------------------------------------------------
  * Physical Memory Map
include/configs/omap3_pandora.h +0 -4
index 56fc0dc..e80ca7a 100644
@@ -227,10 +227,6 @@
  * The stack sizes are set up in start.S using the settings below
  */
 #define CONFIG_STACKSIZE	(128 << 10)	/* regular stack 128 KiB */
-#ifdef CONFIG_USE_IRQ
-#define CONFIG_STACKSIZE_IRQ	(4 << 10)	/* IRQ stack 4 KiB */
-#define CONFIG_STACKSIZE_FIQ	(4 << 10)	/* FIQ stack 4 KiB */
-#endif
 
 /*-----------------------------------------------------------------------
  * Physical Memory Map
include/configs/omap3_sdp3430.h +0 -4
index 5b62a16..a6cf41a 100644
@@ -303,10 +303,6 @@
  * The stack sizes are set up in start.S using the settings below
  */
 #define CONFIG_STACKSIZE	(128 << 10) /* Regular stack */
-#ifdef CONFIG_USE_IRQ
-#define CONFIG_STACKSIZE_IRQ	(4 << 10) /* IRQ stack */
-#define CONFIG_STACKSIZE_FIQ	(4 << 10) /* FIQ stack */
-#endif
 
 #define CONFIG_SYS_SDRAM_BASE		PHYS_SDRAM_1
 #define CONFIG_SYS_INIT_RAM_ADDR	0x4020f800
include/configs/omap3_zoom1.h +0 -4
index 9fa5f0e..d2b2f34 100644
@@ -258,10 +258,6 @@
  * The stack sizes are set up in start.S using the settings below
  */
 #define CONFIG_STACKSIZE	(128 << 10)	/* regular stack 128 KiB */
-#ifdef CONFIG_USE_IRQ
-#define CONFIG_STACKSIZE_IRQ	(4 << 10)	/* IRQ stack 4 KiB */
-#define CONFIG_STACKSIZE_FIQ	(4 << 10)	/* FIQ stack 4 KiB */
-#endif
 
 /*-----------------------------------------------------------------------
  * Physical Memory Map
include/configs/omap3_zoom2.h +0 -4
index 1dc0240..e5c375b 100644
@@ -226,10 +226,6 @@
  * The stack sizes are set up in start.S using these settings
  */
 #define CONFIG_STACKSIZE	(128 << 10)	/* regular stack 128 KiB */
-#ifdef CONFIG_USE_IRQ
-#define CONFIG_STACKSIZE_IRQ	(4 << 10)	/* IRQ stack 4 KiB */
-#define CONFIG_STACKSIZE_FIQ	(4 << 10)	/* FIQ stack 4 KiB */
-#endif
 
 /*-----------------------------------------------------------------------
  * Physical Memory Map
Signature · 2 lines
Regards,
Igor.