projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
spi: Add of-platdata support to SPI and SPI flash
[oweals/u-boot.git]
/
drivers
/
mtd
/
spi
/
spi_flash.c
diff --git
a/drivers/mtd/spi/spi_flash.c
b/drivers/mtd/spi/spi_flash.c
index 2576c2cd3d96bf9304b910c342c68c77ab88eed6..94c0b0063d1a833b30557fcb0f35ed53d9496f66 100644
(file)
--- a/
drivers/mtd/spi/spi_flash.c
+++ b/
drivers/mtd/spi/spi_flash.c
@@
-1138,7
+1138,7
@@
int spi_flash_scan(struct spi_flash *flash)
return ret;
#endif
-#if CONFIG_IS_ENABLED(OF_CONTROL)
+#if CONFIG_IS_ENABLED(OF_CONTROL)
&& !CONFIG_IS_ENABLED(OF_PLATDATA)
ret = spi_flash_decode_fdt(gd->fdt_blob, flash);
if (ret) {
debug("SF: FDT decode error\n");