Skip to contentSkip to conversation

Remove unused definitions from config files

PATCH New Thomas Weber 4 participants 9 messages Nov 26, 2011 – Nov 29, 2011

lore
Share & tools
lore
#0 lore raw

v3 cover Remove unused definitions from config files

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

Changelog
v1->v2
Cc:ed board maintainers
v2->v3
Remove comment and empty line around removed definition

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     |    7 -------
 include/configs/am3517_evm.h       |    7 -------
 include/configs/apollon.h          |    4 ----
 include/configs/cm_t35.h           |    8 --------
 include/configs/devkit8000.h       |    8 --------
 include/configs/dig297.h           |    4 ----
 include/configs/igep0020.h         |    4 ----
 include/configs/igep0030.h         |    4 ----
 include/configs/omap3_beagle.h     |    8 --------
 include/configs/omap3_evm_common.h |    9 ---------
 include/configs/omap3_mvblx.h      |    8 --------
 include/configs/omap3_overo.h      |    8 --------
 include/configs/omap3_pandora.h    |    8 --------
 include/configs/omap3_sdp3430.h    |    8 --------
 include/configs/omap3_zoom1.h      |    8 --------
 include/configs/omap3_zoom2.h      |    8 --------
 16 files changed, 0 insertions(+), 111 deletions(-)
Signature · 1 line
1.7.7.4
#1 lore raw

PATCH v3 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.7.4
#2 lore raw

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

Quoted 6 lines · Thomas Weber

This patch removes the CONFIG_OMAP3430, because it is unused.

But please check my name spelling in Cc:, as I received only one of your v3 patches. Thanks.

Luca

#3 lore raw

PATCH v3 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.

---
Changelog
v2->v3
Remove comment and empty line around removed definition too

 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, 0 insertions(+), 45 deletions(-)
include/configs/am3517_crane.h +0 -3
index 8842a18..25ce2da 100644
@@ -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
  */
include/configs/am3517_evm.h +0 -3
index 1c70b9d..87dd00f 100644
@@ -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
  */
include/configs/cm_t35.h +0 -3
index eca7dec..2cba7fd 100644
@@ -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
  */
include/configs/devkit8000.h +0 -3
index 353e09f..e27e282 100644
@@ -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
 
include/configs/dig297.h +0 -3
index 749be7e..42aab27 100644
@@ -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
  */
include/configs/igep0020.h +0 -3
index a3b58cf..56fd6de 100644
@@ -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
  */
include/configs/igep0030.h +0 -3
index 96b366b..3634618 100644
@@ -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
  */
include/configs/omap3_beagle.h +0 -3
index c4f772b..c72b747 100644
@@ -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
  */
include/configs/omap3_evm_common.h +0 -3
index 0fa0b0f..810b8ae 100644
@@ -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 + \
include/configs/omap3_mvblx.h +0 -3
index 272e81d..ccc67ae 100644
@@ -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
 
 /*----------------------------------------------------------------------------
include/configs/omap3_overo.h +0 -3
index ebabd37..84cc76b 100644
@@ -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
  */
include/configs/omap3_pandora.h +0 -3
index 832378b..f43f6f3 100644
@@ -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
include/configs/omap3_sdp3430.h +0 -3
index 2a34172..f67f47d 100644
@@ -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
-
 /*--------------------------------------------------------------------------*/
 
 /*
include/configs/omap3_zoom1.h +0 -3
index 9fb8f4d..6b514fc 100644
@@ -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
  */
include/configs/omap3_zoom2.h +0 -3
index 209dfe4..2c0d4af 100644
@@ -239,9 +239,6 @@
 #define PHYS_SDRAM_1_SIZE	(32 << 20)	/*@least 32 MiB */
 #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.7.4
#6 lore raw

PATCH v3 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 25ce2da..0a62e36 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 87dd00f..dfe186c 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 2cba7fd..a06a89d 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 e27e282..3ea4532 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 c72b747..58efbfb 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 810b8ae..aa6cea8 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 ccc67ae..63b2643 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 84cc76b..8c450b7 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 f43f6f3..0a82648 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 f67f47d..fdb87c7 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 6b514fc..8de7a67 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 2c0d4af..dff50fc 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.7.4
#7 lore raw

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

Quoted 7 lines · Thomas Weber

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

This does not touch the board I maintain, but since I was in Cc:, and I successfully tested the whole series on my board:

Luca

#8 lore raw

v3 cover Remove unused definitions from config files

In reply to Thomas Weber
Quoted 30 lines · Thomas Weber

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

Changelog
v1->v2
? ? ? ?Cc:ed board maintainers
v2->v3
? ? ? ?Remove comment and empty line around removed definition

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 ? ? | ? ?7 -------
?include/configs/am3517_evm.h ? ? ? | ? ?7 -------
?include/configs/apollon.h ? ? ? ? ?| ? ?4 ----
?include/configs/cm_t35.h ? ? ? ? ? | ? ?8 --------
?include/configs/devkit8000.h ? ? ? | ? ?8 --------
?include/configs/dig297.h ? ? ? ? ? | ? ?4 ----
?include/configs/igep0020.h ? ? ? ? | ? ?4 ----
?include/configs/igep0030.h ? ? ? ? | ? ?4 ----
?include/configs/omap3_beagle.h ? ? | ? ?8 --------
?include/configs/omap3_evm_common.h | ? ?9 ---------
?include/configs/omap3_mvblx.h ? ? ?| ? ?8 --------
?include/configs/omap3_overo.h ? ? ?| ? ?8 --------
?include/configs/omap3_pandora.h ? ?| ? ?8 --------
?include/configs/omap3_sdp3430.h ? ?| ? ?8 --------
?include/configs/omap3_zoom1.h ? ? ?| ? ?8 --------
?include/configs/omap3_zoom2.h ? ? ?| ? ?8 --------
Quoted 1 line

?16 files changed, 0 insertions(+), 111 deletions(-)

(Will be) queued to u-boot-ti.

Signature · 1 line
Tom