]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
sf: Rename spi_flash files
authorJagannadha Sutradharudu Teki <jaganna@xilinx.com>
Thu, 26 Sep 2013 10:30:15 +0000 (16:00 +0530)
committerJagannadha Sutradharudu Teki <jaganna@xilinx.com>
Mon, 7 Oct 2013 12:25:50 +0000 (17:55 +0530)
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>
drivers/mtd/spi/Makefile
drivers/mtd/spi/sf.c [moved from drivers/mtd/spi/spi_flash.c with 100% similarity]
drivers/mtd/spi/sf_internal.h [moved from drivers/mtd/spi/spi_flash_internal.h with 100% similarity]
drivers/mtd/spi/sf_ops.c [moved from drivers/mtd/spi/spi_flash_ops.c with 99% similarity]
drivers/mtd/spi/sf_probe.c [moved from drivers/mtd/spi/spi_flash_probe.c with 99% similarity]

index 0fa867db4c2f5fecf2f8c6f2c946d62b35e51bfd..86ffc59d039ecb040eab8c2a2a770c4571cb30f7 100644 (file)
@@ -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 99%
rename from drivers/mtd/spi/spi_flash_ops.c
rename to drivers/mtd/spi/sf_ops.c
index 882c8f5f5c5fddab8baba89a25b17295eff23246..c009af5c208f023805701cf37c192068fc004138 100644 (file)
@@ -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
index e9fd013234c9b76b334fe6935af533eab96eb0c1..8f56c63bf17445d825c4e69745cce1b3ef0000f6 100644 (file)
@@ -14,7 +14,7 @@
 #include <spi.h>
 #include <spi_flash.h>
 
-#include "spi_flash_internal.h"
+#include "sf_internal.h"
 
 DECLARE_GLOBAL_DATA_PTR;