mmc: gen_atmel_mci: add driver model support for mci
authorWenyou Yang <wenyou.yang@atmel.com>
Thu, 13 Apr 2017 02:29:22 +0000 (10:29 +0800)
committerJaehoon Chung <jh80.chung@samsung.com>
Fri, 14 Apr 2017 06:19:57 +0000 (15:19 +0900)
commitc86c0155dcfbb02ce92c4d7245ffdf6fa904fbee
tree6515430ae11ff64a6c50b1744fdfc9cbc2de5b00
parentd0c5c8d529f16fa88ab52a3b5dd2d4fc03664f19
mmc: gen_atmel_mci: add driver model support for mci

Add the driver model support for Atmel mci while retaining the
existing legacy code. This allows the driver to support boards
that have converted to driver model as well as those that have not.

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/mmc/Kconfig
drivers/mmc/gen_atmel_mci.c