Revert "clocksource: ARMv8 timer can only be built on ARMv8"
This reverts commit 33ec8cb,
so that barebox can once again match against "arm,armv7-timer"
compatibles. The reverted commit restricted the timer to CPU_V8,
because in i.MX multi-image configuration with MACH_SCB9328 set,
we can have both CPU_32v7 and CPU_32v4T in the same build.

To avoid this issue properly, force use of -march=armv7-a for
non-CONFIG_CPU_V8 targets. This is acceptable as we don't expect
non-ARMv7 device trees to have the architected arm,armv7-timer.

Suggested-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent dd96bc7 commit 8dab02ec4dfbac3b1d818a8605dba4be94630dd3
@Ahmad Fatoum Ahmad Fatoum authored on 15 Jan 2020
Sascha Hauer committed on 16 Jan 2020
Showing 2 changed files
View
drivers/clocksource/Kconfig
View
drivers/clocksource/Makefile