]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mtd: nand: Rename nand.h into rawnand.h
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 30 Nov 2017 04:45:24 +0000 (13:45 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 4 Dec 2017 13:00:00 +0000 (22:00 +0900)
This header was renamed to rawnand.h in Linux.

The following is the corresponding commit in Linux.

  commit d4092d76a4a4e57b65910899948a83cc8646c5a5
  Author: Boris Brezillon <boris.brezillon@free-electrons.com>
  Date:   Fri Aug 4 17:29:10 2017 +0200

      mtd: nand: Rename nand.h into rawnand.h

      We are planning to share more code between different NAND based
      devices (SPI NAND, OneNAND and raw NANDs), but before doing that
      we need to move the existing include/linux/mtd/nand.h file into
      include/linux/mtd/rawnand.h so we can later create a nand.h header
      containing all common structure and function prototypes.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
35 files changed:
arch/arm/include/asm/ti-common/davinci_nand.h
arch/arm/mach-omap2/omap3/spl_id_nand.c
board/atmel/at91sam9m10g45ek/at91sam9m10g45ek.c
board/isee/igep00x0/common.c
board/isee/igep00x0/igep00x0.c
board/isee/igep00x0/spl.c
board/logicpd/omap3som/omap3logic.c
board/mini-box/picosam9g45/picosam9g45.c
board/overo/overo.c
board/siemens/taurus/taurus.c
board/ti/beagle/beagle.c
board/ti/evm/evm.c
cmd/jffs2.c
cmd/mtdparts.c
drivers/mtd/nand/arasan_nfc.c
drivers/mtd/nand/denali.h
drivers/mtd/nand/denali_spl.c
drivers/mtd/nand/fsl_elbc_nand.c
drivers/mtd/nand/fsl_ifc_nand.c
drivers/mtd/nand/fsl_ifc_spl.c
drivers/mtd/nand/mxs_nand.c
drivers/mtd/nand/nand_base.c
drivers/mtd/nand/nand_bbt.c
drivers/mtd/nand/nand_bch.c
drivers/mtd/nand/nand_ids.c
drivers/mtd/nand/nand_timings.c
drivers/mtd/nand/pxa3xx_nand.c
drivers/mtd/nand/sunxi_nand.c
drivers/mtd/nand/vf610_nfc.c
drivers/mtd/nand/zynq_nand.c
fs/yaffs2/yaffs_mtdif.c
include/linux/mtd/fsl_upm.h
include/linux/mtd/fsmc_nand.h
include/linux/mtd/rawnand.h [moved from include/linux/mtd/nand.h with 99% similarity]
include/nand.h

index f343ac2c0fd6b44022e4862a74a27dd49e306f7e..e26381c7fdd31a9fad32fce752ae85015ab06021 100644 (file)
@@ -9,7 +9,7 @@
 #ifndef _DAVINCI_NAND_H_
 #define _DAVINCI_NAND_H_
 
-#include <linux/mtd/nand.h>
+#include <linux/mtd/rawnand.h>
 #include <asm/arch/hardware.h>
 
 #define NAND_READ_START        0x00
index 0e2f0a2f6d67127537a9b5256b744d3ce3cc507e..5c9549c7431e9a6ae46911535512d0be711eadb8 100644 (file)
@@ -14,7 +14,7 @@
 
 #include <common.h>
 #include <jffs2/load_kernel.h>
-#include <linux/mtd/nand.h>
+#include <linux/mtd/rawnand.h>
 #include <linux/mtd/omap_gpmc.h>
 #include <asm/io.h>
 #include <asm/arch/sys_proto.h>
index 98430c4246f56946430e77bc1a566544f13fc3b9..78ddbbbad18fe8cd6bc586224cfc2bb885479ebe 100644 (file)
@@ -16,7 +16,7 @@
 #include <asm/arch/gpio.h>
 #include <asm/arch/clk.h>
 #include <lcd.h>
-#include <linux/mtd/nand.h>
+#include <linux/mtd/rawnand.h>
 #include <atmel_lcdc.h>
 #include <asm/mach-types.h>
 
index e59516f6123bd378aa2fcbf85ff22c3d575809b3..d35afa5cad533f77bfbc47de7b85463f73d063be 100644 (file)
@@ -8,7 +8,7 @@
 #include <asm/arch/mux.h>
 #include <asm/arch/sys_proto.h>
 #include <jffs2/load_kernel.h>
-#include <linux/mtd/nand.h>
+#include <linux/mtd/rawnand.h>
 #include "igep00x0.h"
 
 DECLARE_GLOBAL_DATA_PTR;
index 5c7f2567118a1e17bdb6f76f29a7161628776bf7..01bb99fbb8fcdb15c02157c99be4d8dbc089e0b9 100644 (file)
@@ -18,7 +18,7 @@
 #include <asm/arch/mux.h>
 #include <asm/arch/sys_proto.h>
 #include <linux/mtd/mtd.h>
-#include <linux/mtd/nand.h>
+#include <linux/mtd/rawnand.h>
 #include <linux/mtd/onenand.h>
 #include <jffs2/load_kernel.h>
 #include <mtd_node.h>
index eb705cbe88de0fc1137bdf0e3ba0c53c9a56408d..f1c99dd7cf5cbfdbe0a6e0607007df1795d94a3c 100644 (file)
@@ -5,7 +5,7 @@
 #include <asm/arch/mem.h>
 #include <asm/arch/sys_proto.h>
 #include <jffs2/load_kernel.h>
-#include <linux/mtd/nand.h>
+#include <linux/mtd/rawnand.h>
 #include "igep00x0.h"
 
 /*
index 1da9e383c270a90ee0356ab54feffed4d224ea88..a55a520e63e512a69f237599b6311766feb69078 100644 (file)
@@ -26,7 +26,7 @@
 #include <asm/arch/sys_proto.h>
 #include <asm/gpio.h>
 #include <asm/mach-types.h>
-#include <linux/mtd/nand.h>
+#include <linux/mtd/rawnand.h>
 #include <asm/omap_musb.h>
 #include <linux/errno.h>
 #include <linux/usb/ch9.h>
index f3263eba6e6310b5ce6a8fcc0b34c00287099eab..dd2db9a762687e35878f788e6fc4f098dcfac58b 100644 (file)
@@ -20,7 +20,7 @@
 #include <asm/arch/gpio.h>
 #include <asm/arch/clk.h>
 #include <lcd.h>
-#include <linux/mtd/nand.h>
+#include <linux/mtd/rawnand.h>
 #include <atmel_lcdc.h>
 #include <atmel_mci.h>
 #if defined(CONFIG_RESET_PHY_R) && defined(CONFIG_MACB)
index 140e34d4dd6147e5e9f8aaeaebc897b69e76bfc5..7b44a37103b3a8e016374b2af5c85c69f3442e8e 100644 (file)
@@ -17,7 +17,7 @@
 #include <ns16550.h>
 #include <netdev.h>
 #include <twl4030.h>
-#include <linux/mtd/nand.h>
+#include <linux/mtd/rawnand.h>
 #include <asm/io.h>
 #include <asm/arch/mmc_host_def.h>
 #include <asm/arch/mux.h>
index 8390bdd5f812f60004a0262b0b1ee67dfc29b3fb..71541ba3a47b3dcc682d223870c58f7a63989ad6 100644 (file)
@@ -26,7 +26,7 @@
 #include <asm/arch/atmel_serial.h>
 #include <asm/arch/clk.h>
 #include <asm/gpio.h>
-#include <linux/mtd/nand.h>
+#include <linux/mtd/rawnand.h>
 #include <atmel_mci.h>
 #include <asm/arch/at91_spi.h>
 #include <spi.h>
index 2f62fbec69e92ed47d56820ddb45744e8e238b48..bdf84b0be8ae428118d05a24e4db4f025b1131cd 100644 (file)
@@ -20,7 +20,7 @@
 #include <status_led.h>
 #endif
 #include <twl4030.h>
-#include <linux/mtd/nand.h>
+#include <linux/mtd/rawnand.h>
 #include <asm/io.h>
 #include <asm/arch/mmc_host_def.h>
 #include <asm/arch/mux.h>
index 1f0433dcc0471fb638748f67829f974a9cafc3e8..4d5ddff1e1e69af47b97e73159c3a86ddbda09b3 100644 (file)
@@ -25,7 +25,7 @@
 #include <twl4030.h>
 #include <asm/mach-types.h>
 #include <asm/omap_musb.h>
-#include <linux/mtd/nand.h>
+#include <linux/mtd/rawnand.h>
 #include <linux/usb/ch9.h>
 #include <linux/usb/gadget.h>
 #include <linux/usb/musb.h>
index aee2f4513d44220006cc8b6b5695337ead7c8995..13c533cf12992bc2532f90b668806a614ed19e7d 100644 (file)
@@ -80,7 +80,7 @@
 #include <cramfs/cramfs_fs.h>
 
 #if defined(CONFIG_CMD_NAND)
-#include <linux/mtd/nand.h>
+#include <linux/mtd/rawnand.h>
 #include <nand.h>
 #endif
 
index 3275eb919bfb2a561364570de2c8a2c6dd0212ea..3169c33265ce818aa46d93bd55afe49ae80fdd11 100644 (file)
@@ -81,7 +81,7 @@
 #include <linux/mtd/mtd.h>
 
 #if defined(CONFIG_CMD_NAND)
-#include <linux/mtd/nand.h>
+#include <linux/mtd/rawnand.h>
 #include <nand.h>
 #endif
 
index a8f795d957ffa03f2ab6e29defb5c1915afb684f..14b27337b68ac96739efcbe27b0d96b3fe430a75 100644 (file)
@@ -11,7 +11,7 @@
 #include <asm/io.h>
 #include <linux/errno.h>
 #include <linux/mtd/mtd.h>
-#include <linux/mtd/nand.h>
+#include <linux/mtd/rawnand.h>
 #include <linux/mtd/partitions.h>
 #include <linux/mtd/nand_ecc.h>
 #include <asm/arch/hardware.h>
index 04b4ae2683445ebbcae6369ebd50e7d9f5dcaf3d..bdaea71f914b109905d9106f0e5ec99bdbc25a68 100644 (file)
@@ -9,7 +9,7 @@
 #define __DENALI_H__
 
 #include <linux/bitops.h>
-#include <linux/mtd/nand.h>
+#include <linux/mtd/rawnand.h>
 #include <linux/types.h>
 
 #define DEVICE_RESET                           0x0
index 3cb98497353b1c4d47e55b78b8c6a31a26204113..1a59b937a6d74e2ed7e93573c966dbb6029ed475 100644 (file)
@@ -8,7 +8,7 @@
 #include <common.h>
 #include <asm/io.h>
 #include <asm/unaligned.h>
-#include <linux/mtd/nand.h>
+#include <linux/mtd/rawnand.h>
 #include "denali.h"
 
 #define DENALI_MAP01           (1 << 26)       /* read/write pages in PIO */
index b3c23b03390f5f526ea9a4bea4bd8d964669168d..fc3720b3bd110c18cfec3faeb5959b6bf1ac9e41 100644 (file)
@@ -13,7 +13,7 @@
 #include <nand.h>
 
 #include <linux/mtd/mtd.h>
-#include <linux/mtd/nand.h>
+#include <linux/mtd/rawnand.h>
 #include <linux/mtd/nand_ecc.h>
 
 #include <asm/io.h>
index a757a3be4426796f6877fde1f9cbe6f1da8d5019..d1165f7d6b5e40b17f54c5232ce5109b80094b17 100644 (file)
@@ -12,7 +12,7 @@
 #include <nand.h>
 
 #include <linux/mtd/mtd.h>
-#include <linux/mtd/nand.h>
+#include <linux/mtd/rawnand.h>
 #include <linux/mtd/nand_ecc.h>
 
 #include <asm/io.h>
index 4e49a4e15465a762b1d08bd5f8ebe579954b9973..59461945d39eb0fbb72443fe66a4029524688d0c 100644 (file)
@@ -10,7 +10,7 @@
 #include <common.h>
 #include <asm/io.h>
 #include <fsl_ifc.h>
-#include <linux/mtd/nand.h>
+#include <linux/mtd/rawnand.h>
 #ifdef CONFIG_CHAIN_OF_TRUST
 #include <fsl_validate.h>
 #endif
index d774ab8d82dab20ef0f889d6670c76dced3ca900..bed9b65ef4036918f5fb4634eef649b64a880245 100644 (file)
@@ -15,7 +15,7 @@
 
 #include <common.h>
 #include <linux/mtd/mtd.h>
-#include <linux/mtd/nand.h>
+#include <linux/mtd/rawnand.h>
 #include <linux/types.h>
 #include <malloc.h>
 #include <linux/errno.h>
index aca32318d529fe13d18082b214ac288edd6bf70e..eb9f121f810a270616e41c514fd44b8d69a9d8e1 100644 (file)
@@ -37,7 +37,7 @@
 #include <linux/err.h>
 #include <linux/compat.h>
 #include <linux/mtd/mtd.h>
-#include <linux/mtd/nand.h>
+#include <linux/mtd/rawnand.h>
 #include <linux/mtd/nand_ecc.h>
 #include <linux/mtd/nand_bch.h>
 #ifdef CONFIG_MTD_PARTITIONS
index 74c4c9a3c802f679955bfb55be367f2803fa6a5b..ba785c5d53590f11b4323611c3b16cee29251821 100644 (file)
@@ -62,7 +62,7 @@
 #include <linux/compat.h>
 #include <linux/mtd/mtd.h>
 #include <linux/mtd/bbm.h>
-#include <linux/mtd/nand.h>
+#include <linux/mtd/rawnand.h>
 #include <linux/bitops.h>
 #include <linux/string.h>
 
index 6c20d53e7ec643aed0a740b2e7929d6d492fe25a..b7c1171d50a06131ca59006f69cb6a2cbbf8013f 100644 (file)
@@ -13,7 +13,7 @@
 
 #include <linux/bitops.h>
 #include <linux/mtd/mtd.h>
-#include <linux/mtd/nand.h>
+#include <linux/mtd/rawnand.h>
 #include <linux/mtd/nand_bch.h>
 #include <linux/bch.h>
 #include <malloc.h>
index d36f9006c99dc67d2340d4d421836cc2ad7b849b..4009d641235242da8a6df688c9d4eab52e488551 100644 (file)
@@ -7,7 +7,7 @@
  *
  */
 #include <common.h>
-#include <linux/mtd/nand.h>
+#include <linux/mtd/rawnand.h>
 #include <linux/sizes.h>
 
 #define LP_OPTIONS NAND_SAMSUNG_LP_OPTIONS
index 993555729162d3c52af0c32a76b71b175998cc45..c0545a4fb1590045036589a48fb0791dd5ee189d 100644 (file)
@@ -10,7 +10,7 @@
  */
 #include <common.h>
 #include <linux/kernel.h>
-#include <linux/mtd/nand.h>
+#include <linux/mtd/rawnand.h>
 
 static const struct nand_data_interface onfi_sdr_timings[] = {
        /* Mode 0 */
index cedbb239b686eb6733c0c28b506d198545429a1e..a3ca3373e4bdfabfea1d726fb82299e069c7b2fa 100644 (file)
@@ -15,7 +15,7 @@
 #include <asm/io.h>
 #include <asm/arch/cpu.h>
 #include <linux/mtd/mtd.h>
-#include <linux/mtd/nand.h>
+#include <linux/mtd/rawnand.h>
 #include <linux/types.h>
 
 #include "pxa3xx_nand.h"
index 8bc3828854c1c92ca6b69e7a2ba4e3f532ba575d..532e03cd84574958d7ad0d98573a19c48353c0f0 100644 (file)
@@ -32,7 +32,7 @@
 
 #include <linux/kernel.h>
 #include <linux/mtd/mtd.h>
-#include <linux/mtd/nand.h>
+#include <linux/mtd/rawnand.h>
 #include <linux/mtd/partitions.h>
 #include <linux/io.h>
 
index f99bdaf94da2be3dc216ff05f9580105a8049163..dd53f2bedb341ac956b433a1d64a771fb1ae183e 100644 (file)
@@ -26,7 +26,7 @@
 #include <malloc.h>
 
 #include <linux/mtd/mtd.h>
-#include <linux/mtd/nand.h>
+#include <linux/mtd/rawnand.h>
 #include <linux/mtd/partitions.h>
 
 #include <nand.h>
index 076b878244364dbee57212356bad8e1453427548..6494196049f1c4a521c40859badfb6144903909d 100644 (file)
@@ -13,7 +13,7 @@
 #include <linux/errno.h>
 #include <nand.h>
 #include <linux/mtd/mtd.h>
-#include <linux/mtd/nand.h>
+#include <linux/mtd/rawnand.h>
 #include <linux/mtd/partitions.h>
 #include <linux/mtd/nand_ecc.h>
 #include <asm/arch/hardware.h>
index 636c7770e2014a391ab96b140139af9f6aaddcf4..d338f9aa918f30b77c390bd763fc13cec1fe51a9 100644 (file)
@@ -22,7 +22,7 @@
 #include <linux/mtd/mtd.h>
 #include <linux/types.h>
 #include <linux/time.h>
-#include <linux/mtd/nand.h>
+#include <linux/mtd/rawnand.h>
 
 
 static inline void translate_spare2oob(const struct yaffs_spare *spare, u8 *oob)
index 0a949bca0de37c539e7a181d0c2f3d6850ffb135..a023860e7b872f57e6f327175fc5b4cfe1489dac 100644 (file)
@@ -10,7 +10,7 @@
 #ifndef __LINUX_MTD_NAND_FSL_UPM
 #define __LINUX_MTD_NAND_FSL_UPM
 
-#include <linux/mtd/nand.h>
+#include <linux/mtd/rawnand.h>
 
 #define FSL_UPM_WAIT_RUN_PATTERN  0x1
 #define FSL_UPM_WAIT_WRITE_BYTE   0x2
index f0f77270afea03dd03dd662e3559964946479704..bc3db030d04b64b582d153c6935e064afd1bf1db 100644 (file)
@@ -8,7 +8,7 @@
 #ifndef __FSMC_NAND_H__
 #define __FSMC_NAND_H__
 
-#include <linux/mtd/nand.h>
+#include <linux/mtd/rawnand.h>
 
 struct fsmc_regs {
        u32 ctrl;                       /* 0x00 */
similarity index 99%
rename from include/linux/mtd/nand.h
rename to include/linux/mtd/rawnand.h
index d1db34c3343a02c7ebab6cc5cc519c01ae4ba744..192709b6e479738c9d63bd95866668b8d59fa1e4 100644 (file)
@@ -1,6 +1,4 @@
 /*
- *  linux/include/linux/mtd/nand.h
- *
  *  Copyright © 2000-2010 David Woodhouse <dwmw2@infradead.org>
  *                        Steven J. Hill <sjhill@realitydiluted.com>
  *                       Thomas Gleixner <tglx@linutronix.de>
@@ -13,8 +11,8 @@
  * Changelog:
  *     See git changelog.
  */
-#ifndef __LINUX_MTD_NAND_H
-#define __LINUX_MTD_NAND_H
+#ifndef __LINUX_MTD_RAWNAND_H
+#define __LINUX_MTD_RAWNAND_H
 
 #include <config.h>
 
@@ -1270,5 +1268,4 @@ int nand_maximize_ecc(struct nand_chip *chip,
 
 /* Reset and initialize a NAND device */
 int nand_reset(struct nand_chip *chip, int chipnr);
-
-#endif /* __LINUX_MTD_NAND_H */
+#endif /* __LINUX_MTD_RAWNAND_H */
index c1c1d8cce6c0c90cc653f136854bf2b088050b3f..cead563553196c7d4a7ba8c52e07e16807d3e2be 100644 (file)
@@ -32,7 +32,7 @@ unsigned long nand_size(void);
 
 #include <linux/compat.h>
 #include <linux/mtd/mtd.h>
-#include <linux/mtd/nand.h>
+#include <linux/mtd/rawnand.h>
 
 int nand_mtd_to_devnum(struct mtd_info *mtd);