summaryrefslogtreecommitdiff
path: root/configs/MPC8323ERDB_defconfig
diff options
context:
space:
mode:
authorMario Six <mario.six@gdsys.cc>2019-01-21 09:17:52 +0100
committerMario Six <mario.six@gdsys.cc>2019-05-21 07:51:40 +0200
commit0f06f57c280eaec528c76ebfca9b22aa181ca8be (patch)
tree92e03d89d58889670fd21d23e67c27267555646f /configs/MPC8323ERDB_defconfig
parent1cbc10c8158d22d65bb5ccc7550186036bb9f17a (diff)
downloadu-boot-0f06f57c280eaec528c76ebfca9b22aa181ca8be.tar.gz
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>
Diffstat (limited to 'configs/MPC8323ERDB_defconfig')
0 files changed, 0 insertions, 0 deletions