[PATCH v2 141/169] Correct SPL use of SPI_FLASH_BAR
Simon Glass
sjg at chromium.org
Mon Feb 6 01:55:08 CET 2023
This converts 1 usage of this option to the non-SPL form, since there is
no SPL_SPI_FLASH_BAR defined in Kconfig
Signed-off-by: Simon Glass <sjg at chromium.org>
---
(no changes since v1)
drivers/mtd/spi/spi-nor-core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mtd/spi/spi-nor-core.c b/drivers/mtd/spi/spi-nor-core.c
index 2c3116ee530..d410ae58953 100644
--- a/drivers/mtd/spi/spi-nor-core.c
+++ b/drivers/mtd/spi/spi-nor-core.c
@@ -3894,7 +3894,7 @@ void spi_nor_set_fixups(struct spi_nor *nor)
}
}
- if (CONFIG_IS_ENABLED(SPI_FLASH_BAR) &&
+ if (IS_ENABLED(CONFIG_SPI_FLASH_BAR) &&
!strcmp(nor->info->name, "s25fl256l"))
nor->fixups = &s25fl256l_fixups;
#endif
--
2.39.1.519.gcb327c4b5f-goog
More information about the U-Boot
mailing list