]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
soft_spi: move to drivers/spi
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Thu, 28 Aug 2008 10:31:51 +0000 (12:31 +0200)
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Fri, 29 Aug 2008 10:25:02 +0000 (12:25 +0200)
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
common/Makefile
drivers/spi/Makefile
drivers/spi/soft_spi.c [moved from common/soft_spi.c with 100% similarity]

index faeac86dc1d8c57bc5e3845f0580753f2c40205f..3e4829f475642f027155d68a3ffb8b6f5cb56f08 100644 (file)
@@ -137,7 +137,6 @@ COBJS-$(CONFIG_BITBANGMII) += miiphybb.o
 COBJS-y += miiphyutil.o
 COBJS-y += s_record.o
 COBJS-y += serial.o
-COBJS-$(CONFIG_SOFT_SPI) += soft_spi.o
 ifdef CONFIG_CMD_USB
 COBJS-y += usb.o
 COBJS-$(CONFIG_USB_STORAGE) += usb_storage.o
index 4f7b679eeb2f86e48ec6c571bfa6e0b2004d2c06..15e0f7a66ddf790b1acb6a69f878ac84394d492a 100644 (file)
@@ -25,9 +25,10 @@ include $(TOPDIR)/config.mk
 
 LIB    := $(obj)libspi.a
 
-COBJS-$(CONFIG_MPC8XXX_SPI) += mpc8xxx_spi.o
 COBJS-$(CONFIG_ATMEL_SPI) += atmel_spi.o
+COBJS-$(CONFIG_MPC8XXX_SPI) += mpc8xxx_spi.o
 COBJS-$(CONFIG_MXC_SPI) += mxc_spi.o
+COBJS-$(CONFIG_SOFT_SPI) += soft_spi.o
 
 COBJS  := $(COBJS-y)
 SRCS   := $(COBJS:.o=.c)
similarity index 100%
rename from common/soft_spi.c
rename to drivers/spi/soft_spi.c