From: Jean-Christophe PLAGNIOL-VILLARD Date: Thu, 28 Aug 2008 10:31:51 +0000 (+0200) Subject: soft_spi: move to drivers/spi X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=e8314035996a9118ac5948df2ff8a2f2161ed67a;p=u-boot.git soft_spi: move to drivers/spi Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- 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 similarity index 100% rename from common/soft_spi.c rename to drivers/spi/soft_spi.c