summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorMarkus Schneider-Pargmann (TI) <msp@baylibre.com>2026-08-28 20:47:45 +0200
committerDaniel Lezcano <daniel.lezcano@kernel.org>2026-10-02 12:03:36 +0200
commit0d3a67b1954a3988fef20ba7641d33e6085ad313 (patch)
tree97712c502685693096a0d4fe931b7668404fc079 /scripts/Makefile.thinlto
parenta2cab84d6601d92f8b67b9dbdae568f5276bf841 (diff)
downloadlinux-0d3a67b1954a3988fef20ba7641d33e6085ad313.tar.gz
linux-0d3a67b1954a3988fef20ba7641d33e6085ad313.zip
clocksource/drivers/timer-ti-dm: Register clocksource/event only for am654
Registering clocksource/clockevent for the older platforms breaks booting them. The older platforms have their own implementation in early boot that is used to register clocksource/clockevent in timer-ti-dm-systimer.c. With am654, the timer is much more complex with more dependencies so doing this in early boot with the other driver is very difficult and gets ugly. Instead it is implemented in the platform driver for am654. However the old platforms may not register clocksource/clockevent in this driver as that would break the boot. Add a system_timer_capable flag that is only set for am654-timer that gates the clocksource/clockevent registration. Reported-by: H. Nikolaus Schaller <hns@goldelico.com> Closes: https://lore.kernel.org/r/2013A99A-0502-4128-ACFA-B04886224393@goldelico.com Fixes: b8eeeca55456 ("clocksource/drivers/timer-ti-dm: Add clocksource support") Signed-off-by: Markus Schneider-Pargmann (TI) <msp@baylibre.com> Signed-off-by: Daniel Lezcano <daniel.lezcano@kernel.org> Tested-by: Andreas Kemnade <andreas@kemnade.info> # OMAP3 GTA04 Tested-by: Kevin Hilman <khilman@baylibre.com> # OMAP3 Beagle XM Tested-by: H. Nikolaus Schaller <hns@goldelico.com> # OMAP3 OpenPandora Link: https://patch.msgid.link/20260828-v7-3-next-topic-ti-timer-dm-clocksource-omap-fix-v1-1-85f0e4dc6f9f@baylibre.com
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions