]> git.baikalelectronics.ru Git - uboot.git/commit
spi: cadence_qspi: Migrate CONFIG_CQSPI_REF_CLK to Kconfig
authorTom Rini <trini@konsulko.com>
Wed, 30 Mar 2022 22:07:23 +0000 (18:07 -0400)
committerTom Rini <trini@konsulko.com>
Fri, 8 Apr 2022 14:46:22 +0000 (10:46 -0400)
commit89db2db36758d48be333665e3db7f0dc089d05c1
treed9c1f95b2ba4e6b44b917431a764afcced7fe72b
parentf5cbb7688559852241da79050e5b2909f0707404
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>
21 files changed:
arch/arm/mach-socfpga/misc_soc64.c
configs/j7200_evm_a72_defconfig
configs/j7200_evm_r5_defconfig
configs/j721e_evm_a72_defconfig
configs/j721e_evm_r5_defconfig
configs/j721e_hs_evm_a72_defconfig
configs/j721e_hs_evm_r5_defconfig
configs/j721s2_evm_a72_defconfig
configs/j721s2_evm_r5_defconfig
configs/k2g_evm_defconfig
configs/k2g_hs_evm_defconfig
configs/stv0991_defconfig
drivers/spi/Kconfig
drivers/spi/cadence_qspi.c
drivers/spi/cadence_qspi.h
include/configs/j721e_evm.h
include/configs/j721s2_evm.h
include/configs/k2g_evm.h
include/configs/socfpga_common.h
include/configs/socfpga_soc64_common.h
include/configs/stv0991.h