Răsfoiți Sursa

sf: Rename spi_flash files

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>
Jagannadha Sutradharudu Teki 11 ani în urmă
părinte
comite
898e76c938

+ 2 - 2
drivers/mtd/spi/Makefile

@@ -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
 

+ 0 - 0
drivers/mtd/spi/spi_flash.c → drivers/mtd/spi/sf.c


+ 0 - 0
drivers/mtd/spi/spi_flash_internal.h → drivers/mtd/spi/sf_internal.h


+ 1 - 1
drivers/mtd/spi/spi_flash_ops.c → 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)
 {

+ 1 - 1
drivers/mtd/spi/spi_flash_probe.c → 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;