]> git.dujemihanovic.xyz Git - u-boot.git/commit
Exynos5: Fix exynos5_get_periph_rate calculations
authorAkshay Saraswat <akshay.s@samsung.com>
Wed, 4 Feb 2015 10:30:02 +0000 (16:00 +0530)
committerMinkyu Kang <mk7.kang@samsung.com>
Fri, 13 Feb 2015 08:23:06 +0000 (17:23 +0900)
commit9deff107468ac6d80db962470796e05c667c1077
tree9d058dd9a5dea7a71ccf007415ced631796be486
parentecdfb4e9d2e2bd691e94ee8f96da2e8d7dc45e81
Exynos5: Fix exynos5_get_periph_rate calculations

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@samsung.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
arch/arm/cpu/armv7/exynos/clock.c