From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Fri, 21 Dec 2018 08:26:40 +0100 Subject: [U-Boot] [PATCH v2 00/11] SF: Migrate to Linux SPI NOR framework In-Reply-To: <20181221063836.11429-1-vigneshr@ti.com> References: <20181221063836.11429-1-vigneshr@ti.com> Message-ID: <4a3a5804-6c3c-d204-86d6-4b9b65a49e02@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Vignesh, On 21.12.18 07:38, Vignesh R wrote: > U-Boot SPI NOR support (sf layer) is quite outdated as it does not > support 4 byte addressing opcodes, SFDP table parsing and different types of > quad mode enable sequences. Many newer flashes no longer support BANK > registers used by sf layer to a access >16MB space. > Also, many SPI controllers have special MMIO interfaces which provide > accelerated read/write access but require knowledge of flash parameters > to make use of it. Recent spi-mem layer provides a way to support such > flashes but sf layer isn't using that. > This patch series syncs SPI NOR framework from Linux v4.19. It also adds > spi-mem support on top. > So, we gain 4byte addressing support and SFDP support. This makes > migrating to U-Boot MTD framework easier. > > Tested with few Spansion, micron and macronix flashes with TI's dra7xx, > k2g, am43xx EVMs. I dont have access to flashes from other vendors. So, > I would greatly appreciate testing on other platforms. Complete series > with dependencies here[1] > > For clean build on some platforms, depends on CONFIG_SPI_FLASH migration > to defconfigs [2] > > [1] https://github.com/r-vignesh/u-boot.git branch: spi-nor-mig-patch-v2 > [2] https://patchwork.ozlabs.org/patch/1007485/ > > Simon, Stefan, Thanks for testing previous versions. > I haven't carried Tested-by's here as I have added back SPI_FLASH_BAR > support (but isn't enabled by default). Would be great if you could > retest this series. > I am hoping there won't be any major rework/changes after this round. I just tested this new patchset on my LinkIt Smart 7688 board with the 4-byte strapped SPI NOR mx25l25635e device and it works without any issues. So feel free to add my T-b tag to this series: Tested-by: Stefan Roese Thanks, Stefan