1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-12-31 12:37:11 +01:00
Files
u-boot-megous/include
Mario Six 0f06f57c28 mpc83xx: Replace CONFIG_83XX_CLKIN in calculations
CONFIG_SYS_CLK_FREQ is the standard way to set the system clock
frequency. On MPC83xx, CONFIG_83XX_CLKIN is used for this purpose.
Hence, the obvious way is to replace CONFIG_83XX_CLKIN with
CONFIG_SYS_CLK_FREQ.

A few MPC83xx boards use the CONFIG_83XX_CLKIN variable for computing
CONFIG_SYS_NS16550_CLK. This makes it harder to replace
CONFIG_83XX_CLKIN.

But the value of the multiplicator can be read from the SPMR register.

Hence, replace the static calculations with a call to a new get_bus_freq
function, as other architectures do.

Signed-off-by: Mario Six <mario.six@gdsys.cc>
2019-05-21 07:51:40 +02:00
..
2019-05-20 13:50:34 +02:00
2019-05-20 13:50:34 +02:00
2018-11-27 21:06:53 +05:30
2018-11-14 09:16:27 -08:00
2018-09-29 11:49:35 -06:00
2019-05-09 19:52:55 -04:00
2019-05-05 08:48:50 -04:00
2019-05-09 00:44:13 +05:30
2018-09-10 20:48:16 -04:00
2019-04-23 20:26:43 -06:00
2018-12-07 08:13:45 -05:00
2018-12-07 08:13:45 -05:00
2019-04-22 12:06:39 -04:00
2018-07-26 14:08:22 -05:00
2018-09-23 21:55:30 +02:00
2019-02-20 15:27:09 +08:00
2018-06-13 07:49:12 -04:00
2018-12-06 23:26:32 -05:00
2019-02-09 12:50:22 -07:00
2018-10-22 13:01:27 +02:00
2019-01-01 14:12:18 +01:00
2019-04-23 20:26:43 -06:00
2018-12-05 06:01:35 -07:00
2018-04-06 17:04:33 -04:00
2019-02-02 08:19:17 -05:00
2019-05-20 13:50:34 +02:00
2018-10-02 22:12:32 +05:30
2019-04-12 08:05:52 -04:00
2018-10-09 04:40:27 -06:00
2019-05-20 13:50:34 +02:00
2018-12-05 06:06:44 -07:00
2019-05-03 20:44:11 +08:00
2018-07-19 16:31:37 -04:00
2019-02-01 16:59:12 +01:00
2018-07-20 15:55:05 -04:00
2018-10-09 04:40:27 -06:00
2018-09-28 18:26:32 +02:00