drivers/mmc: move spl_mmc.c to common/spl
authorYing Zhang <b40530@freescale.com>
Thu, 9 May 2013 23:00:36 +0000 (23:00 +0000)
committerTom Rini <trini@ti.com>
Wed, 15 May 2013 12:41:03 +0000 (08:41 -0400)
commitade8a1a6d32036381776270ebe9980473c25c821
tree33cdb8a39dc315eddb70f8e109d5fb52287f6d11
parentbee0dc2fec422175f2f23e2ed35152b40788a055
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>
common/spl/Makefile
common/spl/spl_mmc.c [new file with mode: 0644]
drivers/mmc/Makefile
drivers/mmc/spl_mmc.c [deleted file]