mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 15:14:43 +00:00
timers: atmel_tcb: introduce CONFIG_SPL_ATMEL_TCB
This commit allows the ATMEL_TCB driver to be unselected in SPL and be selected in u-boot proper. The SPL can use a different timer. By having a separate Kconfig for ATMEL_TCB in SPL, the size of the SPL decreases by 1 KByte. Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
This commit is contained in:
parent
0fbc893cfe
commit
e135d2c2f3
7 changed files with 14 additions and 1 deletions
|
@ -86,5 +86,6 @@ CONFIG_SYSRESET_CMD_RESET=y
|
|||
CONFIG_SYSRESET_AT91=y
|
||||
CONFIG_SPL_TIMER=y
|
||||
CONFIG_ATMEL_TCB_TIMER=y
|
||||
CONFIG_SPL_ATMEL_TCB_TIMER=y
|
||||
CONFIG_OF_LIBFDT_OVERLAY=y
|
||||
# CONFIG_EFI_LOADER_HII is not set
|
||||
|
|
|
@ -94,6 +94,7 @@ CONFIG_SYSRESET_CMD_RESET=y
|
|||
CONFIG_SYSRESET_AT91=y
|
||||
CONFIG_SPL_TIMER=y
|
||||
CONFIG_ATMEL_TCB_TIMER=y
|
||||
CONFIG_SPL_ATMEL_TCB_TIMER=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_EHCI_HCD=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
|
|
|
@ -96,6 +96,7 @@ CONFIG_SYSRESET_CMD_RESET=y
|
|||
CONFIG_SYSRESET_AT91=y
|
||||
CONFIG_SPL_TIMER=y
|
||||
CONFIG_ATMEL_TCB_TIMER=y
|
||||
CONFIG_SPL_ATMEL_TCB_TIMER=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_EHCI_HCD=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
|
|
|
@ -96,6 +96,7 @@ CONFIG_SYSRESET_CMD_RESET=y
|
|||
CONFIG_SYSRESET_AT91=y
|
||||
CONFIG_SPL_TIMER=y
|
||||
CONFIG_ATMEL_TCB_TIMER=y
|
||||
CONFIG_SPL_ATMEL_TCB_TIMER=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_EHCI_HCD=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
|
|
|
@ -100,6 +100,7 @@ CONFIG_SYSRESET_CMD_RESET=y
|
|||
CONFIG_SYSRESET_AT91=y
|
||||
CONFIG_SPL_TIMER=y
|
||||
CONFIG_ATMEL_TCB_TIMER=y
|
||||
CONFIG_SPL_ATMEL_TCB_TIMER=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_EHCI_HCD=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
|
|
|
@ -98,6 +98,14 @@ config ATMEL_TCB_TIMER
|
|||
Select this to enable the use of the timer counter as a monotonic
|
||||
counter.
|
||||
|
||||
config SPL_ATMEL_TCB_TIMER
|
||||
bool "Atmel timer counter support in SPL"
|
||||
depends on SPL_TIMER
|
||||
depends on ARCH_AT91
|
||||
help
|
||||
Select this to enable the use of the timer counter as a monotonic
|
||||
counter in SPL.
|
||||
|
||||
config CADENCE_TTC_TIMER
|
||||
bool "Cadence TTC (Triple Timer Counter)"
|
||||
depends on TIMER
|
||||
|
|
|
@ -8,7 +8,7 @@ obj-$(CONFIG_ANDES_PLMT_TIMER) += andes_plmt_timer.o
|
|||
obj-$(CONFIG_ARC_TIMER) += arc_timer.o
|
||||
obj-$(CONFIG_AST_TIMER) += ast_timer.o
|
||||
obj-$(CONFIG_ATMEL_PIT_TIMER) += atmel_pit_timer.o
|
||||
obj-$(CONFIG_ATMEL_TCB_TIMER) += atmel_tcb_timer.o
|
||||
obj-$(CONFIG_$(SPL_)ATMEL_TCB_TIMER) += atmel_tcb_timer.o
|
||||
obj-$(CONFIG_CADENCE_TTC_TIMER) += cadence-ttc.o
|
||||
obj-$(CONFIG_DESIGNWARE_APB_TIMER) += dw-apb-timer.o
|
||||
obj-$(CONFIG_MPC83XX_TIMER) += mpc83xx_timer.o
|
||||
|
|
Loading…
Reference in a new issue