1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-12-31 19:47:09 +01:00
Files
u-boot-megous/include/configs
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-03-25 17:36:59 -04:00
2019-03-25 17:36:59 -04:00
2019-03-28 10:42:47 +03:00
2019-01-19 09:49:26 -05:00
2018-08-16 16:45:02 -04:00
2018-08-17 13:03:54 -04:00
2019-04-02 13:44:18 +02:00
2019-03-25 17:36:59 -04:00
2018-08-17 13:03:54 -04:00
2019-01-19 09:49:26 -05:00
2019-02-01 16:59:13 +01:00
2018-08-16 16:45:02 -04:00
2019-05-21 07:51:40 +02:00
2019-02-09 12:50:21 -07:00
2019-02-02 08:23:57 -05:00
2019-05-20 13:50:34 +02:00
2019-05-20 13:50:34 +02:00
2019-05-20 13:50:34 +02:00
2019-05-20 13:50:34 +02:00
2019-05-20 13:50:34 +02:00
2019-03-25 17:36:59 -04:00
2019-03-25 17:36:59 -04:00
2019-04-12 07:04:18 +02:00
2019-03-25 17:36:59 -04:00
2019-05-20 13:50:34 +02:00
2019-05-20 13:50:34 +02:00
2019-05-20 13:50:34 +02:00
2018-11-26 22:52:13 -05:00
2018-08-17 13:03:54 -04:00
2019-03-25 17:36:59 -04:00
2019-05-18 08:15:35 -04:00
2018-08-17 13:03:54 -04:00
2019-03-25 17:36:59 -04:00
2018-08-17 13:03:54 -04:00
2018-08-17 13:03:54 -04:00
2018-08-17 13:03:54 -04:00
2019-02-02 08:23:57 -05:00
2019-03-25 17:36:59 -04:00
2018-11-27 21:06:53 +05:30
2019-03-25 17:36:53 -04:00
2019-03-25 17:36:59 -04:00
2019-02-20 09:01:44 -07:00
2019-03-25 17:36:59 -04:00
2019-03-25 17:36:59 -04:00
2019-03-25 17:36:59 -04:00
2019-03-25 17:36:59 -04:00
2019-01-19 09:49:26 -05:00
2018-08-17 13:03:54 -04:00
2018-12-02 22:59:55 +01:00
2018-08-17 13:03:54 -04:00
2019-05-18 08:15:35 -04:00
2018-07-27 11:19:49 +09:00
2019-03-25 17:36:59 -04:00
2019-05-20 13:50:34 +02:00
2019-03-25 17:36:59 -04:00
2019-05-18 08:15:35 -04:00
2019-02-20 09:01:44 -07:00
2018-08-17 13:03:54 -04:00
2019-03-25 17:36:59 -04:00
2018-08-16 16:45:02 -04:00
2018-11-27 21:06:53 +05:30
2019-05-20 13:50:34 +02:00
2019-05-20 13:50:34 +02:00
2019-03-25 17:36:59 -04:00
2018-08-17 13:03:54 -04:00
2018-10-22 09:18:49 -04:00
2019-05-21 07:51:40 +02:00
2019-04-13 20:30:09 +02:00
2019-05-08 13:02:18 +08:00
2018-08-16 16:45:02 -04:00