diff options
author | Simon Glass <sjg@chromium.org> | 2023-02-06 03:53:13 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-02-10 15:41:41 +0300 |
commit | 90210ceedc374cf62e59045bdf9b12df1375fec3 (patch) | |
tree | 9cf8b4dcb86a38f554d1147d42ebc61121135c55 /drivers | |
parent | 1b81aed125e0cfa87f0938066df221088d3f0603 (diff) | |
download | u-boot-90210ceedc374cf62e59045bdf9b12df1375fec3.tar.xz |
Correct SPL use of ARCH_VERSAL
This converts 1 usage of this option to the non-SPL form, since there is
no SPL_ARCH_VERSAL defined in Kconfig
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/spi/cadence_qspi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/cadence_qspi.c b/drivers/spi/cadence_qspi.c index a42493592f..c7f10c5013 100644 --- a/drivers/spi/cadence_qspi.c +++ b/drivers/spi/cadence_qspi.c @@ -249,7 +249,7 @@ static int cadence_spi_probe(struct udevice *bus) priv->wr_delay = 50 * DIV_ROUND_UP(NSEC_PER_SEC, priv->ref_clk_hz); - if (CONFIG_IS_ENABLED(ARCH_VERSAL)) { + if (IS_ENABLED(CONFIG_ARCH_VERSAL)) { /* Versal platform uses spi calibration to set read delay */ if (priv->read_delay >= 0) priv->read_delay = -1; |