mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: "Raphaël Poggi" <poggi.raph@gmail.com>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH v3 0/3] Add device tree support of Atmel NAND driver
Date: Tue, 2 Sep 2014 09:17:47 +0200	[thread overview]
Message-ID: <20140902071747.GY5352@pengutronix.de> (raw)
In-Reply-To: <1409574455-15746-1-git-send-email-poggi.raph@gmail.com>

On Mon, Sep 01, 2014 at 02:27:32PM +0200, Raphaël Poggi wrote:
> Change since v2:
> 	* Combine in one patch the creation and initialisation of "has_pmecc" structure member
> 	* Combine patch "[PATCH 3/5] mtd: atmel_nand: retrieve ecc_mode from pdata" 
> 		and "[PATCH 4/5] board: atmel: initialise ecc_mode"
> 	* Let NAND_ATMEL_PMECC config, but change the test in atmel_nand
> 
> Change since v1:
>         * Reorder patchs
>         * Fix some clean style issue.
> 
> This patchset adds the device tree support for the Atmel NAND driver.
> 
> The first patch add the has_pmecc structure member to be able to retrieve pmecc from device tree
> and adds the has_pmecc on boards which need it.
> 
> The second patch retrieves the ecc_mode from the plateform data, and remove this code:
> 
>         nand_chip->ecc.mode = NAND_ECC_SOFT;
> 
> which arbitrary sets the ecc.mode to NAND_ECC_SOFT and changes the value depending of the config and plateform data.
> With this, we can use the same logics for device tree and non device tree probing of the driver. 
> It also adds the ecc_mode on boards which are missing it (boards which use NAND_ECC_SOFT).
> 
> The third patch adds the device tree in the atmel_nand driver.
> 
> Raphaël Poggi (4):
> 	(1) mtd: nand: add has_pmecc member
> 	(2) mtd: atmel_nand: retrieve ecc_mode from pdata
> 	(3) mtd: atmel_nand: add support for device tree

Applied, thanks

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

      parent reply	other threads:[~2014-09-02  7:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-01 12:27 Raphaël Poggi
2014-09-01 12:27 ` [PATCH v3 1/3] mtd: nand: add has_pmecc member Raphaël Poggi
2014-09-01 12:27 ` [PATCH v3 2/3] mtd: atmel_nand: retrieve ecc_mode from pdata Raphaël Poggi
2014-09-01 12:27 ` [PATCH v3 3/3] mtd: atmel_nand: add support for device tree Raphaël Poggi
2014-09-02  7:17 ` Sascha Hauer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140902071747.GY5352@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=poggi.raph@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox