ARM: mach-at91: fix timer.o compile condition
authorEugen Hristev <eugen.hristev@microchip.com>
Wed, 11 Nov 2020 16:46:03 +0000 (18:46 +0200)
committerEugen Hristev <eugen.hristev@microchip.com>
Thu, 26 Nov 2020 08:12:47 +0000 (10:12 +0200)
commit6c5f79d0cec40b4637883d13c4312f08afeca5d3
tree38b65b5d2bf32b7d6afcc2a60a05eaff08a73b58
parent62495e2cdb2e26f74281a0f7f0195b55e6d92abe
ARM: mach-at91: fix timer.o compile condition

The AT91 architecture now has two possible timer blocks, the old PIT timer
and the new PIT64B.
The timer.c file has an old non DM driver that works for platforms
that do not use the ATMEL_PIT_TIMER DM-based driver.
Update the Makefile to select this old driver in case neither of the
ATMEL_PIT_TIMER and the MCHP_PIT64B_TIMER are selected.

Suggested-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
arch/arm/mach-at91/armv7/Makefile