Re: [PATCH] env: Introduce support for SPI NAND flash

2025-04-02 Thread Tom Rini
On Wed, Apr 02, 2025 at 05:10:31PM +0200, Christian Marangi wrote: > On Wed, Apr 02, 2025 at 09:05:42AM -0600, Tom Rini wrote: > > On Wed, Apr 02, 2025 at 12:57:57AM +0200, Christian Marangi wrote: > > > > > Introduce support for SPI NAND flash. Currently we only support SPI > > > flash based on t

Re: [PATCH] env: Introduce support for SPI NAND flash

2025-04-02 Thread Christian Marangi
On Wed, Apr 02, 2025 at 09:05:42AM -0600, Tom Rini wrote: > On Wed, Apr 02, 2025 at 12:57:57AM +0200, Christian Marangi wrote: > > > Introduce support for SPI NAND flash. Currently we only support SPI > > flash based on the lagacy sf cmd that assume SPI flash are always NOR. > > This is not the ca

Re: [PATCH] env: Introduce support for SPI NAND flash

2025-04-02 Thread Tom Rini
On Wed, Apr 02, 2025 at 12:57:57AM +0200, Christian Marangi wrote: > Introduce support for SPI NAND flash. Currently we only support SPI > flash based on the lagacy sf cmd that assume SPI flash are always NOR. > This is not the case as to SPI controller also NAND can be attached. Add > support for

[PATCH] env: Introduce support for SPI NAND flash

2025-04-02 Thread Christian Marangi
Introduce support for SPI NAND flash. Currently we only support SPI flash based on the lagacy sf cmd that assume SPI flash are always NOR. This is not the case as to SPI controller also NAND can be attached. Add support for it by adding an env driver that base entirely on the MTD api. Introduce a