lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1459515272-31011-1-git-send-email-boris.brezillon@free-electrons.com>
Date:	Fri,  1 Apr 2016 14:54:20 +0200
From:	Boris Brezillon <boris.brezillon@...e-electrons.com>
To:	Roger Quadros <rogerq@...com>, Tony Lindgren <tony@...mide.com>,
	Wenyou Yang <wenyou.yang@...el.com>,
	Josh Wu <rainyfeeling@...look.com>,
	Boris Brezillon <boris.brezillon@...e-electrons.com>,
	Richard Weinberger <richard@....at>,
	linux-mtd@...ts.infradead.org,
	David Woodhouse <dwmw2@...radead.org>,
	Brian Norris <computersforpeace@...il.com>,
	Kamal Dasu <kdasu.kdev@...il.com>, Han Xu <han.xu@....com>,
	Ezequiel Garcia <ezequiel.garcia@...e-electrons.com>,
	Stefan Agner <stefan@...er.ch>
Cc:	linux-omap@...r.kernel.org,
	Nicolas Ferre <nicolas.ferre@...el.com>,
	Jean-Christophe Plagniol-Villard <plagnioj@...osoft.com>,
	Alexandre Belloni <alexandre.belloni@...e-electrons.com>,
	Thomas Petazzoni <thomas.petazzoni@...e-electrons.com>,
	Gregory CLEMENT <gregory.clement@...e-electrons.com>,
	Jason Cooper <jason@...edaemon.net>,
	Sebastian Hesselbarth <sebastian.hesselbarth@...il.com>,
	Andrew Lunn <andrew@...n.ch>, Daniel Mack <daniel@...que.org>,
	Haojian Zhuang <haojian.zhuang@...il.com>,
	Robert Jarzmik <robert.jarzmik@...e.fr>,
	bcm-kernel-feedback-list@...adcom.com,
	linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
	Maxime Ripard <maxime.ripard@...e-electrons.com>,
	Chen-Yu Tsai <wens@...e.org>, linux-sunxi@...glegroups.com,
	Zhou Wang <wangzhou1@...ilicon.com>,
	Alex Smith <alex.smith@...tec.com>,
	Harvey Hunt <harvey.hunt@...tec.com>
Subject: [PATCH 00/12] mtd: get rid of of_mtd.{c,h} and of_get_nand_xx()

Hello,

of_mtd.{h,c} are providing the of_get_nand_xxx() helpers to help NAND
controller drivers parse some generic NAND DT properties.
An infrastructure has recently been added to NAND core to automatically
parse those properties when nand_scan_ident() is called, thus removing
the need for NAND controller drivers to manually parse them.

This series modifies drivers still making use of those helpers to rely
on NAND core initialization, and get rid of the of_mtd.{c,h} files by
moving the of_get_nand_xx() helpers into nand_base.c.

Best Regards,

Boris

Boris Brezillon (12):
  mtd: nand: remove unneeded of_mtd.h inclusions
  mtd: nand: atmel: rely on generic DT parsing done in nand_scan_ident()
  mtd: nand: omap2: rely on generic DT parsing done in nand_scan_ident()
  mtd: nand: brcm: rely on generic DT parsing done in nand_scan_ident()
  mtd: nand: davinci: rely on generic DT parsing done in
    nand_scan_ident()
  mtd: nand: gpmi: rely on generic DT parsing done in nand_scan_ident()
  mtd: nand: hisi504: rely on generic DT parsing done in
    nand_scan_ident()
  mtd: nand: lpc32xx: rely on generic DT parsing done in
    nand_scan_ident()
  mtd: nand: mxc: rely on generic DT parsing done in nand_scan_ident()
  mtd: nand: pxa3xx: rely on generic DT parsing done in
    nand_scan_ident()
  mtd: nand: sh_flctl: rely on generic DT parsing done in
    nand_scan_ident()
  mtd: nand: move of_get_nand_xxx() helpers into nand_base.c

 drivers/memory/omap-gpmc.c             |   7 --
 drivers/mtd/nand/atmel_nand.c          | 133 +++++++++++++++-------------
 drivers/mtd/nand/brcmnand/brcmnand.c   |   5 +-
 drivers/mtd/nand/davinci_nand.c        |  85 +++++++++---------
 drivers/mtd/nand/gpmi-nand/gpmi-nand.c |  21 +++--
 drivers/mtd/nand/hisi504_nand.c        |  14 +--
 drivers/mtd/nand/jz4780_nand.c         |   1 -
 drivers/mtd/nand/lpc32xx_mlc.c         |   1 -
 drivers/mtd/nand/lpc32xx_slc.c         |  24 ++---
 drivers/mtd/nand/mxc_nand.c            |  50 +++++------
 drivers/mtd/nand/nand_base.c           |  99 ++++++++++++++++++++-
 drivers/mtd/nand/omap2.c               |   9 +-
 drivers/mtd/nand/pxa3xx_nand.c         |  28 +++---
 drivers/mtd/nand/qcom_nandc.c          |   1 -
 drivers/mtd/nand/sh_flctl.c            |  31 +++----
 drivers/mtd/nand/sunxi_nand.c          |   1 -
 drivers/mtd/nand/vf610_nfc.c           |   1 -
 drivers/of/Makefile                    |   1 -
 drivers/of/of_mtd.c                    | 155 ---------------------------------
 include/linux/of_mtd.h                 |  56 ------------
 20 files changed, 291 insertions(+), 432 deletions(-)
 delete mode 100644 drivers/of/of_mtd.c
 delete mode 100644 include/linux/of_mtd.h

-- 
2.5.0

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ