u-boot-brain/arch/powerpc/cpu/mpc83xx
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
..
config.mk
cpu_init.c mpc83xx: Introduce ARCH_MPC834* 2019-05-20 13:50:34 +02:00
cpu.c mpc83xx: Introduce ARCH_MPC831* 2019-05-20 13:50:34 +02:00
ecc.c
fdt.c mpc83xx: Introduce ARCH_MPC831* 2019-05-20 13:50:34 +02:00
interrupts.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
Kconfig mpc83xx: Migrate legacy PCI options to Kconfig 2019-05-21 07:51:40 +02:00
law.c
Makefile
pci.c
pcie.c
qe_io.c
serdes.c
spd_sdram.c mpc83xx: Introduce ARCH_MPC834* 2019-05-20 13:50:34 +02:00
speed.c mpc83xx: Introduce ARCH_MPC837X 2019-05-20 13:50:34 +02:00
spl_minimal.c mpc83xx: Replace CONFIG_83XX_CLKIN in calculations 2019-05-21 07:51:40 +02:00
start.S mpc83xx: Add support for -msingle-pic-base 2019-01-21 08:33:42 +01:00
traps.c
u-boot-spl.lds SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
u-boot.lds