x86: mmc: Move common FSP functions into a common file
authorSimon Glass <sjg@chromium.org>
Wed, 28 Jan 2015 05:13:39 +0000 (22:13 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 6 Feb 2015 19:07:36 +0000 (12:07 -0700)
commit91785f70b9b7ebfd1a2da4772a8268b36f58fa3d
tree648c8dd82f5d7f8a10b0083a631b6c8dfb56d440
parent7b02bf3c7dc74ab29e5c5f826cc0cfd141e41f2d
x86: mmc: Move common FSP functions into a common file

Since these board functions seem to be the same for all boards which use
FSP, move them into a common file. We can adjust this later if future FSPs
need more flexibility.

This creates a generic PCI MMC device.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/queensbay/tnc.c
arch/x86/cpu/queensbay/tnc_pci.c
arch/x86/cpu/queensbay/topcliff.c
arch/x86/lib/fsp/Makefile
arch/x86/lib/fsp/fsp_common.c [new file with mode: 0644]
drivers/mmc/Makefile
drivers/mmc/pci_mmc.c [new file with mode: 0644]
include/mmc.h