]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
xilinx: versal: Define CONFIG_CQSPI_REF_CLK
authorAshok Reddy Soma <ashok.reddy.soma@xilinx.com>
Fri, 5 Aug 2022 09:19:58 +0000 (11:19 +0200)
committerMichal Simek <michal.simek@amd.com>
Tue, 13 Sep 2022 09:32:48 +0000 (11:32 +0200)
With commit 55b3ba4c2ba4 ("spi: cadence_qspi: Migrate CONFIG_CQSPI_REF_CLK
to Kconfig") CONFIG_CQSPI_REF_CLK is moved to Kconfig.

The static value via Kconfig is a fallback option in case of clock
framework is not enabled or fails for some reason.

Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/fe7c38a19e878c307d5b75311bbfd8cf6c1f601e.1659691195.git.michal.simek@amd.com
configs/xilinx_versal_virt_defconfig

index 762ceb5e9f1aa3f18682ac5480b4358f21588baa..ffd8bea81c36e512002ff7a9eda713764a33793c 100644 (file)
@@ -115,6 +115,8 @@ CONFIG_SOC_XILINX_VERSAL=y
 CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_CADENCE_QSPI=y
+CONFIG_HAS_CQSPI_REF_CLK=y
+CONFIG_CQSPI_REF_CLK=200000000
 CONFIG_CADENCE_OSPI_VERSAL=y
 CONFIG_ZYNQ_SPI=y
 CONFIG_USB=y