mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2025-12-10 07:44:53 +01:00
ipq6018: Move spi_clock_init function inside CONFIG_QCA_SPI
This change is necessary to fix the werror we get during compilation after disabling SPI Flash. Change-Id: Ica45e5d6d3cee1a67841f029322a84b6034d2195 Signed-off-by: Selvam Sathappan Periakaruppan <speriaka@codeaurora.org>
This commit is contained in:
parent
8b0e6488a2
commit
d7d23e8d8e
1 changed files with 2 additions and 0 deletions
|
|
@ -324,6 +324,7 @@ int board_mmc_init(bd_t *bis)
|
|||
}
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_QCA_SPI
|
||||
static void spi_clock_init(void)
|
||||
{
|
||||
int cfg;
|
||||
|
|
@ -340,6 +341,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