arm: omap-common: do not build timer when CONFIG_TIMER defined
authorMugunthan V N <mugunthanvnm@ti.com>
Thu, 24 Dec 2015 10:38:04 +0000 (16:08 +0530)
committerSimon Glass <sjg@chromium.org>
Thu, 21 Jan 2016 02:06:21 +0000 (19:06 -0700)
commit28a6c01187d30f0e7b7dbe6e4e198e76ce6246f1
treea41e030c999f891b88baf6235b39542f2fc715b3
parentc275dfefebb95c1ffdca630a65055a850b83adc7
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: Mugunthan V N <mugunthanvnm@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
arch/arm/cpu/armv7/omap-common/Makefile