mbox series

[U-Boot,RFC,v3,00/10] pxa3xx_nand updates

Message ID 1512543348-1673-1-git-send-email-oferh@marvell.com
Headers show
Series pxa3xx_nand updates | expand

Message

Ofer Heifetz Dec. 6, 2017, 6:55 a.m. UTC
From: Ofer Heifetz <oferh@marvell.com>

I'm looking into the NAND support for the db-88f6820-amc board.
There are a number of changes in the pxa3xx_nand driver in Linux that
are relevant (not specifically to this boards but to Armada boards in
general). Some of these changes are cleanups and some are actual bug
fixes.

I'd really appreciate some testing on this. This gives me enough so I
can mount and read files out of a ubifs volume created by Linux on the
DB-88F6820-AMC board but I don't have access to any other Armada boards
to test with.

Where applicable I'll Cc the author of the equivalent Linux patch. I've
had to tweak a few of them to make them fit u-boot (e.g. to handle
platform data) but they should still look pretty close to their Linux
counterparts.

Note this series is dependent on
http://lists.denx.de/pipermail/u-boot/2016-October/270967.html

Changes in v3:
- tested this patchset on armada-7040-db-D using 4bit and 8bit ECC

Ofer Heifetz (10):
  mtd: nand: pxa3xx_nand: Increase initial buffer size
  mtd: nand: pxa3xx_nand: use nand_to_mtd()
  mtd: nand: pxa3xx_nand: sync pxa3xx_nand_set_sdr_timing()
  mtd: nand: pxa3xx_nand: fix early spurious interrupt
  mtd: nand: pxa3xx-nand: fix random command timeouts
  nand: pxa3xx: Increase READ_ID buffer and make the size static
  mtd: pxa3xx_nand: Increase the initial chunk size
  mtd: pxa3xx_nand: Fix initial controller configuration
  mtd: pxa3xx_nand: Simplify pxa3xx_nand_scan
  mtd: nand: pxa3xx_nand: add support for partial chunks

 drivers/mtd/nand/pxa3xx_nand.c | 294 ++++++++++++++++++++++++-----------------
 1 file changed, 175 insertions(+), 119 deletions(-)

Comments

Ofer Heifetz Dec. 6, 2017, 8:53 a.m. UTC | #1
these patches were sent on mistake and should be ignored, I will rework this patchset and send again later

> -----Original Message-----

> From: oferh@marvell.com [mailto:oferh@marvell.com]

> Sent: Wednesday, December 06, 2017 8:56 AM

> To: u-boot@lists.denx.de

> Cc: Nadav Haklai <nadavh@marvell.com>; sr@denx.de; Ofer Heifetz

> <oferh@marvell.com>

> Subject: [RFC PATCH v3 00/10] pxa3xx_nand updates

> 

> From: Ofer Heifetz <oferh@marvell.com>

> 

> I'm looking into the NAND support for the db-88f6820-amc board.

> There are a number of changes in the pxa3xx_nand driver in Linux that are

> relevant (not specifically to this boards but to Armada boards in general).

> Some of these changes are cleanups and some are actual bug fixes.

> 

> I'd really appreciate some testing on this. This gives me enough so I can

> mount and read files out of a ubifs volume created by Linux on the DB-

> 88F6820-AMC board but I don't have access to any other Armada boards to

> test with.

> 

> Where applicable I'll Cc the author of the equivalent Linux patch. I've had to

> tweak a few of them to make them fit u-boot (e.g. to handle platform data)

> but they should still look pretty close to their Linux counterparts.

> 

> Note this series is dependent on

> http://lists.denx.de/pipermail/u-boot/2016-October/270967.html

> 

> Changes in v3:

> - tested this patchset on armada-7040-db-D using 4bit and 8bit ECC

> 

> Ofer Heifetz (10):

>   mtd: nand: pxa3xx_nand: Increase initial buffer size

>   mtd: nand: pxa3xx_nand: use nand_to_mtd()

>   mtd: nand: pxa3xx_nand: sync pxa3xx_nand_set_sdr_timing()

>   mtd: nand: pxa3xx_nand: fix early spurious interrupt

>   mtd: nand: pxa3xx-nand: fix random command timeouts

>   nand: pxa3xx: Increase READ_ID buffer and make the size static

>   mtd: pxa3xx_nand: Increase the initial chunk size

>   mtd: pxa3xx_nand: Fix initial controller configuration

>   mtd: pxa3xx_nand: Simplify pxa3xx_nand_scan

>   mtd: nand: pxa3xx_nand: add support for partial chunks

> 

>  drivers/mtd/nand/pxa3xx_nand.c | 294 ++++++++++++++++++++++++------

> -----------

>  1 file changed, 175 insertions(+), 119 deletions(-)

> 

> --

> 1.9.1