[U-Boot] Spansion QSPI S70FL01GS Support

Hi,
I'm using a QSPI S70FL01GS (128MB) connected to a CycloneV. In the Qsys I set two chipselect pins for accessing QSPI, then I recompiled the whole project and the U-Boot.
When I issue the command 'sf probe' U-Boot returns: SF: Detected s25fl512s with page size 256 Bytes, erase size 256 KiB, total 64 MiB
It's partially true since the QSPI chip is a stack of two S25FL512S (64MB) memories. If I try to access beyond 0x3FFFFFF I got the following error message: Offset exceeds device limit sf - SPI flash sub-system
The part I'm using seems not to be supported inside the U-Boot source code. I tried the following U-Boot repos: - https://github.com/altera-opensource/u-boot-socfpga - https://github.com/u-boot/u-boot.git
I compiled U-Boot for booting from SD card but I didn't change anything else with respect of the defconfig configuration because at the moment my main issue is to access the second memory chip.
Is there somewhere a patch for enabling such a QSPI? Can anyone help me?
Thank you in advance
//
participants (1)
-
Lorenzo Adani