mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-29 08:00:26 +09:00
7a0a550c7f
divider is calculated based on SCCR_DFBRG, with: SCCR_DFBRG 00 => divider 1 = 1 << 0 SCCR_DFBRG 01 => divider 4 = 1 << 2 SCCR_DFBRG 10 => divider 16 = 1 << 4 SCCR_DFBRG 11 => divider 64 = 1 << 6 This can be easily converted to a single shift operation: divider = 1 << (SCCR_DFBRG * 2) Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> |
||
---|---|---|
.. | ||
config.mk | ||
cpu_init.c | ||
cpu.c | ||
fdt.c | ||
immap.c | ||
interrupts.c | ||
Kconfig | ||
Makefile | ||
reginfo.c | ||
speed.c | ||
start.S | ||
traps.c |