From patchwork Thu Nov 30 04:45:24 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 120073 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp223146qgn; Wed, 29 Nov 2017 20:48:12 -0800 (PST) X-Google-Smtp-Source: AGs4zMY2Xk72XfzCQ1h37agQm7SuRQRrlw567+oH2lhegQzKYtvoOpMcjHcCdrMh62rcxSEFzVjn X-Received: by 10.80.166.135 with SMTP id e7mr11040806edc.278.1512017291926; Wed, 29 Nov 2017 20:48:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512017291; cv=none; d=google.com; s=arc-20160816; b=OUUDyKdvmcYoF4DdjzCRhy5a0Xmt2uza+ertHVH62gO3nFT9Odm9QEfMqFjKAx5ot+ Dczc/1wXRIgnjpiFCBshgXvfIyHwN9ZuKM/dDDmJIXSP31VYUEYi87xlipNZA4VpzC/5 Pm4owgHd4cmo86GnLlUdIuexnaOHpi7COdPNtxOc5XWh00z70+m0IXW4PIAfP+wgsk1G BGsJZwyP/cN81z+Smzzj89WNN3EttAzvHeij54M5Wfa8zmiyILtwPfRzUXXz5wrba1cX yNSKJDE3w4s5PD+JkVqimYC3Fc040jZi+Wy4T2QyXsJhG8L7WlUkyLyHNyJKW5A8ucqc 98DQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :cc:mime-version:message-id:date:to:from:dkim-signature:dkim-filter :arc-authentication-results; bh=vTGKX2RR+dqVwCT7IjoMzy1Sdohpj4pJfGRPjNk0sik=; b=hVMMMh0BggTfEPrbB+lxH+oyO1dVgIgi/JjOLGmVxVQJ4aEHFK4uRxyJZoe4vlkn5q tii5wcJzb9ZmACKHBHsXLlT3SYbEHXnUXND3NWSVFv12dnui1MTkXScDWaen/c64tnjN bvzyuXltrG8+XPa/HD5g9osc0yN0cbh/h5zgyqNNDvCO7YWqxvF/0RfS2AmRuVSLFz3g vsyPbfVvh8ebXlRDSL+qtcdLkKdOepkqsKdgEOFMrVe+gnNw81HbgwOnFV/nALOk+ocF J9Y2aWDi41u6+ocMcd9u+CmAK0TtObd0UlHsTuwDb+PGARMjYx3OAuGlHC7kObtKZgE7 FYgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=1mmhG1Ig; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id t16si2134637edi.408.2017.11.29.20.48.11; Wed, 29 Nov 2017 20:48:11 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=1mmhG1Ig; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by lists.denx.de (Postfix, from userid 105) id 79291C21E5D; Thu, 30 Nov 2017 04:47:07 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id A3B9EC21E4B; Thu, 30 Nov 2017 04:46:59 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 94F71C21EBB; Thu, 30 Nov 2017 04:46:22 +0000 (UTC) Received: from conuserg-07.nifty.com (conuserg-07.nifty.com [210.131.2.74]) by lists.denx.de (Postfix) with ESMTPS id 0D472C21E2F for ; Thu, 30 Nov 2017 04:46:19 +0000 (UTC) Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-07.nifty.com with ESMTP id vAU4jfGx011804; Thu, 30 Nov 2017 13:45:42 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-07.nifty.com vAU4jfGx011804 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1512017142; bh=Wz6BpxznMn/CICqlE/Az7IlaB4w6LIxD7JFu6nSkb7U=; h=From:To:Cc:Subject:Date:From; b=1mmhG1IgomREzg1ThmX80kSwOBH75aFYl0iA+g6e1EZEy8vUEuGxa2cZSDzJYN9ta q32kr+f4J5KXpsOnhsPbz6HL/T4n48mQy43vazAZQAJNSR0G+Na2Izx0a0mfzo2uQy 7nMKt3JspAsWXTKYi4dKjvEDYJWDMUgh8IBdjmWzp22xCby2J1zXnCNYPmKqFCgTGr Pb8L/1eFBSCm6N6ERHPMycV7lRrcXnyosNFX+jguVZIMtJVhhdtqH2nUpWxD6qv11p PbnTs45PISI0cK2q7Kx+yT47xDPxzIfeP5MyZCynHiNDQTtw2xX22HkFVww/S0oWga LSthr42H2QGVQ== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Thu, 30 Nov 2017 13:45:24 +0900 Message-Id: <1512017127-10986-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Cc: Marek Vasut , Scott Wood , Erik van Luijk , Bo Shen , Scott Wood Subject: [U-Boot] [PATCH 1/4] mtd: nand: Rename nand.h into rawnand.h X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" This header was renamed to rawnand.h in Linux. The following is the corresponding commit in Linux. commit d4092d76a4a4e57b65910899948a83cc8646c5a5 Author: Boris Brezillon 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 --- arch/arm/include/asm/ti-common/davinci_nand.h | 2 +- arch/arm/mach-omap2/omap3/spl_id_nand.c | 2 +- board/atmel/at91sam9m10g45ek/at91sam9m10g45ek.c | 2 +- board/isee/igep00x0/common.c | 2 +- board/isee/igep00x0/igep00x0.c | 2 +- board/isee/igep00x0/spl.c | 2 +- board/logicpd/omap3som/omap3logic.c | 2 +- board/mini-box/picosam9g45/picosam9g45.c | 2 +- board/overo/overo.c | 2 +- board/siemens/taurus/taurus.c | 2 +- board/ti/beagle/beagle.c | 2 +- board/ti/evm/evm.c | 2 +- cmd/jffs2.c | 2 +- cmd/mtdparts.c | 2 +- drivers/mtd/nand/arasan_nfc.c | 2 +- drivers/mtd/nand/denali.h | 2 +- drivers/mtd/nand/denali_spl.c | 2 +- drivers/mtd/nand/fsl_elbc_nand.c | 2 +- drivers/mtd/nand/fsl_ifc_nand.c | 2 +- drivers/mtd/nand/fsl_ifc_spl.c | 2 +- drivers/mtd/nand/mxs_nand.c | 2 +- drivers/mtd/nand/nand_base.c | 2 +- drivers/mtd/nand/nand_bbt.c | 2 +- drivers/mtd/nand/nand_bch.c | 2 +- drivers/mtd/nand/nand_ids.c | 2 +- drivers/mtd/nand/nand_timings.c | 2 +- drivers/mtd/nand/pxa3xx_nand.c | 2 +- drivers/mtd/nand/sunxi_nand.c | 2 +- drivers/mtd/nand/vf610_nfc.c | 2 +- drivers/mtd/nand/zynq_nand.c | 2 +- fs/yaffs2/yaffs_mtdif.c | 2 +- include/linux/mtd/fsl_upm.h | 2 +- include/linux/mtd/fsmc_nand.h | 2 +- include/linux/mtd/{nand.h => rawnand.h} | 9 +++------ include/nand.h | 2 +- 35 files changed, 37 insertions(+), 40 deletions(-) rename include/linux/mtd/{nand.h => rawnand.h} (99%) diff --git a/arch/arm/include/asm/ti-common/davinci_nand.h b/arch/arm/include/asm/ti-common/davinci_nand.h index f343ac2..e26381c 100644 --- a/arch/arm/include/asm/ti-common/davinci_nand.h +++ b/arch/arm/include/asm/ti-common/davinci_nand.h @@ -9,7 +9,7 @@ #ifndef _DAVINCI_NAND_H_ #define _DAVINCI_NAND_H_ -#include +#include #include #define NAND_READ_START 0x00 diff --git a/arch/arm/mach-omap2/omap3/spl_id_nand.c b/arch/arm/mach-omap2/omap3/spl_id_nand.c index 0e2f0a2..5c9549c 100644 --- a/arch/arm/mach-omap2/omap3/spl_id_nand.c +++ b/arch/arm/mach-omap2/omap3/spl_id_nand.c @@ -14,7 +14,7 @@ #include #include -#include +#include #include #include #include diff --git a/board/atmel/at91sam9m10g45ek/at91sam9m10g45ek.c b/board/atmel/at91sam9m10g45ek/at91sam9m10g45ek.c index 98430c4..78ddbbb 100644 --- a/board/atmel/at91sam9m10g45ek/at91sam9m10g45ek.c +++ b/board/atmel/at91sam9m10g45ek/at91sam9m10g45ek.c @@ -16,7 +16,7 @@ #include #include #include -#include +#include #include #include diff --git a/board/isee/igep00x0/common.c b/board/isee/igep00x0/common.c index e59516f..d35afa5 100644 --- a/board/isee/igep00x0/common.c +++ b/board/isee/igep00x0/common.c @@ -8,7 +8,7 @@ #include #include #include -#include +#include #include "igep00x0.h" DECLARE_GLOBAL_DATA_PTR; diff --git a/board/isee/igep00x0/igep00x0.c b/board/isee/igep00x0/igep00x0.c index 5c7f256..01bb99f 100644 --- a/board/isee/igep00x0/igep00x0.c +++ b/board/isee/igep00x0/igep00x0.c @@ -18,7 +18,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/board/isee/igep00x0/spl.c b/board/isee/igep00x0/spl.c index eb705cb..f1c99dd 100644 --- a/board/isee/igep00x0/spl.c +++ b/board/isee/igep00x0/spl.c @@ -5,7 +5,7 @@ #include #include #include -#include +#include #include "igep00x0.h" /* diff --git a/board/logicpd/omap3som/omap3logic.c b/board/logicpd/omap3som/omap3logic.c index 1da9e38..a55a520 100644 --- a/board/logicpd/omap3som/omap3logic.c +++ b/board/logicpd/omap3som/omap3logic.c @@ -26,7 +26,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/board/mini-box/picosam9g45/picosam9g45.c b/board/mini-box/picosam9g45/picosam9g45.c index f3263eb..dd2db9a 100644 --- a/board/mini-box/picosam9g45/picosam9g45.c +++ b/board/mini-box/picosam9g45/picosam9g45.c @@ -20,7 +20,7 @@ #include #include #include -#include +#include #include #include #if defined(CONFIG_RESET_PHY_R) && defined(CONFIG_MACB) diff --git a/board/overo/overo.c b/board/overo/overo.c index 140e34d..7b44a37 100644 --- a/board/overo/overo.c +++ b/board/overo/overo.c @@ -17,7 +17,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/board/siemens/taurus/taurus.c b/board/siemens/taurus/taurus.c index 8390bdd..71541ba 100644 --- a/board/siemens/taurus/taurus.c +++ b/board/siemens/taurus/taurus.c @@ -26,7 +26,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/board/ti/beagle/beagle.c b/board/ti/beagle/beagle.c index 2f62fbe..bdf84b0 100644 --- a/board/ti/beagle/beagle.c +++ b/board/ti/beagle/beagle.c @@ -20,7 +20,7 @@ #include #endif #include -#include +#include #include #include #include diff --git a/board/ti/evm/evm.c b/board/ti/evm/evm.c index 1f0433d..4d5ddff 100644 --- a/board/ti/evm/evm.c +++ b/board/ti/evm/evm.c @@ -25,7 +25,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/cmd/jffs2.c b/cmd/jffs2.c index aee2f45..13c533c 100644 --- a/cmd/jffs2.c +++ b/cmd/jffs2.c @@ -80,7 +80,7 @@ #include #if defined(CONFIG_CMD_NAND) -#include +#include #include #endif diff --git a/cmd/mtdparts.c b/cmd/mtdparts.c index 3275eb9..3169c33 100644 --- a/cmd/mtdparts.c +++ b/cmd/mtdparts.c @@ -81,7 +81,7 @@ #include #if defined(CONFIG_CMD_NAND) -#include +#include #include #endif diff --git a/drivers/mtd/nand/arasan_nfc.c b/drivers/mtd/nand/arasan_nfc.c index a8f795d..14b2733 100644 --- a/drivers/mtd/nand/arasan_nfc.c +++ b/drivers/mtd/nand/arasan_nfc.c @@ -11,7 +11,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/drivers/mtd/nand/denali.h b/drivers/mtd/nand/denali.h index 04b4ae2..bdaea71 100644 --- a/drivers/mtd/nand/denali.h +++ b/drivers/mtd/nand/denali.h @@ -9,7 +9,7 @@ #define __DENALI_H__ #include -#include +#include #include #define DEVICE_RESET 0x0 diff --git a/drivers/mtd/nand/denali_spl.c b/drivers/mtd/nand/denali_spl.c index 3cb9849..1a59b93 100644 --- a/drivers/mtd/nand/denali_spl.c +++ b/drivers/mtd/nand/denali_spl.c @@ -8,7 +8,7 @@ #include #include #include -#include +#include #include "denali.h" #define DENALI_MAP01 (1 << 26) /* read/write pages in PIO */ diff --git a/drivers/mtd/nand/fsl_elbc_nand.c b/drivers/mtd/nand/fsl_elbc_nand.c index b3c23b0..fc3720b 100644 --- a/drivers/mtd/nand/fsl_elbc_nand.c +++ b/drivers/mtd/nand/fsl_elbc_nand.c @@ -13,7 +13,7 @@ #include #include -#include +#include #include #include diff --git a/drivers/mtd/nand/fsl_ifc_nand.c b/drivers/mtd/nand/fsl_ifc_nand.c index a757a3b..d1165f7 100644 --- a/drivers/mtd/nand/fsl_ifc_nand.c +++ b/drivers/mtd/nand/fsl_ifc_nand.c @@ -12,7 +12,7 @@ #include #include -#include +#include #include #include diff --git a/drivers/mtd/nand/fsl_ifc_spl.c b/drivers/mtd/nand/fsl_ifc_spl.c index 4e49a4e..5946194 100644 --- a/drivers/mtd/nand/fsl_ifc_spl.c +++ b/drivers/mtd/nand/fsl_ifc_spl.c @@ -10,7 +10,7 @@ #include #include #include -#include +#include #ifdef CONFIG_CHAIN_OF_TRUST #include #endif diff --git a/drivers/mtd/nand/mxs_nand.c b/drivers/mtd/nand/mxs_nand.c index d774ab8..bed9b65 100644 --- a/drivers/mtd/nand/mxs_nand.c +++ b/drivers/mtd/nand/mxs_nand.c @@ -15,7 +15,7 @@ #include #include -#include +#include #include #include #include diff --git a/drivers/mtd/nand/nand_base.c b/drivers/mtd/nand/nand_base.c index aca3231..eb9f121 100644 --- a/drivers/mtd/nand/nand_base.c +++ b/drivers/mtd/nand/nand_base.c @@ -37,7 +37,7 @@ #include #include #include -#include +#include #include #include #ifdef CONFIG_MTD_PARTITIONS diff --git a/drivers/mtd/nand/nand_bbt.c b/drivers/mtd/nand/nand_bbt.c index 74c4c9a..ba785c5 100644 --- a/drivers/mtd/nand/nand_bbt.c +++ b/drivers/mtd/nand/nand_bbt.c @@ -62,7 +62,7 @@ #include #include #include -#include +#include #include #include diff --git a/drivers/mtd/nand/nand_bch.c b/drivers/mtd/nand/nand_bch.c index 6c20d53..b7c1171 100644 --- a/drivers/mtd/nand/nand_bch.c +++ b/drivers/mtd/nand/nand_bch.c @@ -13,7 +13,7 @@ #include #include -#include +#include #include #include #include diff --git a/drivers/mtd/nand/nand_ids.c b/drivers/mtd/nand/nand_ids.c index d36f900..4009d64 100644 --- a/drivers/mtd/nand/nand_ids.c +++ b/drivers/mtd/nand/nand_ids.c @@ -7,7 +7,7 @@ * */ #include -#include +#include #include #define LP_OPTIONS NAND_SAMSUNG_LP_OPTIONS diff --git a/drivers/mtd/nand/nand_timings.c b/drivers/mtd/nand/nand_timings.c index 9935557..c0545a4 100644 --- a/drivers/mtd/nand/nand_timings.c +++ b/drivers/mtd/nand/nand_timings.c @@ -10,7 +10,7 @@ */ #include #include -#include +#include static const struct nand_data_interface onfi_sdr_timings[] = { /* Mode 0 */ diff --git a/drivers/mtd/nand/pxa3xx_nand.c b/drivers/mtd/nand/pxa3xx_nand.c index 6ab3c8a..5a9bc42 100644 --- a/drivers/mtd/nand/pxa3xx_nand.c +++ b/drivers/mtd/nand/pxa3xx_nand.c @@ -15,7 +15,7 @@ #include #include #include -#include +#include #include #include "pxa3xx_nand.h" diff --git a/drivers/mtd/nand/sunxi_nand.c b/drivers/mtd/nand/sunxi_nand.c index 8bc3828..532e03c 100644 --- a/drivers/mtd/nand/sunxi_nand.c +++ b/drivers/mtd/nand/sunxi_nand.c @@ -32,7 +32,7 @@ #include #include -#include +#include #include #include diff --git a/drivers/mtd/nand/vf610_nfc.c b/drivers/mtd/nand/vf610_nfc.c index f99bdaf..dd53f2b 100644 --- a/drivers/mtd/nand/vf610_nfc.c +++ b/drivers/mtd/nand/vf610_nfc.c @@ -26,7 +26,7 @@ #include #include -#include +#include #include #include diff --git a/drivers/mtd/nand/zynq_nand.c b/drivers/mtd/nand/zynq_nand.c index 076b878..6494196 100644 --- a/drivers/mtd/nand/zynq_nand.c +++ b/drivers/mtd/nand/zynq_nand.c @@ -13,7 +13,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/fs/yaffs2/yaffs_mtdif.c b/fs/yaffs2/yaffs_mtdif.c index 636c777..d338f9a 100644 --- a/fs/yaffs2/yaffs_mtdif.c +++ b/fs/yaffs2/yaffs_mtdif.c @@ -22,7 +22,7 @@ #include #include #include -#include +#include static inline void translate_spare2oob(const struct yaffs_spare *spare, u8 *oob) diff --git a/include/linux/mtd/fsl_upm.h b/include/linux/mtd/fsl_upm.h index 0a949bc..a023860 100644 --- a/include/linux/mtd/fsl_upm.h +++ b/include/linux/mtd/fsl_upm.h @@ -10,7 +10,7 @@ #ifndef __LINUX_MTD_NAND_FSL_UPM #define __LINUX_MTD_NAND_FSL_UPM -#include +#include #define FSL_UPM_WAIT_RUN_PATTERN 0x1 #define FSL_UPM_WAIT_WRITE_BYTE 0x2 diff --git a/include/linux/mtd/fsmc_nand.h b/include/linux/mtd/fsmc_nand.h index f0f7727..bc3db03 100644 --- a/include/linux/mtd/fsmc_nand.h +++ b/include/linux/mtd/fsmc_nand.h @@ -8,7 +8,7 @@ #ifndef __FSMC_NAND_H__ #define __FSMC_NAND_H__ -#include +#include struct fsmc_regs { u32 ctrl; /* 0x00 */ diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/rawnand.h similarity index 99% rename from include/linux/mtd/nand.h rename to include/linux/mtd/rawnand.h index d1db34c..192709b 100644 --- a/include/linux/mtd/nand.h +++ b/include/linux/mtd/rawnand.h @@ -1,6 +1,4 @@ /* - * linux/include/linux/mtd/nand.h - * * Copyright © 2000-2010 David Woodhouse * Steven J. Hill * Thomas Gleixner @@ -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 @@ -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 */ diff --git a/include/nand.h b/include/nand.h index c1c1d8c..cead563 100644 --- a/include/nand.h +++ b/include/nand.h @@ -32,7 +32,7 @@ unsigned long nand_size(void); #include #include -#include +#include int nand_mtd_to_devnum(struct mtd_info *mtd); From patchwork Thu Nov 30 04:45:25 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 120070 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp221475qgn; Wed, 29 Nov 2017 20:46:00 -0800 (PST) X-Google-Smtp-Source: AGs4zMajnoG/5ZglBlTlAnlITksTn2Im+LECu/2gm6xb1vG/uWTDZWNFIEILe6M6JNaGVnb2mZFB X-Received: by 10.80.130.36 with SMTP id 33mr11272232edf.252.1512017160200; Wed, 29 Nov 2017 20:46:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512017160; cv=none; d=google.com; s=arc-20160816; b=qn720DUPHTxnRnr3FoGInFmMsBaAFtLl+L1EfJaExjsPdHUqDfHUR0jXOtRmrHhwdK DfUu45EWfYHxgnOGFE7HTpfzjUnUt827+Ixkpsq3dP5cBgaaSWzQgA57jjtqjYpE5KFd NRH5rtNqcIzN2c8pXnWQX3+piI+HTkOHU/0oGlcEf579xIwF/aFt/8b9TTFgEuwZaD9k XN87qQcaMWbxLktDh54KvyFTklW5vCtIDZazjWjTzffVSgksOVWloUJ7BF253FmYYy3I dQKp76gFgVmnWXIq6G7m4ZL1mnNVfaywd5JyvLMNhWczOR/mEgoNZOduLPFbL/SgE1vv wZ6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:references:in-reply-to:message-id :date:to:from:dkim-signature:dkim-filter:arc-authentication-results; bh=1yEL0FN8RHDLJgr65FYD3ulaPiHc0VSta0cukAY8qNE=; b=MfxnTLNq6TEcwXotB9aG8o0qKAinPHfkDnaJ7XOF3aNBidou+0EgasORJkIGhgJbO4 p64Ioi2Gui7ZhIZMY05aVsbNP1124/tp3fiFgLbIRz0X5ilSg7Z9pNJtTg1dmnnFxUE7 oyvhc+ivq2rQ8Pr2amLs16ABoVQqKAv/zNlkKci593uujP1BZ0QkN4+0bGNIpwEVJihO km3tjYmAa1MRAO2t+Gw4Nx4074tmyKC0K/+JqeD11CXFEWRPktRYag5eV/f1FirX9uqx BSVmEZ2yVs+NSQMmTgXXQF0B59Ek36oMRSllR24lm5UrgYFa/3LUdbU+33mYWPeDMMSI xj/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=LAddvLCJ; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id h8si3037959edj.370.2017.11.29.20.45.59; Wed, 29 Nov 2017 20:46:00 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=LAddvLCJ; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by lists.denx.de (Postfix, from userid 105) id CBE42C21E91; Thu, 30 Nov 2017 04:45:58 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id C922FC21DBB; Thu, 30 Nov 2017 04:45:56 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 50363C21DBB; Thu, 30 Nov 2017 04:45:55 +0000 (UTC) Received: from conuserg-07.nifty.com (conuserg-07.nifty.com [210.131.2.74]) by lists.denx.de (Postfix) with ESMTPS id 31E0DC21DB5 for ; Thu, 30 Nov 2017 04:45:53 +0000 (UTC) Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-07.nifty.com with ESMTP id vAU4jfH0011804; Thu, 30 Nov 2017 13:45:43 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-07.nifty.com vAU4jfH0011804 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1512017143; bh=MXMZt1iMdWjtnmGd8mPDurpVJOwmaAvl6iFWKd7/taU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LAddvLCJKNj+fmkyIWHdskHLkXF8exIIsx5iDJzlCE/rXBoKNRCJnPH5r3keGGF8v 0zoQCc8fMngSyqt1aQXQ1cifMgSO6pMzg80py1Cfiopf1nfZlPpwQc8YOlp+bPb886 /8CS14JV5EutkXCsqRtksUgZubF7s7xr3hvfMiKwRvguRCpsNBqPn+5U6LYBAKC2Ub rvvP9ZYY7g22iyXjnuKvyWoCVFf0tfoY3QnvyfNsuGQZwr7vcb2rQVOOeMrLpPNYpB sNajVX+JSy7jJAE2oCqK1HLSVgytMZ18CqldmqWzGqGFoCu6UpuZMhrVhYmNVD7aIh DD4hnJUvxaTLw== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Thu, 30 Nov 2017 13:45:25 +0900 Message-Id: <1512017127-10986-2-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1512017127-10986-1-git-send-email-yamada.masahiro@socionext.com> References: <1512017127-10986-1-git-send-email-yamada.masahiro@socionext.com> Cc: Marek Vasut , Scott Wood Subject: [U-Boot] [PATCH 2/4] mtd: nand: include from include/linux/mtd/rawnand.h X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" This is needed for ARCH_DMA_MINALIGN. Signed-off-by: Masahiro Yamada --- include/linux/mtd/rawnand.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/mtd/rawnand.h b/include/linux/mtd/rawnand.h index 192709b..6c3e838 100644 --- a/include/linux/mtd/rawnand.h +++ b/include/linux/mtd/rawnand.h @@ -20,6 +20,7 @@ #include #include #include +#include struct mtd_info; struct nand_flash_dev; From patchwork Thu Nov 30 04:45:26 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 120072 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp223054qgn; Wed, 29 Nov 2017 20:48:06 -0800 (PST) X-Google-Smtp-Source: AGs4zMagUU8wR5PrQz4LX9TD3deRuipMlxClLC2+FE1VjfxMdnaiIqm2CLqFy2CoE8p7ksnaBIR0 X-Received: by 10.80.140.176 with SMTP id q45mr11515046edq.186.1512017285992; Wed, 29 Nov 2017 20:48:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512017285; cv=none; d=google.com; s=arc-20160816; b=W6CrhB3NJ5Cz7wW3MEawf8PZVV1yvVglU6cMAeOctjo0feFbMhoZAPY0pppI8LfqHQ mPVo6ksEH3I+MCpYYn25AQDhxSit667IQvWf6zbS0rYgk1kubmyKXbdl4WRPOfDGB+3k 2ssUkO36EIi9oxteCYIiagwzAa5GAgakYqmKt+4O2ZHUWWdeDM1SATK9IY1oO7Cu8cQr RFKGsfzaNJXQV8t1P2kE0jHmK/RY0y368SLRe4g2pdWd/7PH5KF5E7cvcfx3Ns+MUBqb MuFjJ3hwLvTPQrZThs4mFSBlYs9+92ObMiZCNOjWM3U+VlLlMMtRYIsOImdFVcss0VbL /rQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:references:in-reply-to:message-id :date:to:from:dkim-signature:dkim-filter:arc-authentication-results; bh=jf2tQF9RPOJlczN2nRhe03lni8geX6ATQP2qctVg4tg=; b=Qe3/+VO/5KEz49Sv/Rh2Lzo3ZUFN2c/fpDvp12hAs0YuAYpBgDaBo/Dbfe0vnp9P3G xmn6Zr+OtcbrQTS6lqpjBHQJKoerRzcPbJsxiFdr4AIom89o9QgH/Kjjg7WLfqBPvzL1 dw5RMubs7xyjjlMaS1hCBiu4/Lra2Gm1x2B0o+bSO5cyohjdD6hmC07ef5OGlBKPx2Wl NeZSfuCAgPJwMJ+ANiJgqeCZ56lVYySYm1gWsfQn38vyDE8iNDF/mKMZwc8dD68oEerS Fc00AydMR93Z5jxJLc5wBPyeKHxUJjpCLJS4woL5hj0pM5tk2m1HxeFLQL4EdV0eoznL +dOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=ucXEAi/9; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id n92si3052772edc.339.2017.11.29.20.48.05; Wed, 29 Nov 2017 20:48:05 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=ucXEAi/9; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by lists.denx.de (Postfix, from userid 105) id 844CDC21E8E; Thu, 30 Nov 2017 04:46:47 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 1FC7FC21E99; Thu, 30 Nov 2017 04:46:28 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 55FD4C21E5D; Thu, 30 Nov 2017 04:46:13 +0000 (UTC) Received: from conuserg-07.nifty.com (conuserg-07.nifty.com [210.131.2.74]) by lists.denx.de (Postfix) with ESMTPS id B43C1C21E79 for ; Thu, 30 Nov 2017 04:46:07 +0000 (UTC) Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-07.nifty.com with ESMTP id vAU4jfH1011804; Thu, 30 Nov 2017 13:45:43 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-07.nifty.com vAU4jfH1011804 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1512017144; bh=WXGje9Ugutyy9DKsYqJTciIa2JihbDT9sK5fwoVKg3Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ucXEAi/9OEkAU48gpOUdtnxqkQoxgLaBa8gpKLilwNc9Gk0oF4vE+LejuTwpfpgnk 22l93VYpfPA+GiPP464o9L/l13Y0JOovTEmK/1OHBo/86iq8K+UHRaHn8w/eZ6Nooz Fqf1X3acPORrnrYB/QfMfz54sh/22MpSfkDlGjAFcbwyjCKRlK7hCF9W3E60g+B0RT Y2a9PCbXhOLHcwKg8VVxr4YOsqYLlpQFoiNqxac2dHAWI8eYf+9wXM4JbCPWPkVk2L 2KKVDexQHX9A49/jj06r6z6JKMJLn0cMM7rQK4w9Y3wz/Reb9rbrNmwpZX3Nt661HJ QJIBN5Vu1xsAQ== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Thu, 30 Nov 2017 13:45:26 +0900 Message-Id: <1512017127-10986-3-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1512017127-10986-1-git-send-email-yamada.masahiro@socionext.com> References: <1512017127-10986-1-git-send-email-yamada.masahiro@socionext.com> Cc: Marek Vasut , Scott Wood , Scott Wood Subject: [U-Boot] [PATCH 3/4] mtd: nand: denali_dt: replace printf() with pr_err() X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" The Linux derived log functions can be used anywhere and easily turned on/off by CONFIG_LOGLEVEL. Signed-off-by: Masahiro Yamada --- drivers/mtd/nand/denali_dt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/nand/denali_dt.c b/drivers/mtd/nand/denali_dt.c index 9d6cb09..c96512f 100644 --- a/drivers/mtd/nand/denali_dt.c +++ b/drivers/mtd/nand/denali_dt.c @@ -5,11 +5,11 @@ * SPDX-License-Identifier: GPL-2.0+ */ -#include #include #include #include #include +#include #include "denali.h" @@ -118,6 +118,6 @@ void board_nand_init(void) DM_GET_DRIVER(denali_nand_dt), &dev); if (ret && ret != -ENODEV) - printf("Failed to initialize Denali NAND controller. (error %d)\n", + pr_err("Failed to initialize Denali NAND controller. (error %d)\n", ret); } From patchwork Thu Nov 30 04:45:27 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 120071 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp222053qgn; Wed, 29 Nov 2017 20:46:48 -0800 (PST) X-Google-Smtp-Source: AGs4zMb9iBgeeU6NWtipn26O1YIphh+Jp9246JpvMJkxpRlpWa5P1O3e1nmwAdNU2EzJ/L95hm8m X-Received: by 10.80.163.138 with SMTP id s10mr10680194edb.302.1512017208557; Wed, 29 Nov 2017 20:46:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512017208; cv=none; d=google.com; s=arc-20160816; b=U3Up9veiwSHgmmSFqjDJKBw27/+ioJ77jvkk4ra1ORV4Hm0H0SUJANaxebN/EC83qC gSHcxrflEyH72jAuyQWPy7e6E9q01UvKBzxLwpmIDXy/HzIG2jmGz5a5aPsiCgtjs6yR lmt1nrVh8MUfEy5AE+Q+FgdoNipMCZmqh6nmM7RAsF7hsWwp48R6+lIpIvUZWfckvV0C I95OcRVp8GvzuS4IR9k6QkrWJy2dNPIQA0CYvwSoCfMAxr/bahGOpXqrqzZb3a6XlnWr iyRfvRa2ejJx2w64Uiw6XzCMjQIMPVbQcXAlV9fyyO2n9smXK7buBRLnQpq6Z8zkWnXE GbVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:references:in-reply-to:message-id :date:to:from:dkim-signature:dkim-filter:arc-authentication-results; bh=3cnhqT6AEwoh9qG6xtBokqhEqYZM4oXH8p4QZCO2Uhw=; b=s3z6Rh17kRqWTqDXXitE6NtiV2eY7DeIpiPNT4CBMoMg+Gp7eMEs+zW/A0V7hpnj8P ixtNm4pnTjoccZk4TbCj+1NAjM5Wet2pl1rkhTJlKIwL7vQMeX4zVoExjh/sNjdXWfEo IaSZvyd84bv1UFDIILoVx4HIMy8X2if5jVCM7EqYFBNSpsoFFy6l7ypZ820eTO2VZbQh 5dzvEYt88JWvMlOp3oWO+R3SjzwEkewl+yXIUxRAPV8PMOVPZRk3cpCNpFy2qWVTxl+S eOiuBjR1zMpsfUj3o5POg4/pQrpvx7OWIlofXEcihRWK+bN29bxSjBpQ8KKnTRllYuDn duhA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=QLeytHd1; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id c14si1669068edj.440.2017.11.29.20.46.48; Wed, 29 Nov 2017 20:46:48 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=QLeytHd1; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by lists.denx.de (Postfix, from userid 105) id 07994C21E57; Thu, 30 Nov 2017 04:46:28 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id A18ECC21E64; Thu, 30 Nov 2017 04:46:26 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id EB99BC21E41; Thu, 30 Nov 2017 04:46:13 +0000 (UTC) Received: from conuserg-07.nifty.com (conuserg-07.nifty.com [210.131.2.74]) by lists.denx.de (Postfix) with ESMTPS id 247C2C21DBB for ; Thu, 30 Nov 2017 04:46:07 +0000 (UTC) Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-07.nifty.com with ESMTP id vAU4jfH2011804; Thu, 30 Nov 2017 13:45:44 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-07.nifty.com vAU4jfH2011804 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1512017144; bh=5KyOsYu/cNxbfUR4GuXAe1JEFHEMFC1PDpdHALf5Q9c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QLeytHd1E33HAoUaqz3JgaG47bScjNTBDkADKs6OwxTC66tIj3UIyCs4hCg1jwHzo ugkjCLp8ZgCBrjLLWtF6AasKR9Xy222xYbzuBfg52LwjWPawD0E70FsxCr6VIcV1W+ BYIZjOSHIyC/xsY/2SP8+cRYN7xetNcM0YctwsLSslC8OwVSqhpN06+qRSWW2F+hdK j+hDMmKspxaMtokMhZvRzl1Cu8xOz1Fw2i2Q71GtYKoILWa95Us2Fy5zabAUY/i5w9 nQ30DLgaEETXFlp51Q+lEnPmtScYXDpKQhxHMpmYNJukLlTKCx0OCw4VT2dbB6ZGwg NNNH9QXL41QJw== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Thu, 30 Nov 2017 13:45:27 +0900 Message-Id: <1512017127-10986-4-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1512017127-10986-1-git-send-email-yamada.masahiro@socionext.com> References: <1512017127-10986-1-git-send-email-yamada.masahiro@socionext.com> Cc: Marek Vasut , Scott Wood , Scott Wood Subject: [U-Boot] [PATCH 4/4] mtd: nand: denali: consolidate include directives X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Include necessary headers explicitly without relying on indirect header inclusion. , are unneeded. Signed-off-by: Masahiro Yamada --- drivers/mtd/nand/denali.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/mtd/nand/denali.c b/drivers/mtd/nand/denali.c index 8ff2d09..3a67653 100644 --- a/drivers/mtd/nand/denali.c +++ b/drivers/mtd/nand/denali.c @@ -6,14 +6,14 @@ * SPDX-License-Identifier: GPL-2.0+ */ -#include -#include -#include #include +#include #include #include #include #include +#include +#include #include "denali.h"