coreboot/src/cpu
Hung-Te Lin 89ed6c9154 exynos5420: Fix mmc clock source.
The DWMMC controller internally divided clock by values in CLKSEL registers,
so we must adjust MMC clock for that.

Added a divide function to stdlib.h which should be useful in other contexts.

BUG=none
TEST=emerge-peach_pit chromeos-coreboot-peach_pit # and boots successfully.

Change-Id: I44f55b634cfc6fd81d76631595b6928c862a219f
Signed-off-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/66657
Commit-Queue: Ronald G. Minnich <rminnich@chromium.org>
Reviewed-by: Ronald G. Minnich <rminnich@chromium.org>
Tested-by: Ronald G. Minnich <rminnich@chromium.org>
Reviewed-by: David Hendricks <dhendrix@chromium.org>
2013-08-22 16:03:17 -07:00
..
amd copy_and_run: drop boot_complete parameter 2013-05-10 11:55:19 -07:00
armltd qemu-armv7 CPU: Move Kconfig code into CPU directory 2013-06-20 15:51:33 -07:00
intel Timestamp implementation for ARMv7 2013-08-02 12:16:42 -07:00
samsung exynos5420: Fix mmc clock source. 2013-08-22 16:03:17 -07:00
via copy_and_run: drop boot_complete parameter 2013-05-10 11:55:19 -07:00
x86 Enable CAR_MIGRATION on Exynos 5250 and 5420 2013-07-30 17:08:47 -07:00
Kconfig Enable CAR_MIGRATION on Exynos 5250 and 5420 2013-07-30 17:08:47 -07:00
Makefile.inc cpu: Add CPU microcode file to cbfs with 16-byte alignment 2013-06-12 06:55:42 -07:00