u-boot-brain/arch
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
..
arc CONFIG_SPL_SYS_[DI]CACHE_OFF: add 2019-05-18 08:15:35 -04:00
arm ARM: mediatek: mt8516: use PSCI to reset the SoC 2019-05-18 12:32:00 -04:00
m68k m68k: ColdFire mcf5441x, add eSDHC support 2018-09-16 00:01:13 +02:00
microblaze spl: fix linker size check off-by-one errors 2019-05-05 08:48:50 -04:00
mips net: mscc: ocelot: Update DTS for Luton pcb90 2019-05-03 16:46:36 +02:00
nds32 CONFIG_SPL_SYS_[DI]CACHE_OFF: add 2019-05-18 08:15:35 -04:00
nios2 .gitignore: move *.dtb and *.dtb.S patterns to the top-level .gitignore 2018-06-18 14:43:12 -04:00
powerpc mpc83xx: Replace CONFIG_83XX_CLKIN in calculations 2019-05-21 07:51:40 +02:00
riscv CONFIG_SPL_SYS_[DI]CACHE_OFF: add 2019-05-18 08:15:35 -04:00
sandbox Various minor sandbox iumprovements 2019-04-24 12:27:29 -04:00
sh sh: sh3: Remove CPU support 2019-05-10 22:43:18 +02:00
x86 x86: coreboot: make it possible to process unhandled tags 2019-05-19 16:17:33 +08:00
xtensa CONFIG_SPL_SYS_[DI]CACHE_OFF: add 2019-05-18 08:15:35 -04:00
.gitignore
Kconfig Merge tag 'rockchip-for-v2019.07-rc1' of git://git.denx.de/u-boot-rockchip 2019-05-09 12:36:17 -04:00