[U-Boot] [PATCH v5 31/32] sf: Rename spi_flash files

Jagannadha Sutradharudu Teki jagannadha.sutradharudu-teki at xilinx.com
Wed Oct 2 18:50:41 CEST 2013


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 at 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%)

diff --git a/drivers/mtd/spi/Makefile b/drivers/mtd/spi/Makefile
index 0fa867d..86ffc59 100644
--- a/drivers/mtd/spi/Makefile
+++ b/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
 
diff --git a/drivers/mtd/spi/spi_flash.c b/drivers/mtd/spi/sf.c
similarity index 100%
rename from drivers/mtd/spi/spi_flash.c
rename to drivers/mtd/spi/sf.c
diff --git a/drivers/mtd/spi/spi_flash_internal.h b/drivers/mtd/spi/sf_internal.h
similarity index 100%
rename from drivers/mtd/spi/spi_flash_internal.h
rename to drivers/mtd/spi/sf_internal.h
diff --git a/drivers/mtd/spi/spi_flash_ops.c b/drivers/mtd/spi/sf_ops.c
similarity index 99%
rename from drivers/mtd/spi/spi_flash_ops.c
rename to drivers/mtd/spi/sf_ops.c
index 882c8f5..c009af5 100644
--- a/drivers/mtd/spi/spi_flash_ops.c
+++ b/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)
 {
diff --git a/drivers/mtd/spi/spi_flash_probe.c b/drivers/mtd/spi/sf_probe.c
similarity index 99%
rename from drivers/mtd/spi/spi_flash_probe.c
rename to drivers/mtd/spi/sf_probe.c
index e9fd013..8f56c63 100644
--- a/drivers/mtd/spi/spi_flash_probe.c
+++ b/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;
 
-- 
1.8.3




More information about the U-Boot mailing list