projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b81aed
)
Correct SPL use of ARCH_VERSAL
author
Simon Glass
<sjg@chromium.org>
Mon, 6 Feb 2023 00:53:13 +0000
(17:53 -0700)
committer
Tom Rini
<trini@konsulko.com>
Fri, 10 Feb 2023 12:41:41 +0000
(07:41 -0500)
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>
drivers/spi/cadence_qspi.c
patch
|
blob
|
history
diff --git
a/drivers/spi/cadence_qspi.c
b/drivers/spi/cadence_qspi.c
index
a424935
..
c7f10c5
100644
(file)
--- 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;