[U-Boot] [PATCH v3 4/6] Exynos5: Fix exynos5_get_periph_rate calculations

Simon Glass sjg at chromium.org
Wed Jan 28 05:09:40 CET 2015


On 15 January 2015 at 22:48, Akshay Saraswat <akshay.s at samsung.com> wrote:
> exynos5_get_periph_rate function reads incorrect div for
> SDMMC2 & 3. It also reads prediv and does division only for
> SDMMC0 & 2 when actually various other peripherals need that.
> Adding changes to fix these mistakes in periph rate calculation.
>
> Signed-off-by: Akshay Saraswat <akshay.s at samsung.com>
> ---
> Changes since v2:
>         - Added checks for negative values in exynos5_get_periph_rate.
>
> Changes since v1:
>         - New patch.
>
>  arch/arm/cpu/armv7/exynos/clock.c | 21 +++++++++++++--------
>  1 file changed, 13 insertions(+), 8 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