summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/Makefile
diff options
context:
space:
mode:
authorYing Zhang <b40530@freescale.com>2013-05-09 23:00:36 +0000
committerTom Rini <trini@ti.com>2013-05-15 08:41:03 -0400
commitade8a1a6d32036381776270ebe9980473c25c821 (patch)
tree33cdb8a39dc315eddb70f8e109d5fb52287f6d11 /drivers/mmc/Makefile
parentbee0dc2fec422175f2f23e2ed35152b40788a055 (diff)
downloadblackbird-obmc-uboot-ade8a1a6d32036381776270ebe9980473c25c821.tar.gz
blackbird-obmc-uboot-ade8a1a6d32036381776270ebe9980473c25c821.zip
drivers/mmc: move spl_mmc.c to common/spl
The mpc85xx repuires a special layout on the memory device that is connected to the eSDHC controller interface. But the file spl_mmc.c didn't handle this specfic case, there needs a special treatmen, in the powerpc drictory. So, there is no longer to keep spl_mmc.c on mpc85xx, CONFIG_SPL_FRAMEWORK is not set. When CONFIG_SPL_MMC_SUPPORT is set and CONFIG_SPL_FRAMEWORK is not set, there was an error in drivers/mmc/spl_mmc.c: drivers/mmc/libmmc.o:(.got2+0x8): undefined reference to `spl_image'. Now, the solution is to move the file "spl_mmc.c" to directory "common/spl". Signed-off-by: Ying Zhang <b40530@freescale.com>
Diffstat (limited to 'drivers/mmc/Makefile')
-rw-r--r--drivers/mmc/Makefile3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/mmc/Makefile b/drivers/mmc/Makefile
index fb6b502dca..196ef9b8e8 100644
--- a/drivers/mmc/Makefile
+++ b/drivers/mmc/Makefile
@@ -25,9 +25,6 @@ include $(TOPDIR)/config.mk
LIB := $(obj)libmmc.o
-ifdef CONFIG_SPL_BUILD
-COBJS-$(CONFIG_SPL_MMC_SUPPORT) += spl_mmc.o
-endif
COBJS-$(CONFIG_BFIN_SDH) += bfin_sdh.o
COBJS-$(CONFIG_DAVINCI_MMC) += davinci_mmc.o
OpenPOWER on IntegriCloud