diff options
author | Tom Rini <trini@konsulko.com> | 2022-03-30 18:07:23 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-04-08 10:46:22 -0400 |
commit | 55b3ba4c2ba4c464491604c5da63debae72aa5c6 (patch) | |
tree | d9c1f95b2ba4e6b44b917431a764afcced7fe72b /configs/j7200_evm_a72_defconfig | |
parent | 5d14c336b21da34d07e93b5689ccffd52b8cc658 (diff) | |
download | u-boot-55b3ba4c2ba4c464491604c5da63debae72aa5c6.tar.gz |
spi: cadence_qspi: Migrate CONFIG_CQSPI_REF_CLK to Kconfig
This is a little tricky since SoCFPGA has code to determine this as
runtime. Introduce a guard variable for platforms to select if they
have a static value to use. Then for ARCH_SOCFPGA, call
cm_get_qspi_controller_clk_hz() and otherwise continue the previous
behavior.
Cc: Jagan Teki <jagan@amarulasolutions.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'configs/j7200_evm_a72_defconfig')
-rw-r--r-- | configs/j7200_evm_a72_defconfig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configs/j7200_evm_a72_defconfig b/configs/j7200_evm_a72_defconfig index eb1d7d46b8..3d0d1977ff 100644 --- a/configs/j7200_evm_a72_defconfig +++ b/configs/j7200_evm_a72_defconfig @@ -173,6 +173,8 @@ CONFIG_SOC_TI=y CONFIG_SPI=y CONFIG_DM_SPI=y CONFIG_CADENCE_QSPI=y +CONFIG_HAS_CQSPI_REF_CLK=y +CONFIG_CQSPI_REF_CLK=133333333 CONFIG_SYSRESET=y CONFIG_SPL_SYSRESET=y CONFIG_SYSRESET_TI_SCI=y |