Commit 81dcf8bb117db89cbdeba3b2c2a289f52c162dca

Authored by Thomas Weber
Committed by Albert ARIBAUD
1 parent 0997561de9

ARM: OMAP: Remove STACKSIZE for IRQ and FIQ if unused

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

Acked-by: Enric Balletbo i Serra <eballetbo@iseebcn.com>
Acked-by: Tom Rini <trini@ti.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>

Showing 13 changed files with 0 additions and 53 deletions Side-by-side Diff

include/configs/am3517_crane.h
... ... @@ -264,10 +264,6 @@
264 264 * The stack sizes are set up in start.S using the settings below
265 265 */
266 266 #define CONFIG_STACKSIZE (128 << 10) /* regular stack 128 KiB */
267   -#ifdef CONFIG_USE_IRQ
268   -#define CONFIG_STACKSIZE_IRQ (4 << 10) /* IRQ stack 4 KiB */
269   -#define CONFIG_STACKSIZE_FIQ (4 << 10) /* FIQ stack 4 KiB */
270   -#endif
271 267  
272 268 /*-----------------------------------------------------------------------
273 269 * Physical Memory Map
include/configs/am3517_evm.h
... ... @@ -263,10 +263,6 @@
263 263 * The stack sizes are set up in start.S using the settings below
264 264 */
265 265 #define CONFIG_STACKSIZE (128 << 10) /* regular stack 128 KiB */
266   -#ifdef CONFIG_USE_IRQ
267   -#define CONFIG_STACKSIZE_IRQ (4 << 10) /* IRQ stack 4 KiB */
268   -#define CONFIG_STACKSIZE_FIQ (4 << 10) /* FIQ stack 4 KiB */
269   -#endif
270 266  
271 267 /*-----------------------------------------------------------------------
272 268 * Physical Memory Map
include/configs/apollon.h
... ... @@ -211,10 +211,6 @@
211 211 * The stack sizes are set up in start.S using the settings below
212 212 */
213 213 #define CONFIG_STACKSIZE SZ_128K /* regular stack */
214   -#ifdef CONFIG_USE_IRQ
215   -# define CONFIG_STACKSIZE_IRQ SZ_4K /* IRQ stack */
216   -# define CONFIG_STACKSIZE_FIQ SZ_4K /* FIQ stack */
217   -#endif
218 214  
219 215 /*-----------------------------------------------------------------------
220 216 * Physical Memory Map
include/configs/cm_t35.h
... ... @@ -283,10 +283,6 @@
283 283 * The stack sizes are set up in start.S using the settings below
284 284 */
285 285 #define CONFIG_STACKSIZE (128 << 10) /* regular stack 128 KiB */
286   -#ifdef CONFIG_USE_IRQ
287   -#define CONFIG_STACKSIZE_IRQ (4 << 10) /* IRQ stack 4 KiB */
288   -#define CONFIG_STACKSIZE_FIQ (4 << 10) /* FIQ stack 4 KiB */
289   -#endif
290 286  
291 287 /*-----------------------------------------------------------------------
292 288 * Physical Memory Map
include/configs/devkit8000.h
... ... @@ -275,10 +275,6 @@
275 275  
276 276 /* The stack sizes are set up in start.S using the settings below */
277 277 #define CONFIG_STACKSIZE (128 << 10) /* regular stack 128 KiB */
278   -#ifdef CONFIG_USE_IRQ
279   -#define CONFIG_STACKSIZE_IRQ (4 << 10) /* IRQ stack 4 KiB */
280   -#define CONFIG_STACKSIZE_FIQ (4 << 10) /* FIQ stack 4 KiB */
281   -#endif
282 278  
283 279 /* Physical Memory Map */
284 280 #define CONFIG_NR_DRAM_BANKS 2 /* CS1 may or may not be populated */
include/configs/omap3_beagle.h
... ... @@ -336,10 +336,6 @@
336 336 * The stack sizes are set up in start.S using the settings below
337 337 */
338 338 #define CONFIG_STACKSIZE (128 << 10) /* regular stack 128 KiB */
339   -#ifdef CONFIG_USE_IRQ
340   -#define CONFIG_STACKSIZE_IRQ (4 << 10) /* IRQ stack 4 KiB */
341   -#define CONFIG_STACKSIZE_FIQ (4 << 10) /* FIQ stack 4 KiB */
342   -#endif
343 339  
344 340 /*-----------------------------------------------------------------------
345 341 * Physical Memory Map
include/configs/omap3_evm_common.h
... ... @@ -58,11 +58,6 @@
58 58 */
59 59 #define CONFIG_STACKSIZE (128 << 10) /* regular stack 128 KiB */
60 60  
61   -#ifdef CONFIG_USE_IRQ
62   -#define CONFIG_STACKSIZE_IRQ (4 << 10) /* IRQ stack 4 KiB */
63   -#define CONFIG_STACKSIZE_FIQ (4 << 10) /* FIQ stack 4 KiB */
64   -#endif
65   -
66 61 /*
67 62 * Physical Memory Map
68 63 * Note 1: CS1 may or may not be populated
include/configs/omap3_mvblx.h
... ... @@ -256,10 +256,6 @@
256 256 * The stack sizes are set up in start.S using the settings below
257 257 */
258 258 #define CONFIG_STACKSIZE (128 << 10) /* regular stack 128 KiB */
259   -#ifdef CONFIG_USE_IRQ
260   -#define CONFIG_STACKSIZE_IRQ (4 << 10) /* IRQ stack 4 KiB */
261   -#define CONFIG_STACKSIZE_FIQ (4 << 10) /* FIQ stack 4 KiB */
262   -#endif
263 259  
264 260 /*-----------------------------------------------------------------------
265 261 * Physical Memory Map
include/configs/omap3_overo.h
... ... @@ -243,10 +243,6 @@
243 243 * The stack sizes are set up in start.S using the settings below
244 244 */
245 245 #define CONFIG_STACKSIZE (128 << 10) /* regular stack 128 KiB */
246   -#ifdef CONFIG_USE_IRQ
247   -#define CONFIG_STACKSIZE_IRQ (4 << 10) /* IRQ stack 4 KiB */
248   -#define CONFIG_STACKSIZE_FIQ (4 << 10) /* FIQ stack 4 KiB */
249   -#endif
250 246  
251 247 /*-----------------------------------------------------------------------
252 248 * Physical Memory Map
include/configs/omap3_pandora.h
... ... @@ -227,10 +227,6 @@
227 227 * The stack sizes are set up in start.S using the settings below
228 228 */
229 229 #define CONFIG_STACKSIZE (128 << 10) /* regular stack 128 KiB */
230   -#ifdef CONFIG_USE_IRQ
231   -#define CONFIG_STACKSIZE_IRQ (4 << 10) /* IRQ stack 4 KiB */
232   -#define CONFIG_STACKSIZE_FIQ (4 << 10) /* FIQ stack 4 KiB */
233   -#endif
234 230  
235 231 /*-----------------------------------------------------------------------
236 232 * Physical Memory Map
include/configs/omap3_sdp3430.h
... ... @@ -303,10 +303,6 @@
303 303 * The stack sizes are set up in start.S using the settings below
304 304 */
305 305 #define CONFIG_STACKSIZE (128 << 10) /* Regular stack */
306   -#ifdef CONFIG_USE_IRQ
307   -#define CONFIG_STACKSIZE_IRQ (4 << 10) /* IRQ stack */
308   -#define CONFIG_STACKSIZE_FIQ (4 << 10) /* FIQ stack */
309   -#endif
310 306  
311 307 #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1
312 308 #define CONFIG_SYS_INIT_RAM_ADDR 0x4020f800
include/configs/omap3_zoom1.h
... ... @@ -258,10 +258,6 @@
258 258 * The stack sizes are set up in start.S using the settings below
259 259 */
260 260 #define CONFIG_STACKSIZE (128 << 10) /* regular stack 128 KiB */
261   -#ifdef CONFIG_USE_IRQ
262   -#define CONFIG_STACKSIZE_IRQ (4 << 10) /* IRQ stack 4 KiB */
263   -#define CONFIG_STACKSIZE_FIQ (4 << 10) /* FIQ stack 4 KiB */
264   -#endif
265 261  
266 262 /*-----------------------------------------------------------------------
267 263 * Physical Memory Map
include/configs/omap3_zoom2.h
... ... @@ -226,10 +226,6 @@
226 226 * The stack sizes are set up in start.S using these settings
227 227 */
228 228 #define CONFIG_STACKSIZE (128 << 10) /* regular stack 128 KiB */
229   -#ifdef CONFIG_USE_IRQ
230   -#define CONFIG_STACKSIZE_IRQ (4 << 10) /* IRQ stack 4 KiB */
231   -#define CONFIG_STACKSIZE_FIQ (4 << 10) /* FIQ stack 4 KiB */
232   -#endif
233 229  
234 230 /*-----------------------------------------------------------------------
235 231 * Physical Memory Map