mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2025-12-10 07:44:53 +01:00
Merge "ipq6018: Move spi_clock_init function inside CONFIG_QCA_SPI"
This commit is contained in:
commit
298751b5f4
1 changed files with 2 additions and 0 deletions
|
|
@ -346,6 +346,7 @@ int board_mmc_init(bd_t *bis)
|
|||
}
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_QCA_SPI
|
||||
static void spi_clock_init(void)
|
||||
{
|
||||
int cfg;
|
||||
|
|
@ -362,6 +363,7 @@ static void spi_clock_init(void)
|
|||
/* Configure CBCR */
|
||||
writel(CLK_ENABLE, GCC_BLSP1_QUP1_SPI_APPS_CBCR);
|
||||
}
|
||||
#endif
|
||||
|
||||
void board_nand_init(void)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue