From e8314035996a9118ac5948df2ff8a2f2161ed67a Mon Sep 17 00:00:00 2001 From: Jean-Christophe PLAGNIOL-VILLARD Date: Thu, 28 Aug 2008 12:31:51 +0200 Subject: [PATCH] soft_spi: move to drivers/spi Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- common/Makefile | 1 - drivers/spi/Makefile | 3 ++- {common => drivers/spi}/soft_spi.c | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename {common => drivers/spi}/soft_spi.c (100%) 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 -- 2.39.5