public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Igor Grinberg <grinberg@compulab.co.il>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 3/3] ARM: OMAP: Remove STACKSIZE for IRQ and FIQ if	unused
Date: Sun, 20 Nov 2011 09:05:20 +0200	[thread overview]
Message-ID: <4EC8A6B0.9070004@compulab.co.il> (raw)
In-Reply-To: <1321613041-24522-4-git-send-email-weber@corscience.de>

On 11/18/11 12:44, Thomas Weber wrote:
> This patch removes the definition of stack sizes for
> irq and fiq if the CONFIG_USE_IRQ is undefined before.
> 
> Signed-off-by: Thomas Weber <weber@corscience.de>

Acked-by: Igor Grinberg <grinberg@compulab.co.il>

> ---
>  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(-)
> 
> diff --git a/include/configs/am3517_crane.h b/include/configs/am3517_crane.h
> index 350a570..6748743 100644
> --- a/include/configs/am3517_crane.h
> +++ b/include/configs/am3517_crane.h
> @@ -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
> diff --git a/include/configs/am3517_evm.h b/include/configs/am3517_evm.h
> index 83098e4..cf91e3f 100644
> --- a/include/configs/am3517_evm.h
> +++ b/include/configs/am3517_evm.h
> @@ -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
> diff --git a/include/configs/apollon.h b/include/configs/apollon.h
> index 46595d9..7fcf437 100644
> --- a/include/configs/apollon.h
> +++ b/include/configs/apollon.h
> @@ -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
> diff --git a/include/configs/cm_t35.h b/include/configs/cm_t35.h
> index 38f0d9c..257f6ff 100644
> --- a/include/configs/cm_t35.h
> +++ b/include/configs/cm_t35.h
> @@ -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
> diff --git a/include/configs/devkit8000.h b/include/configs/devkit8000.h
> index 085950d..f5d9a5e 100644
> --- a/include/configs/devkit8000.h
> +++ b/include/configs/devkit8000.h
> @@ -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 */
> diff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h
> index b418002..263038b 100644
> --- a/include/configs/omap3_beagle.h
> +++ b/include/configs/omap3_beagle.h
> @@ -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
> diff --git a/include/configs/omap3_evm_common.h b/include/configs/omap3_evm_common.h
> index 8a22835..8210afe 100644
> --- a/include/configs/omap3_evm_common.h
> +++ b/include/configs/omap3_evm_common.h
> @@ -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
> diff --git a/include/configs/omap3_mvblx.h b/include/configs/omap3_mvblx.h
> index d6a40c7..7c0d7f6 100644
> --- a/include/configs/omap3_mvblx.h
> +++ b/include/configs/omap3_mvblx.h
> @@ -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
> diff --git a/include/configs/omap3_overo.h b/include/configs/omap3_overo.h
> index 9670981..2d5d120 100644
> --- a/include/configs/omap3_overo.h
> +++ b/include/configs/omap3_overo.h
> @@ -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
> diff --git a/include/configs/omap3_pandora.h b/include/configs/omap3_pandora.h
> index 56fc0dc..e80ca7a 100644
> --- a/include/configs/omap3_pandora.h
> +++ b/include/configs/omap3_pandora.h
> @@ -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
> diff --git a/include/configs/omap3_sdp3430.h b/include/configs/omap3_sdp3430.h
> index 5b62a16..a6cf41a 100644
> --- a/include/configs/omap3_sdp3430.h
> +++ b/include/configs/omap3_sdp3430.h
> @@ -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
> diff --git a/include/configs/omap3_zoom1.h b/include/configs/omap3_zoom1.h
> index 9fa5f0e..d2b2f34 100644
> --- a/include/configs/omap3_zoom1.h
> +++ b/include/configs/omap3_zoom1.h
> @@ -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
> diff --git a/include/configs/omap3_zoom2.h b/include/configs/omap3_zoom2.h
> index 1dc0240..e5c375b 100644
> --- a/include/configs/omap3_zoom2.h
> +++ b/include/configs/omap3_zoom2.h
> @@ -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

-- 
Regards,
Igor.

  reply	other threads:[~2011-11-20  7:05 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-18 10:43 [U-Boot] [PATCH 0/3] Remove unused definitions from config files Thomas Weber
2011-11-18 10:43 ` [U-Boot] [PATCH 1/3] ARM: OMAP3: Remove unused define CONFIG_OMAP3430 Thomas Weber
2011-11-20  7:03   ` Igor Grinberg
2011-11-18 10:44 ` [U-Boot] [PATCH 2/3] ARM: OMAP3: Remove unused define SDRC_R_C_B Thomas Weber
2011-11-20  7:04   ` Igor Grinberg
2011-11-18 10:44 ` [U-Boot] [PATCH 3/3] ARM: OMAP: Remove STACKSIZE for IRQ and FIQ if unused Thomas Weber
2011-11-20  7:05   ` Igor Grinberg [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-11-22 11:23 [U-Boot] [PATCH 1/3] ARM: OMAP3: Remove unused define CONFIG_OMAP3430 Thomas Weber
2011-11-22 11:23 ` [U-Boot] [PATCH 3/3] ARM: OMAP: Remove STACKSIZE for IRQ and FIQ if unused Thomas Weber
2011-11-22 14:24   ` Tom Rini
2011-11-22 16:49     ` Enric Balletbò i Serra

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4EC8A6B0.9070004@compulab.co.il \
    --to=grinberg@compulab.co.il \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox