summaryrefslogtreecommitdiff
path: root/include/configs/stv0991.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-03-30 18:07:23 -0400
committerTom Rini <trini@konsulko.com>2022-04-08 10:46:22 -0400
commit55b3ba4c2ba4c464491604c5da63debae72aa5c6 (patch)
treed9c1f95b2ba4e6b44b917431a764afcced7fe72b /include/configs/stv0991.h
parent5d14c336b21da34d07e93b5689ccffd52b8cc658 (diff)
downloadu-boot-55b3ba4c2ba4c464491604c5da63debae72aa5c6.tar.gz
u-boot-55b3ba4c2ba4c464491604c5da63debae72aa5c6.tar.bz2
u-boot-55b3ba4c2ba4c464491604c5da63debae72aa5c6.zip
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 'include/configs/stv0991.h')
-rw-r--r--include/configs/stv0991.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/configs/stv0991.h b/include/configs/stv0991.h
index feec8695f2..137672909b 100644
--- a/include/configs/stv0991.h
+++ b/include/configs/stv0991.h
@@ -31,12 +31,4 @@
/* Misc configuration */
-/*
-+ * QSPI support
-+ */
-#ifdef CONFIG_OF_CONTROL /* QSPI is controlled via DT */
-#define CONFIG_CQSPI_REF_CLK ((30/4)/2)*1000*1000
-
-#endif
-
#endif /* __CONFIG_H */