On Thu, Feb 28, 2013 at 2:59 AM, Akshay Saraswat <aksha...@samsung.com> wrote:
> Add generic api to get the frequency of the required peripherial. This
> API gets the source clock frequency and returns the required frequency
> by dividing with first and second dividers based on the requirement.
>
> Test with command "sf probe 1:0; time sf read 40008000 0 1000".
> Try with different numbers of bytes and see that sane values are obtained
> Build and boot U-boot with this patch, backlight works properly.
>
> Signed-off-by: Padmavathi Venna <padm...@samsung.com>
> Signed-off-by: Akshay Saraswat <aksha...@samsung.com>

Acked-by: Simon Glass <s...@chromium.org>

> ---
> Changes since v1:
>         - Fixed few nits.
>
>  arch/arm/cpu/armv7/exynos/clock.c      | 138 
> +++++++++++++++++++++++++++++++++
>  arch/arm/include/asm/arch-exynos/clk.h |  17 ++++
>  2 files changed, 155 insertions(+)
>
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to