u-boot-brain/arch
Allen Martin a51f7de161 Tegra: clk: always use find_best_divider() for periph clocks
When adjusting peripheral clocks always use find_best_divider()
instead of clk_get_divider() even when a secondary divider is not
available.  In the case where is requested clock is too slow to be
derived from the parent clock this allows a best effort to get close
to the requested clock.

This comes up for commands like "sf" where the user can pass a clock
speed on the command line or "sspi" where the clock is hardcoded to
1MHz, but the Tegra114 SPI controller can't go that low.

Signed-off-by: Allen Martin <amartin@nvidia.com>
Acked-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
2013-05-28 12:58:42 -07:00
..
arm Tegra: clk: always use find_best_divider() for periph clocks 2013-05-28 12:58:42 -07:00
avr32 lib: consolidate hang() 2013-05-01 16:41:08 -04:00
blackfin lib: consolidate hang() 2013-05-01 16:41:08 -04:00
m68k lib: consolidate hang() 2013-05-01 16:41:08 -04:00
microblaze lib: consolidate hang() 2013-05-01 16:41:08 -04:00
mips lib: consolidate hang() 2013-05-01 16:41:08 -04:00
nds32 lib: consolidate hang() 2013-05-01 16:41:08 -04:00
nios2 lib: consolidate hang() 2013-05-01 16:41:08 -04:00
openrisc lib: consolidate hang() 2013-05-01 16:41:08 -04:00
powerpc Merge branch 'u-boot-imx/master' into 'u-boot-arm/master' 2013-05-11 09:25:36 +02:00
sandbox sandbox: Allow -c argument to provide a command list 2013-05-01 11:17:21 -04:00
sh lib: consolidate hang() 2013-05-01 16:41:08 -04:00
sparc lib: consolidate hang() 2013-05-01 16:41:08 -04:00
x86 lib: consolidate hang() 2013-05-01 16:41:08 -04:00
.gitignore update include/asm/ gitignore after move 2010-05-07 00:17:30 +02:00