summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorAllen Martin <amartin@nvidia.com>2013-05-10 16:56:55 +0000
committerTom Warren <twarren@nvidia.com>2013-05-28 12:58:42 -0700
commita51f7de161274af05f92de0417e4e03d04334053 (patch)
tree4039cb357b0258f13e5a5fa3249a5aec629ade4e /common
parentd56273de1522a842481236d0dfa281ad4091b5c5 (diff)
downloadu-boot-imx-a51f7de161274af05f92de0417e4e03d04334053.zip
u-boot-imx-a51f7de161274af05f92de0417e4e03d04334053.tar.gz
u-boot-imx-a51f7de161274af05f92de0417e4e03d04334053.tar.bz2
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>
Diffstat (limited to 'common')
0 files changed, 0 insertions, 0 deletions