summaryrefslogtreecommitdiff
path: root/drivers/spi
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-02-05 15:44:33 -0700
committerTom Rini <trini@konsulko.com>2023-02-10 07:41:41 -0500
commit8581d9927de482f972997057629b6b4d0da67110 (patch)
treefbbaeebd291f670e57fb2e8dfc52bc82cbb3e3b2 /drivers/spi
parent2413fe67dbfeaf2d70bd13ed8efdfdbf0cbf7014 (diff)
downloadu-boot-8581d9927de482f972997057629b6b4d0da67110.tar.gz
u-boot-8581d9927de482f972997057629b6b4d0da67110.tar.bz2
u-boot-8581d9927de482f972997057629b6b4d0da67110.zip
Correct SPL uses of ZYNQMP_FIRMWARE
This converts 2 usages of this option to the non-SPL form, since there is no SPL_ZYNQMP_FIRMWARE defined in Kconfig Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/spi')
-rw-r--r--drivers/spi/cadence_ospi_versal.c2
-rw-r--r--drivers/spi/cadence_qspi.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/spi/cadence_ospi_versal.c b/drivers/spi/cadence_ospi_versal.c
index e0d5e6b9e6..434c6038f3 100644
--- a/drivers/spi/cadence_ospi_versal.c
+++ b/drivers/spi/cadence_ospi_versal.c
@@ -216,7 +216,7 @@ int cadence_qspi_versal_flash_reset(struct udevice *dev)
void cadence_qspi_apb_enable_linear_mode(bool enable)
{
- if (CONFIG_IS_ENABLED(ZYNQMP_FIRMWARE)) {
+ if (IS_ENABLED(CONFIG_ZYNQMP_FIRMWARE)) {
if (enable)
/* ahb read mode */
xilinx_pm_request(PM_IOCTL, PM_DEV_OSPI,
diff --git a/drivers/spi/cadence_qspi.c b/drivers/spi/cadence_qspi.c
index 328dfb0a38..a42493592f 100644
--- a/drivers/spi/cadence_qspi.c
+++ b/drivers/spi/cadence_qspi.c
@@ -215,7 +215,7 @@ static int cadence_spi_probe(struct udevice *bus)
priv->tchsh_ns = plat->tchsh_ns;
priv->tslch_ns = plat->tslch_ns;
- if (CONFIG_IS_ENABLED(ZYNQMP_FIRMWARE))
+ if (IS_ENABLED(CONFIG_ZYNQMP_FIRMWARE))
xilinx_pm_request(PM_REQUEST_NODE, PM_DEV_OSPI,
ZYNQMP_PM_CAPABILITY_ACCESS, ZYNQMP_PM_MAX_QOS,
ZYNQMP_PM_REQUEST_ACK_NO, NULL);