diff options
| author | Eugen Hristev <[email protected]> | 2022-04-04 11:35:51 +0300 |
|---|---|---|
| committer | Eugen Hristev <[email protected]> | 2022-04-26 09:54:41 +0300 |
| commit | 632422d4b333f3580b9fd28c424ff728ed3d3bad (patch) | |
| tree | 21ec5f6bac9728376e77aeeefdc740af5a0cc950 /drivers/timer/Makefile | |
| parent | e135d2c2f385fc1cefcea64cf775c6f0267945a2 (diff) | |
timers: atmel_pit: introduce CONFIG_SPL_ATMEL_PIT_TIMER
This commit allows the ATMEL_PIT_TIMER 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 0.3 KBytes.
Signed-off-by: Eugen Hristev <[email protected]>
Diffstat (limited to 'drivers/timer/Makefile')
| -rw-r--r-- | drivers/timer/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/timer/Makefile b/drivers/timer/Makefile index ae01a258e3d..35cc490db1e 100644 --- a/drivers/timer/Makefile +++ b/drivers/timer/Makefile @@ -7,7 +7,8 @@ obj-$(CONFIG_ALTERA_TIMER) += altera_timer.o 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_ATCPIT100_TIMER) += atcpit100_timer.o +obj-$(CONFIG_$(SPL_)ATMEL_PIT_TIMER) += atmel_pit_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 |
