From f1bad47cd720b858470f1f536023834b07e1aaec Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Tue, 26 May 2015 21:15:32 -0400 Subject: [PATCH] Kconfig: update ARM BSP configs Change-Id: Id0a09e5ca7049504b118bbd34129347ff31b839d Signed-off-by: Anas Nashif --- arch/arm/bsp/CortexM/Kconfig | 12 ------------ arch/arm/fsl_frdm_k64f/Kconfig | 3 +++ arch/arm/ti_lm3s6965/Kconfig | 3 +++ 3 files changed, 6 insertions(+), 12 deletions(-) diff --git a/arch/arm/bsp/CortexM/Kconfig b/arch/arm/bsp/CortexM/Kconfig index 2378474f8bb..a32d22b8d5c 100644 --- a/arch/arm/bsp/CortexM/Kconfig +++ b/arch/arm/bsp/CortexM/Kconfig @@ -88,18 +88,6 @@ config STACK_ALIGN_DOUBLE_WORD This is needed to conform to AAPCS, the procedure call standard for the ARM. It wastes stack space. -config NUM_IRQS - int - prompt "Upper limit of interrupt numbers/IDs used" - default 1 - range 1 1000 - help - Interrupts available will be 0 to NUM_IRQS-1. - - The minimal value is 1. - - The BSP must provide a valid default. This drives the size of the - vector table. config STACK_GROWS_DOWN bool diff --git a/arch/arm/fsl_frdm_k64f/Kconfig b/arch/arm/fsl_frdm_k64f/Kconfig index 6898ff37369..e523316a9a6 100644 --- a/arch/arm/fsl_frdm_k64f/Kconfig +++ b/arch/arm/fsl_frdm_k64f/Kconfig @@ -39,13 +39,16 @@ config BSP_DIR to locate the correct linker file. config NUM_IRQ_PRIO_BITS + int default 4 config NUM_IRQS + int # must be >= the highest interrupt number used default 34 config SYS_CLOCK_HW_CYCLES_PER_SEC + int default 25000000 config WDOG_INIT diff --git a/arch/arm/ti_lm3s6965/Kconfig b/arch/arm/ti_lm3s6965/Kconfig index bcd43234189..8be34e1b5f6 100644 --- a/arch/arm/ti_lm3s6965/Kconfig +++ b/arch/arm/ti_lm3s6965/Kconfig @@ -39,9 +39,11 @@ config BSP_DIR to locate the correct linker file. config NUM_IRQ_PRIO_BITS + int default 3 config NUM_IRQS + int # must be >= the highest interrupt number used # - include the UART interrupts default 7 @@ -52,4 +54,5 @@ config BSP_TI_LM3S6965_QEMU # assume it is used for a QEMU target. config SYS_CLOCK_HW_CYCLES_PER_SEC + int default 12000000