diff options
author | Akshay Saraswat <akshay.s@samsung.com> | 2015-02-04 16:00:05 +0530 |
---|---|---|
committer | Minkyu Kang <mk7.kang@samsung.com> | 2015-02-13 17:23:06 +0900 |
commit | 2e82e9252695a612ab0cbf40fa0c7368515f6506 (patch) | |
tree | f8fa04405338a19bfcd2aa1efb494a25649267cb /include/configs/exynos-common.h | |
parent | c5d32170bb98032781be0537ce56159fa52ade97 (diff) |
Exynos: Clock: Cleanup soc_get_periph_rate
Since we have src, div and pre-div mask bits defined corresponding
to peripherals, calculation of clock specific to I2C appears
redundant and confusing. Using clk_bit_info struct we can write
calculations generic to all peripherals which makes code easy to
understand and free from peripheral specific exceptions.
Signed-off-by: Akshay Saraswat <akshay.s@samsung.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'include/configs/exynos-common.h')
0 files changed, 0 insertions, 0 deletions