From patchwork Wed Nov 16 04:03:03 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 695430 X-Patchwork-Delegate: jagannadh.teki@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 3tJW0759btz9syB for ; Wed, 16 Nov 2016 15:06:15 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 5947BB3835; Wed, 16 Nov 2016 05:05:04 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rXjvPiaqkKYd; Wed, 16 Nov 2016 05:05:04 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 159A3B3837; Wed, 16 Nov 2016 05:04:51 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id DF4EEA75C3 for ; Wed, 16 Nov 2016 05:04:47 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VkMsnxgB4NdB for ; Wed, 16 Nov 2016 05:04:47 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-pg0-f68.google.com (mail-pg0-f68.google.com [74.125.83.68]) by theia.denx.de (Postfix) with ESMTPS id 1419AA7636 for ; Wed, 16 Nov 2016 05:04:33 +0100 (CET) Received: by mail-pg0-f68.google.com with SMTP id p66so13504991pga.2 for ; Tue, 15 Nov 2016 20:04:33 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=qk5+Sz3T4iaC4tFZU57KKVkwLY5dBUDE46D8X4njoBU=; b=XajwA/SDk825TVLejwHsrr5b+eoVGJIaHer4phRU0X1JWI1g7qF/CC+ZsA+I/03kaf Z3Gj/72xe4qM6c+TJPHJIFpjKb1THpD8ZKCuvhE/C5+Ka3+f8SdHGCEHQtoPFrPOomKN vQH+SluCMad9COkWfZ6z9SrCdO5FCEgqesVtxnEiVCwnTUjC+VZ02y6PG/+abdXkCEq6 8Kml9DHPmP7q5kpf9YsDlttLdswbXLUTmZhQXE++xCPIiUVtiOyFy7WsHuwWsfgyR/5Y FEJKXNUeCuM/Uspqh6+PEAPsOfobY+DqIZvZKYa46QfRUWtmJ2makgQx05piEaQfzgNp dr0g== X-Gm-Message-State: ABUngvf8b8WaZ9ODsxJ4EEHpropxHMS0id6LWzY5IuaJG7JfVyU0rXdWdGEtjjKKRcjdXA== X-Received: by 10.99.204.81 with SMTP id q17mr3655078pgi.168.1479269071879; Tue, 15 Nov 2016 20:04:31 -0800 (PST) Received: from localhost.localdomain ([115.97.183.210]) by smtp.gmail.com with ESMTPSA id q145sm25217663pfq.22.2016.11.15.20.04.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 15 Nov 2016 20:04:30 -0800 (PST) From: Jagan Teki To: u-boot@lists.denx.de Date: Wed, 16 Nov 2016 09:33:03 +0530 Message-Id: <1479268992-26811-13-git-send-email-jagan@openedev.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1479268992-26811-1-git-send-email-jagan@openedev.com> References: <1479268992-26811-1-git-send-email-jagan@openedev.com> Cc: Michal Simek , Siva Durga Prasad Paladugu , Jagan Teki Subject: [U-Boot] [PATCH v6 12/21] sf: Rename sf_params.c to spi_flash_ids.c X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 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" Now the flash params table as renamed to spi_flash_ids structure, so rename the sf_params.c to spi_flash_ids.c and remove the legacy. Cc: Bin Meng Cc: York Sun Cc: Vignesh R Cc: Mugunthan V N Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki Reviewed-by: Jagan Teki Tested-by: Jagan Teki Reviewed-by: Siva Durga Prasad Paladugu --- doc/device-tree-bindings/mtd/spi/spi-flash.txt | 2 +- drivers/mtd/spi/Makefile | 2 +- drivers/mtd/spi/{sf_params.c => spi_flash_ids.c} | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) rename drivers/mtd/spi/{sf_params.c => spi_flash_ids.c} (99%) diff --git a/doc/device-tree-bindings/mtd/spi/spi-flash.txt b/doc/device-tree-bindings/mtd/spi/spi-flash.txt index 85522d8..3327890 100644 --- a/doc/device-tree-bindings/mtd/spi/spi-flash.txt +++ b/doc/device-tree-bindings/mtd/spi/spi-flash.txt @@ -6,7 +6,7 @@ Required properties: - compatible : Should be the manufacturer and the name of the chip. Bear in mind that the DT binding is not U-Boot-only, but in case of U-Boot, see spi_flash_params_table table in - drivers/mtd/spi/sf_params.c for the list of supported chips. + drivers/mtd/spi/spi_flash_ids.c for the list of supported chips. - reg : Chip-Select number - spi-max-frequency : Maximum frequency of the SPI bus the chip can operate at diff --git a/drivers/mtd/spi/Makefile b/drivers/mtd/spi/Makefile index f3dc409..fcda023 100644 --- a/drivers/mtd/spi/Makefile +++ b/drivers/mtd/spi/Makefile @@ -12,7 +12,7 @@ obj-$(CONFIG_SPL_SPI_BOOT) += fsl_espi_spl.o obj-$(CONFIG_SPL_SPI_SUNXI) += sunxi_spi_spl.o endif -obj-$(CONFIG_SPI_FLASH) += sf_probe.o spi_flash.o sf_params.o sf.o +obj-$(CONFIG_SPI_FLASH) += sf_probe.o spi_flash.o spi_flash_ids.o sf.o obj-$(CONFIG_SPI_FLASH_DATAFLASH) += sf_dataflash.o obj-$(CONFIG_SPI_FLASH_MTD) += sf_mtd.o obj-$(CONFIG_SPI_FLASH_SANDBOX) += sandbox.o diff --git a/drivers/mtd/spi/sf_params.c b/drivers/mtd/spi/spi_flash_ids.c similarity index 99% rename from drivers/mtd/spi/sf_params.c rename to drivers/mtd/spi/spi_flash_ids.c index 05cedf1..655ed01 100644 --- a/drivers/mtd/spi/sf_params.c +++ b/drivers/mtd/spi/spi_flash_ids.c @@ -1,6 +1,7 @@ /* - * SPI flash Params table + * SPI Flash ID's. * + * Copyright (C) 2016 Jagan Teki * Copyright (C) 2013 Jagannadha Sutradharudu Teki, Xilinx Inc. * * SPDX-License-Identifier: GPL-2.0+