Re: [PATCH] Avoid adding the same dataflash for the second time

2021-08-02 Thread Jagan Teki
On Fri, Jun 18, 2021 at 8:26 PM Jakub Frackowiak wrote: > > The spi_dataflash_probe function should return after jedec_probe > if it finds any serial flash. > This functions adds the same SPI device two times without this > path. > Serial output when reading environment: > > Loading Environment fr

[PATCH] Avoid adding the same dataflash for the second time

2021-06-18 Thread Jakub Frackowiak
The spi_dataflash_probe function should return after jedec_probe if it finds any serial flash. This functions adds the same SPI device two times without this path. Serial output when reading environment: Loading Environment from SPIFlash... SPI DataFlash: Detected at45db321d with page size 512 B