Skip to content
Snippets Groups Projects
Commit 28a6c011 authored by Mugunthan V N's avatar Mugunthan V N Committed by Simon Glass
Browse files

arm: omap-common: do not build timer when CONFIG_TIMER defined


To prepare timer driver to DM/DT conversion do not build the
exiting timer driver when CONFIG_TIMER is defined. But since
omap's SPL doesn't support DM yet so built timer driver only for
SPL build when CONFIG_TIMER is defined.

Signed-off-by: default avatarMugunthan V N <mugunthanvnm@ti.com>
Reviewed-by: default avatarTom Rini <trini@konsulko.com>
parent c275dfef
No related branches found
No related tags found
No related merge requests found
...@@ -6,7 +6,13 @@ ...@@ -6,7 +6,13 @@
# #
obj-y := reset.o obj-y := reset.o
ifeq ($(CONFIG_TIMER),)
obj-y += timer.o obj-y += timer.o
else
ifdef CONFIG_SPL_BUILD
obj-y += timer.o
endif
endif
obj-y += utils.o obj-y += utils.o
ifneq ($(CONFIG_OMAP44XX)$(CONFIG_OMAP54XX),) ifneq ($(CONFIG_OMAP44XX)$(CONFIG_OMAP54XX),)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment