@@ -15,9 +15,9 @@ COBJS-$(CONFIG_SPL_SPI_BOOT) += fsl_espi_spl.o
endif
ifdef CONFIG_CMD_SF
-COBJS-y += spi_flash.o
+COBJS-y += sf.o
endif
-COBJS-$(CONFIG_SPI_FLASH) += spi_flash_probe.o spi_flash_ops.o
+COBJS-$(CONFIG_SPI_FLASH) += sf_probe.o sf_ops.o
COBJS-$(CONFIG_SPI_FRAM_RAMTRON) += ramtron.o
COBJS-$(CONFIG_SPI_M95XXX) += eeprom_m95xxx.o
similarity index 100%
rename from drivers/mtd/spi/spi_flash.c
rename to drivers/mtd/spi/sf.c
similarity index 100%
rename from drivers/mtd/spi/spi_flash_internal.h
rename to drivers/mtd/spi/sf_internal.h
similarity index 99%
rename from drivers/mtd/spi/spi_flash_ops.c
rename to drivers/mtd/spi/sf_ops.c
@@ -13,7 +13,7 @@
#include <spi_flash.h>
#include <watchdog.h>
-#include "spi_flash_internal.h"
+#include "sf_internal.h"
static void spi_flash_addr(u32 addr, u8 *cmd)
{
similarity index 99%
rename from drivers/mtd/spi/spi_flash_probe.c
rename to drivers/mtd/spi/sf_probe.c
@@ -14,7 +14,7 @@
#include <spi.h>
#include <spi_flash.h>
-#include "spi_flash_internal.h"
+#include "sf_internal.h"
DECLARE_GLOBAL_DATA_PTR;
Renamed: spi_flash.c -> sf.c spi_flash_internal.h -> sf_internal.h spi_flash_ops.c -> sf_ops.c spi_flash_probe.c -> sf_probe.c Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com> --- Changes for v5: - none Changes for v4: - none Changes for v3: - none Changes for v2: - none drivers/mtd/spi/Makefile | 4 ++-- drivers/mtd/spi/{spi_flash.c => sf.c} | 0 drivers/mtd/spi/{spi_flash_internal.h => sf_internal.h} | 0 drivers/mtd/spi/{spi_flash_ops.c => sf_ops.c} | 2 +- drivers/mtd/spi/{spi_flash_probe.c => sf_probe.c} | 2 +- 5 files changed, 4 insertions(+), 4 deletions(-) rename drivers/mtd/spi/{spi_flash.c => sf.c} (100%) rename drivers/mtd/spi/{spi_flash_internal.h => sf_internal.h} (100%) rename drivers/mtd/spi/{spi_flash_ops.c => sf_ops.c} (99%) rename drivers/mtd/spi/{spi_flash_probe.c => sf_probe.c} (99%)