mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-03 09:59:44 +00:00
0f06f57c28
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> |
||
---|---|---|
.. | ||
config.mk | ||
cpu.c | ||
cpu_init.c | ||
ecc.c | ||
fdt.c | ||
interrupts.c | ||
Kconfig | ||
law.c | ||
Makefile | ||
pci.c | ||
pcie.c | ||
qe_io.c | ||
serdes.c | ||
spd_sdram.c | ||
speed.c | ||
spl_minimal.c | ||
start.S | ||
traps.c | ||
u-boot-spl.lds | ||
u-boot.lds |