diff options
author | Simon Glass <sjg@chromium.org> | 2015-04-15 03:03:32 (GMT) |
---|---|---|
committer | Tom Warren <twarren@nvidia.com> | 2015-05-13 16:24:09 (GMT) |
commit | 801b05cd613d00c98ecb3300f15e011518075ef4 (patch) | |
tree | 4424e11db0c6071ddc45e0c292026363863d6543 /include/dm.h | |
parent | ec022efb8658cce75699afc3ce6ee8b2d9d0c273 (diff) | |
download | u-boot-801b05cd613d00c98ecb3300f15e011518075ef4.tar.xz |
tegra: clock: Add checking for invalid clock IDs
The get_pll() function can do the wrong thing if passed values that are
out of range. Add checks for this and add a function which can return
a 'simple' PLL. This can be defined by SoCs with their own clocks.
Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'include/dm.h')
0 files changed, 0 insertions, 0 deletions