From: Grygorii Strashko <grygorii.strashko@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v4 00/17] nand: remove direct acces to nand_info array
Date: Mon, 26 Jun 2017 19:12:50 -0500 [thread overview]
Message-ID: <20170627001308.23513-1-grygorii.strashko@ti.com> (raw)
This is a preparation required for adding Nand DM support. This series
introduces new API get_nand_dev_by_index() to avoid direct acces to nand_info
array and updates u-boot to use it. As result, nand_info array is made static
in the last patch.
Changes in v4:
- rebased on top of git://git.denx.de/u-boot.git/master
- added patch for arch/arm/cpu/armv8/fsl-layerscape/ppa.c
- added "Reviewed-by" tags
Changes in v3:
- preparation patches separated from original series.
- fixed BeagleBoard-xM boot failure which has Nand enabled, but no Nand
devices are presented on board physically.
- all current direct users were converted to use get_nand_dev_by_index() and
nand_info array was made static finally.
link on v3:
- https://www.mail-archive.com/u-boot at lists.denx.de/msg238797.html
link on v2:
- https://www.mail-archive.com/u-boot at lists.denx.de/msg237747.html
Grygorii Strashko (17):
common: env_nand: use get_nand_dev_by_index()
dfu: dfu_nand: use get_nand_dev_by_index()
cmd: bootm: use get_nand_dev_by_index()
cmd: jffs2: use get_nand_dev_by_index()
common: use get_nand_dev_by_index()
fs: use get_nand_dev_by_index()
cmd: nand: remove direct access to struct mtd_info->priv
net: phy: cortina: use get_nand_dev_by_index()
net: fm: use get_nand_dev_by_index()
mtd: nand: drv: use get_nand_dev_by_index()
cmd: mvebu: bubt: use get_nand_dev_by_index()
board: atmel: use get_nand_dev_by_index()
board: ronetix: use get_nand_dev_by_index()
board: BuR: use get_nand_dev_by_index()
board: toradex: use get_nand_dev_by_index()
armv8: fsl-layerscape: use get_nand_dev_by_index()
mtd: nand: make nand_info array static
Mugunthan V N (1):
cmd: nand: abstract global variable usage for dm conversion
arch/arm/cpu/armv8/fsl-layerscape/ppa.c | 15 +++---
board/BuR/common/common.c | 3 +-
board/atmel/at91sam9261ek/at91sam9261ek.c | 2 +-
board/atmel/at91sam9263ek/at91sam9263ek.c | 2 +-
board/atmel/at91sam9m10g45ek/at91sam9m10g45ek.c | 2 +-
board/atmel/at91sam9n12ek/at91sam9n12ek.c | 2 +-
board/atmel/at91sam9rlek/at91sam9rlek.c | 2 +-
board/atmel/at91sam9x5ek/at91sam9x5ek.c | 2 +-
board/atmel/sama5d3xek/sama5d3xek.c | 2 +-
board/atmel/sama5d4_xplained/sama5d4_xplained.c | 2 +-
board/atmel/sama5d4ek/sama5d4ek.c | 2 +-
board/ronetix/pm9261/pm9261.c | 2 +-
board/ronetix/pm9263/pm9263.c | 2 +-
board/toradex/colibri_t20/colibri_t20.c | 2 +-
board/toradex/common/tdx-cfg-block.c | 12 +++--
cmd/bootm.c | 2 +-
cmd/jffs2.c | 7 +--
cmd/mvebu/bubt.c | 14 +++--
cmd/nand.c | 69 ++++++++++++++-----------
common/env_nand.c | 33 +++++++-----
common/fb_nand.c | 2 +-
common/splash_source.c | 5 +-
drivers/dfu/dfu_nand.c | 12 ++---
drivers/mtd/nand/fsmc_nand.c | 2 +-
drivers/mtd/nand/nand.c | 23 ++++++---
drivers/mtd/nand/omap_gpmc.c | 7 +--
drivers/mtd/nand/zynq_nand.c | 2 +-
drivers/net/fm/fm.c | 3 +-
drivers/net/phy/cortina.c | 3 +-
fs/jffs2/jffs2_1pass.c | 9 +++-
fs/jffs2/jffs2_nand_1pass.c | 6 ++-
fs/yaffs2/yaffs_uboot_glue.c | 8 ++-
include/nand.h | 10 +++-
33 files changed, 162 insertions(+), 109 deletions(-)
--
2.10.1
next reply other threads:[~2017-06-27 0:12 UTC|newest]
Thread overview: 45+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-27 0:12 Grygorii Strashko [this message]
2017-06-27 0:12 ` [U-Boot] [PATCH v4 01/18] cmd: nand: abstract global variable usage for dm conversion Grygorii Strashko
2017-07-07 3:58 ` Simon Glass
2017-07-08 0:32 ` Grygorii Strashko
2017-07-08 16:08 ` Simon Glass
2017-07-08 18:32 ` Grygorii Strashko
2017-07-12 12:14 ` [U-Boot] [U-Boot, v4, " Tom Rini
2017-06-27 0:12 ` [U-Boot] [PATCH v4 02/18] common: env_nand: use get_nand_dev_by_index() Grygorii Strashko
2017-07-12 12:14 ` [U-Boot] [U-Boot, v4, " Tom Rini
2017-06-27 0:12 ` [U-Boot] [PATCH v4 03/18] dfu: dfu_nand: " Grygorii Strashko
2017-07-12 12:14 ` [U-Boot] [U-Boot, v4, " Tom Rini
2017-06-27 0:12 ` [U-Boot] [PATCH v4 04/18] cmd: bootm: " Grygorii Strashko
2017-07-12 12:14 ` [U-Boot] [U-Boot, v4, " Tom Rini
2017-06-27 0:12 ` [U-Boot] [PATCH v4 05/18] cmd: jffs2: " Grygorii Strashko
2017-07-12 12:14 ` [U-Boot] [U-Boot, v4, " Tom Rini
2017-06-27 0:12 ` [U-Boot] [PATCH v4 06/18] common: " Grygorii Strashko
2017-07-12 12:14 ` [U-Boot] [U-Boot,v4,06/18] " Tom Rini
2017-06-27 0:12 ` [U-Boot] [PATCH v4 07/18] fs: " Grygorii Strashko
2017-07-12 12:15 ` [U-Boot] [U-Boot,v4,07/18] " Tom Rini
2017-06-27 0:12 ` [U-Boot] [PATCH v4 08/18] cmd: nand: remove direct access to struct mtd_info->priv Grygorii Strashko
2017-07-12 12:15 ` [U-Boot] [U-Boot, v4, " Tom Rini
2017-06-27 0:12 ` [U-Boot] [PATCH v4 09/18] net: phy: cortina: use get_nand_dev_by_index() Grygorii Strashko
2017-07-12 12:15 ` [U-Boot] [U-Boot, v4, " Tom Rini
2017-06-27 0:13 ` [U-Boot] [PATCH v4 10/18] net: fm: " Grygorii Strashko
2017-07-12 12:15 ` [U-Boot] [U-Boot, v4, " Tom Rini
2017-06-27 0:13 ` [U-Boot] [PATCH v4 11/18] mtd: nand: drv: " Grygorii Strashko
2017-07-12 12:15 ` [U-Boot] [U-Boot, v4, " Tom Rini
2017-06-27 0:13 ` [U-Boot] [PATCH v4 12/18] cmd: mvebu: bubt: " Grygorii Strashko
2017-07-12 12:15 ` [U-Boot] [U-Boot, v4, " Tom Rini
2017-06-27 0:13 ` [U-Boot] [PATCH v4 13/18] board: atmel: " Grygorii Strashko
2017-07-12 12:15 ` [U-Boot] [U-Boot, v4, " Tom Rini
2017-06-27 0:13 ` [U-Boot] [PATCH v4 14/18] board: ronetix: " Grygorii Strashko
2017-07-12 12:15 ` [U-Boot] [U-Boot, v4, " Tom Rini
2017-06-27 0:13 ` [U-Boot] [PATCH v4 15/18] board: BuR: " Grygorii Strashko
2017-07-12 12:15 ` [U-Boot] [U-Boot, v4, " Tom Rini
2017-06-27 0:13 ` [U-Boot] [PATCH v4 16/18] board: toradex: " Grygorii Strashko
2017-07-12 12:15 ` [U-Boot] [U-Boot, v4, " Tom Rini
2017-06-27 0:13 ` [U-Boot] [PATCH v4 17/18] armv8: fsl-layerscape: " Grygorii Strashko
2017-07-12 12:15 ` [U-Boot] [U-Boot, v4, " Tom Rini
2017-06-27 0:13 ` [U-Boot] [PATCH v4 18/18] mtd: nand: make nand_info array static Grygorii Strashko
2017-07-12 12:15 ` [U-Boot] [U-Boot, v4, " Tom Rini
2017-07-02 12:41 ` [U-Boot] [PATCH v4 00/17] nand: remove direct acces to nand_info array Tom Rini
2017-07-03 6:00 ` Lokesh Vutla
2017-07-03 11:17 ` Tom Rini
2017-07-04 6:13 ` Lokesh Vutla
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=20170627001308.23513-1-grygorii.strashko@ti.com \
--to=grygorii.strashko@ti.com \
--cc=u-boot@lists.denx.de \
/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