From cba65a77c4e75d6e1e3dcaa65b7d509f1a2bb95e Mon Sep 17 00:00:00 2001 From: Jagan Teki Date: Sun, 6 Dec 2015 23:29:02 +0530 Subject: [PATCH] sf: Rename sf_ops.c to spi-flash.c Since all spi-flash core operations are moved into sf_ops.c then it's better to renamed as spi-flash.c Reviewed-by: Bin Meng Reviewed-by: Simon Glass Signed-off-by: Jagan Teki --- drivers/mtd/spi/Makefile | 2 +- drivers/mtd/spi/{sf_ops.c => spi_flash.c} | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) rename drivers/mtd/spi/{sf_ops.c => spi_flash.c} (99%) diff --git a/drivers/mtd/spi/Makefile b/drivers/mtd/spi/Makefile index a24f7612ac..c665836f95 100644 --- a/drivers/mtd/spi/Makefile +++ b/drivers/mtd/spi/Makefile @@ -12,7 +12,7 @@ obj-$(CONFIG_SPL_SPI_LOAD) += spi_spl_load.o obj-$(CONFIG_SPL_SPI_BOOT) += fsl_espi_spl.o endif -obj-$(CONFIG_SPI_FLASH) += sf_probe.o sf_ops.o sf_params.o sf.o +obj-$(CONFIG_SPI_FLASH) += sf_probe.o spi_flash.o sf_params.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_ops.c b/drivers/mtd/spi/spi_flash.c similarity index 99% rename from drivers/mtd/spi/sf_ops.c rename to drivers/mtd/spi/spi_flash.c index c065858be0..7ffa136f5a 100644 --- a/drivers/mtd/spi/sf_ops.c +++ b/drivers/mtd/spi/spi_flash.c @@ -1,9 +1,10 @@ /* - * SPI flash operations + * SPI Flash Core * - * Copyright (C) 2008 Atmel Corporation - * Copyright (C) 2010 Reinhard Meyer, EMK Elektronik + * Copyright (C) 2015 Jagan Teki * Copyright (C) 2013 Jagannadha Sutradharudu Teki, Xilinx Inc. + * Copyright (C) 2010 Reinhard Meyer, EMK Elektronik + * Copyright (C) 2008 Atmel Corporation * * SPDX-License-Identifier: GPL-2.0+ */ -- 2.25.1