
Hi Denis,
On 1 March 2016 at 18:34, Bakhvalov, Denis (Nokia - PL/Wroclaw) denis.bakhvalov@nokia.com wrote:
Hi Marek,
Try enabling CONFIG_SPI_FLASH_BAR in your board config ;-)
That solved my issue. Thank you very much. I removed workaround from the code.
Sorry, I couldn't understand the issue nor what you solved? because, socfpga_arria5_defconfig by default have CONFIG_SPI_FLASH_BAR enabled and even sf probe looks no warning for enabling the same. If you haven't enable CONFIG_SPI_FLASH_BAR then spi_flash core will give warning while doing 'sf probe'
+ SF: Detected S25FL512S_256K with page size 512 Bytes, erase size 256 KiB, total 64 MiB
this will show something like
SF: Detected S25FL512S_256K with page size 512 Bytes, erase size 256 KiB, total 64 MiB SF: Warning - Only lower 16MiB accessible, Full access #define CONFIG_SPI_FLASH_BAR
thanks!