diff options
author | Yangbo Lu <yangbo.lu@nxp.com> | 2019-12-19 18:59:28 +0800 |
---|---|---|
committer | Peng Fan <peng.fan@nxp.com> | 2020-01-16 13:16:26 +0800 |
commit | ac76dd0836468445e1ba4d756617d677ed58f59b (patch) | |
tree | 2c79e20423e4953798bc41c4ca27565520830ec1 /arch/powerpc/include | |
parent | c2a8b4f879e89a158fc1f9fbcf9d78b2ad4cefde (diff) | |
download | u-boot-ac76dd0836468445e1ba4d756617d677ed58f59b.tar.gz |
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>
Diffstat (limited to 'arch/powerpc/include')
-rw-r--r-- | arch/powerpc/include/asm/global_data.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/global_data.h b/arch/powerpc/include/asm/global_data.h index b6e4dd6c80..1620fba014 100644 --- a/arch/powerpc/include/asm/global_data.h +++ b/arch/powerpc/include/asm/global_data.h @@ -14,6 +14,7 @@ struct arch_global_data { #if defined(CONFIG_FSL_ESDHC) u32 sdhc_clk; + u32 sdhc_per_clk; #if defined(CONFIG_FSL_ESDHC_ADAPTER_IDENT) u8 sdhc_adapter; #endif |