summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-08-28 12:31:51 +0200
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-08-29 12:25:02 +0200
commite8314035996a9118ac5948df2ff8a2f2161ed67a (patch)
treeb0d963fb81e73a68759de90b3d2968973c22e8f0
parent4d75e0aa9caca64d4a1d55d95cd1ca5f30d9fc56 (diff)
soft_spi: move to drivers/spi
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-rw-r--r--common/Makefile1
-rw-r--r--drivers/spi/Makefile3
-rw-r--r--drivers/spi/soft_spi.c (renamed from common/soft_spi.c)0
3 files changed, 2 insertions, 2 deletions
diff --git a/common/Makefile b/common/Makefile
index faeac86dc1..3e4829f475 100644
--- a/common/Makefile
+++ b/common/Makefile
@@ -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
diff --git a/drivers/spi/Makefile b/drivers/spi/Makefile
index 4f7b679eeb..15e0f7a66d 100644
--- a/drivers/spi/Makefile
+++ b/drivers/spi/Makefile
@@ -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)
diff --git a/common/soft_spi.c b/drivers/spi/soft_spi.c
index 25b589ad7c..25b589ad7c 100644
--- a/common/soft_spi.c
+++ b/drivers/spi/soft_spi.c