Add global variable sdhc_per_clk for arm/powerpc
authorYangbo Lu <yangbo.lu@nxp.com>
Thu, 19 Dec 2019 10:59:28 +0000 (18:59 +0800)
committerPeng Fan <peng.fan@nxp.com>
Thu, 16 Jan 2020 05:16:26 +0000 (13:16 +0800)
commitac76dd0836468445e1ba4d756617d677ed58f59b
tree2c79e20423e4953798bc41c4ca27565520830ec1
parentc2a8b4f879e89a158fc1f9fbcf9d78b2ad4cefde
Add global variable sdhc_per_clk for arm/powerpc

The QorIQ eSDHC controller supports two reference clocks. They are
platform clock and periperhal clock. The global variable sdhc_clk
has already been used for platform clock.
This patch is to add another global variable sdhc_per_clk for
periperhal clock, which provides higher frequency and is required
to be used for SD UHS and eMMC HS200/HS400 speed modes.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
arch/arm/include/asm/global_data.h
arch/powerpc/include/asm/global_data.h