Michael Walle
616278bd2c
time: move the CONFIG_SYS_TIMER_RATE handling to the compiler
...
CONFIG_SYS_TIMER_RATE might be a dynamic value, i.e. a function call
instead of a static value, thus it has to be evaluated at runtime. If it
is a static value, the compiler should be able to optimize the unused
branches out.
This will be needed for kirkwoods dynamic CONFIG_SYS_TCLK setting.
Cc: Pali Rohár <pali@kernel.org>
Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
2022-08-23 12:38:30 +02:00
..
2022-02-09 12:30:13 -07:00
2021-12-26 06:57:20 +01:00
2018-05-07 09:34:12 -04:00
2022-01-18 08:31:02 -05:00
2020-05-18 21:19:18 -04:00
2021-09-09 11:11:33 -04:00
2022-07-11 14:58:57 -04:00
2021-08-02 13:32:14 -04:00
2022-07-07 09:29:08 -04:00
2022-05-03 21:39:22 +02:00
2022-08-13 11:09:49 +02:00
2022-08-20 08:38:12 +02:00
2022-07-02 14:19:12 +02:00
2020-05-18 21:19:18 -04:00
2020-04-26 14:23:55 -06:00
2022-04-06 14:01:42 -04:00
2018-05-07 09:34:12 -04:00
2021-10-13 14:18:30 -07:00
2022-07-07 09:29:08 -04:00
2022-06-06 17:47:17 -04:00
2022-01-19 18:11:34 +01:00
2020-01-22 17:47:57 -05:00
2022-04-06 14:01:42 -04:00
2022-07-26 02:30:56 -06:00
2022-08-10 13:46:55 -04:00
2021-11-18 18:20:19 -05:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2022-01-19 18:11:34 +01:00
2018-09-18 00:01:18 -06:00
2022-05-03 21:39:22 +02:00
2020-05-18 21:19:18 -04:00
2019-12-02 18:23:07 -05:00
2022-04-21 14:32:40 -04:00
2022-04-21 14:32:40 -04:00
2021-09-23 14:15:32 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2022-05-05 15:06:02 -04:00
2022-08-10 13:46:55 -04:00
2020-05-18 21:19:23 -04:00
2022-08-12 08:14:23 -04:00
2019-10-31 07:22:53 -04:00
2021-05-24 14:21:30 -04:00
2021-04-14 15:06:08 -04:00
2020-05-18 21:19:18 -04:00
2021-10-13 14:18:30 -07:00
2022-08-10 13:46:55 -04:00
2020-10-30 10:56:11 -04:00
2021-10-08 15:53:26 -04:00
2019-08-11 16:43:41 -04:00
2021-09-04 12:26:01 -04:00
2021-10-08 15:53:27 -04:00
2022-06-28 17:11:48 -04:00
2021-06-08 11:39:09 -04:00
2022-01-14 12:26:30 -05:00
2022-08-12 16:10:50 -04:00
2018-05-07 09:34:12 -04:00
2020-05-18 17:33:31 -04:00
2020-05-18 21:19:18 -04:00
2022-08-10 13:38:30 -04:00
2022-08-10 13:46:55 -04:00
2022-03-15 16:19:29 -04:00
2022-06-28 17:03:32 -04:00
2021-09-16 10:29:40 -04:00
2020-05-18 21:19:18 -04:00
2021-08-02 13:32:14 -04:00
2022-08-12 08:14:23 -04:00
2019-12-06 16:44:20 -05:00
2020-05-18 21:19:23 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2019-12-02 18:23:07 -05:00
2021-06-11 16:34:52 +05:30
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2021-07-14 16:57:35 -04:00
2022-06-27 13:36:27 -04:00
2022-06-27 13:36:28 -04:00
2021-09-08 16:11:46 -04:00
2020-05-18 21:19:18 -04:00
2021-10-26 17:58:14 +02:00
2021-07-24 10:49:51 +02:00
2020-08-24 14:11:31 -04:00
2021-10-08 15:53:26 -04:00
2022-04-25 10:00:03 -04:00
2018-05-07 09:34:12 -04:00
2022-08-23 12:38:30 +02:00
2021-09-04 12:48:53 -04:00
2022-08-02 23:50:02 +03:00
2021-07-15 18:42:05 -04:00
2022-01-19 18:11:34 +01:00
2021-11-17 13:47:27 +02:00
2021-11-30 09:23:49 +01:00
2021-05-24 14:21:30 -04:00
2022-01-29 10:23:40 +01:00
2022-02-05 20:20:01 +01:00
2019-05-05 08:48:50 -04:00