mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-02-18 10:11:16 +01:00
Merge "ipq6018: configuring SDHC1_AHB_CBCR clock"
This commit is contained in:
commit
53b01bbfd0
2 changed files with 2 additions and 0 deletions
|
|
@ -146,6 +146,7 @@ void emmc_clock_config()
|
|||
writel(readl(GCC_SDCC1_APPS_CBCR)|0x1, GCC_SDCC1_APPS_CBCR);
|
||||
/* Add 10us delay for CLK_OFF to get cleared */
|
||||
udelay(10);
|
||||
writel(readl(GCC_SDCC1_AHB_CBCR)|0x1, GCC_SDCC1_AHB_CBCR);
|
||||
/* PLL0 - 192Mhz */
|
||||
writel(0x20B, GCC_SDCC1_APPS_CFG_RCGR);
|
||||
/* Delay for clock operation complete */
|
||||
|
|
|
|||
|
|
@ -30,6 +30,7 @@
|
|||
#define GCC_SDCC1_APPS_D 0x1842014
|
||||
#define GCC_BLSP1_UART1_APPS_CBCR 0x0180203c
|
||||
#define GCC_SDCC1_BCR 0x01842000
|
||||
#define GCC_SDCC1_AHB_CBCR 0x0184201C
|
||||
|
||||
#define GCC_BLSP1_UART2_APPS_CFG_RCGR 0x01803038
|
||||
#define GCC_BLSP1_UART2_APPS_M 0x0180303C
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue