summaryrefslogtreecommitdiff
path: root/include/configs/ethernut5.h
diff options
context:
space:
mode:
authorRob Herring <rob.herring@calxeda.com>2012-07-13 09:44:01 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-09-01 14:58:22 +0200
commit3d6ba91e793808d1612152e9f9b8c51b3ca6c926 (patch)
tree0928068fb96e44171be30ecec55549673a067ae1 /include/configs/ethernut5.h
parent6f0dba85a92b55f67a3610241060caaa41b5939e (diff)
downloadu-boot-imx-3d6ba91e793808d1612152e9f9b8c51b3ca6c926.zip
u-boot-imx-3d6ba91e793808d1612152e9f9b8c51b3ca6c926.tar.gz
u-boot-imx-3d6ba91e793808d1612152e9f9b8c51b3ca6c926.tar.bz2
ARM: Remove unused stack and irq config defines
CONFIG_STACKSIZE is not referenced anywhere except on AVR32, but present in most ARM board config files. IRQs are only enabled for 1 config, so remove the unused config options for IRQ and FIQ stack size as well. Cc: Albert ARIBAUD <albert.u.boot@aribaud.net> Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Diffstat (limited to 'include/configs/ethernut5.h')
-rw-r--r--include/configs/ethernut5.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/configs/ethernut5.h b/include/configs/ethernut5.h
index f89e9ea..14a0f02 100644
--- a/include/configs/ethernut5.h
+++ b/include/configs/ethernut5.h
@@ -48,13 +48,12 @@
#define CONFIG_SYS_AT91_SLOW_CLOCK 32768 /* slow clock xtal */
#define CONFIG_SYS_AT91_MAIN_CLOCK 18432000 /* 18.432 MHz crystal */
#define CONFIG_SYS_HZ 1000
-#undef CONFIG_USE_IRQ /* Running w/o interrupts */
/* 32kB internal SRAM */
#define CONFIG_SRAM_BASE 0x00300000 /*AT91SAM9XE_SRAM_BASE */
#define CONFIG_SRAM_SIZE (32 << 10)
-#define CONFIG_STACKSIZE (CONFIG_SRAM_SIZE - GENERATED_GBL_DATA_SIZE)
-#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SRAM_BASE + CONFIG_STACKSIZE)
+#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SRAM_BASE + CONFIG_SRAM_SIZE - \
+ GENERATED_GBL_DATA_SIZE)
/* 128MB SDRAM in 1 bank */
#define CONFIG_NR_DRAM_BANKS 1