ARM: at91: common: guard ATMEL_PIT code by ifdef
authorEugen Hristev <eugen.hristev@microchip.com>
Thu, 20 Aug 2020 13:11:52 +0000 (16:11 +0300)
committerEugen Hristev <eugen.hristev@microchip.com>
Tue, 22 Sep 2020 08:27:18 +0000 (11:27 +0300)
commit919c4f3639dba6e516591e8024a9392254744635
treef2c4f326cced6e9f6043e4afc109e69ebed6bc56
parent68d3ec599edff1c7ead539820efbc2234fb965ed
ARM: at91: common: guard ATMEL_PIT code by ifdef

Atmel PIT timer is not available for next products that
have another timer hardware block.
To be able to use the common at91 code, guard the code that uses PIT
by ifdefs.

Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
arch/arm/mach-at91/armv7/cpu.c