Bartosz Golaszewski
989a495ed9
clocksource: davinci: only enable clockevents once tim34 is initialized
...
[ Upstream commit cea931c251 ]
The DM365 platform has a strange quirk (only present when using ancient
u-boot - mainline u-boot v2013.01 and later works fine) where if we
enable the second half of the timer in periodic mode before we do its
initialization - the time won't start flowing and we can't boot.
When using more recent u-boot, we can enable the timer, then reinitialize
it and all works fine.
To work around this issue only enable clockevents once tim34 is
initialized i.e. move clockevents_config_and_register() below tim34
initialization.
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com >
Signed-off-by: Sekhar Nori <nsekhar@ti.com >
Signed-off-by: Sasha Levin <sashal@kernel.org >
2020-02-24 08:36:46 +01:00
..
2019-06-19 17:09:07 +02:00
2019-07-03 10:50:21 +02:00
2019-07-03 10:50:21 +02:00
2019-06-19 17:09:55 +02:00
2019-05-30 11:29:22 -07:00
2020-01-04 19:17:07 +01:00
2020-02-24 08:36:28 +01:00
2017-06-14 11:58:45 +02:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:29:22 -07:00
2019-05-30 11:26:32 -07:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:07 +02:00
2019-06-19 17:09:55 +02:00
2019-08-27 00:31:39 +02:00
2019-07-03 10:50:21 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-08-23 16:59:54 +02:00
2018-11-04 11:04:46 +01:00
2019-08-08 15:30:08 -07:00
2017-06-14 11:58:45 +02:00
2019-09-22 09:30:30 -07:00
2019-08-08 15:30:08 -07:00
2019-03-22 22:59:33 +01:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2018-05-23 07:39:09 +02:00
2019-06-19 17:09:55 +02:00
2019-06-05 17:36:37 +02:00
2019-08-27 00:31:39 +02:00
2019-06-19 17:09:55 +02:00
2019-05-30 11:26:32 -07:00
2019-08-27 00:31:39 +02:00
2019-10-18 07:55:16 +02:00
2019-08-27 00:31:39 +02:00
2018-10-03 14:37:02 +02:00
2018-07-26 11:26:30 +02:00
2019-05-21 11:28:40 +02:00
2019-06-19 17:09:55 +02:00
2019-05-30 11:26:35 -07:00
2019-08-27 00:31:39 +02:00
2019-06-05 17:36:37 +02:00
2019-05-30 11:29:53 -07:00
2020-02-24 08:36:46 +01:00
2017-06-14 11:58:45 +02:00
2019-06-19 17:09:55 +02:00
2019-05-30 11:26:32 -07:00
2018-12-18 22:22:23 +01:00
2018-11-02 19:41:12 +01:00
2018-12-18 22:22:23 +01:00
2019-08-27 00:31:39 +02:00
2018-12-18 22:22:23 +01:00
2019-05-30 11:26:35 -07:00
2019-06-25 19:49:18 +02:00
2019-06-19 17:09:55 +02:00
2018-10-03 14:37:02 +02:00
2019-10-16 17:04:50 +02:00
2019-06-25 19:49:18 +02:00
2019-05-02 21:55:58 +02:00
2018-12-31 23:17:23 +08:00
2019-08-27 00:31:39 +02:00
2017-06-14 11:58:45 +02:00
2020-01-04 19:17:08 +01:00
2018-01-08 17:57:24 +01:00
2018-10-03 14:37:02 +02:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:29:52 -07:00
2018-10-03 14:37:02 +02:00
2019-05-21 11:28:40 +02:00
2019-08-27 00:31:39 +02:00
2019-06-19 17:09:55 +02:00
2019-06-05 17:36:37 +02:00
2018-12-18 22:22:23 +01:00
2020-01-09 10:19:59 +01:00
2019-06-19 17:09:55 +02:00
2019-05-30 11:26:35 -07:00
2017-11-02 11:10:55 +01:00
2018-07-26 11:26:34 +02:00
2019-05-30 11:29:22 -07:00
2019-08-27 00:31:39 +02:00
2019-02-23 12:13:45 +01:00
2019-02-23 12:13:45 +01:00
2019-06-25 19:49:18 +02:00
2019-06-05 17:37:07 +02:00
2019-05-24 15:51:30 +02:00
2019-05-30 11:29:22 -07:00
2019-05-30 11:26:41 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:35 -07:00
2019-06-19 17:09:55 +02:00