[U-Boot] [PATCH v2 02/15] cmd: nand: abstract global variable usage for dm conversion

Simon Glass sjg at chromium.org
Mon Feb 6 15:33:59 UTC 2017


On 31 January 2017 at 13:37, Grygorii Strashko <grygorii.strashko at ti.com> wrote:
> From: Mugunthan V N <mugunthanvnm at ti.com>
>
> nand_info is used all over the file so abstract it with
> get_nand_dev_by_index() which will help for DM conversion.
>
> Signed-off-by: Mugunthan V N <mugunthanvnm at ti.com>
> Signed-off-by: Grygorii Strashko <grygorii.strashko at ti.com>
> ---
>  cmd/nand.c                   | 69 +++++++++++++++++++++++++-------------------
>  drivers/mtd/nand/nand.c      | 23 +++++++++++----
>  drivers/mtd/nand/omap_gpmc.c |  7 ++---
>  include/nand.h               |  9 ++++++
>  4 files changed, 67 insertions(+), 41 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list