mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-17 22:49:02 +00:00
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>
This commit is contained in:
parent
1b81aed125
commit
90210ceedc
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue