[U-Boot] [PATCH v3 1/6] Exynos5: Fix compiler warnings due to clock_get_periph_rate

Simon Glass sjg at chromium.org
Wed Jan 28 05:06:14 CET 2015


On 15 January 2015 at 22:48, Akshay Saraswat <akshay.s at samsung.com> wrote:
> Apparently, members of clk_bit_info array do not map correctly
> to the members of enum periph_id. This mapping got broken after
> we changed periph_id(s) to reflect interrupt number instead of
> their position in a sequence. This patch intends to fix above
> mentioned issue.
>
> Signed-off-by: Akshay Saraswat <akshay.s at samsung.com>
> ---
> Changes since v2:
>         - Added debug message for unknown periph IDs.
>
> Changes since v1:
>         - Removed exynos5_bit_info array name.
>
>  arch/arm/cpu/armv7/exynos/clock.c | 80 ++++++++++++++++++++++++---------------
>  1 file changed, 49 insertions(+), 31 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>

Tested on snow, pit, pi
Tested-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list