Kconfig: update ARM BSP configs

Change-Id: Id0a09e5ca7049504b118bbd34129347ff31b839d

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2015-05-26 21:15:32 -04:00
commit f1bad47cd7
3 changed files with 6 additions and 12 deletions

View file

@ -88,18 +88,6 @@ config STACK_ALIGN_DOUBLE_WORD
This is needed to conform to AAPCS, the procedure call standard for This is needed to conform to AAPCS, the procedure call standard for
the ARM. It wastes stack space. 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 config STACK_GROWS_DOWN
bool bool

View file

@ -39,13 +39,16 @@ config BSP_DIR
to locate the correct linker file. to locate the correct linker file.
config NUM_IRQ_PRIO_BITS config NUM_IRQ_PRIO_BITS
int
default 4 default 4
config NUM_IRQS config NUM_IRQS
int
# must be >= the highest interrupt number used # must be >= the highest interrupt number used
default 34 default 34
config SYS_CLOCK_HW_CYCLES_PER_SEC config SYS_CLOCK_HW_CYCLES_PER_SEC
int
default 25000000 default 25000000
config WDOG_INIT config WDOG_INIT

View file

@ -39,9 +39,11 @@ config BSP_DIR
to locate the correct linker file. to locate the correct linker file.
config NUM_IRQ_PRIO_BITS config NUM_IRQ_PRIO_BITS
int
default 3 default 3
config NUM_IRQS config NUM_IRQS
int
# must be >= the highest interrupt number used # must be >= the highest interrupt number used
# - include the UART interrupts # - include the UART interrupts
default 7 default 7
@ -52,4 +54,5 @@ config BSP_TI_LM3S6965_QEMU
# assume it is used for a QEMU target. # assume it is used for a QEMU target.
config SYS_CLOCK_HW_CYCLES_PER_SEC config SYS_CLOCK_HW_CYCLES_PER_SEC
int
default 12000000 default 12000000