The CONFIG_SYSTEMTICK_EXTCLK selection should only be available on systems that support it

This commit is contained in:
Gregory Nutt 2014-04-30 15:32:06 -06:00
parent d89990c9da
commit 8d758a13de
4 changed files with 7 additions and 0 deletions

View File

@ -145,6 +145,10 @@ config ARCH_NAND_HWECC
bool bool
default n default n
config ARCH_HAVE_EXTCLK
bool
default n
menuconfig PAGING menuconfig PAGING
bool "On-demand paging" bool "On-demand paging"
default n default n

View File

@ -1199,6 +1199,7 @@ endmenu # USB Full Speed Device Controller driver (DCD) options
config SAM34_TC config SAM34_TC
bool bool
default n default n
select ARCH_HAVE_EXTCLK
menu "AT91SAM3/4 Timer/Counter options" menu "AT91SAM3/4 Timer/Counter options"
depends on SAM34_TC depends on SAM34_TC

View File

@ -297,6 +297,7 @@ CONFIG_ARCH_HAVE_IRQPRIO=y
CONFIG_ARCH_HAVE_VFORK=y CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set # CONFIG_ARCH_HAVE_MMU is not set
# CONFIG_ARCH_NAND_HWECC is not set # CONFIG_ARCH_NAND_HWECC is not set
CONFIG_ARCH_HAVE_EXTCLK=y
# CONFIG_ARCH_IRQPRIO is not set # CONFIG_ARCH_IRQPRIO is not set
CONFIG_ARCH_STACKDUMP=y CONFIG_ARCH_STACKDUMP=y
# CONFIG_ENDIAN_BIG is not set # CONFIG_ENDIAN_BIG is not set

View File

@ -64,6 +64,7 @@ config MSEC_PER_TICK
config SYSTEMTICK_EXTCLK config SYSTEMTICK_EXTCLK
bool "Use external clock" bool "Use external clock"
default n default n
depends on ARCH_HAVE_EXTCLK
---help--- ---help---
Use external clock for system tick. When enabled, the platform-specific Use external clock for system tick. When enabled, the platform-specific
logic must start it's own timer interrupt to make periodic calls to the logic must start it's own timer interrupt to make periodic calls to the