mmc: fsl_esdhc_imx: add OF_PLATDATA support
authorWalter Lozano <walter.lozano@collabora.com>
Wed, 29 Jul 2020 15:31:17 +0000 (12:31 -0300)
committerStefano Babic <sbabic@denx.de>
Sun, 2 Aug 2020 12:28:37 +0000 (14:28 +0200)
commit23721778647775df398ae1055364c7a881e62263
tree5cba83aebf0241e1fd2aeb81b85e189dfc6262dc
parent45154f07f8e37b297786de14b287fbec82dd4259
mmc: fsl_esdhc_imx: add OF_PLATDATA support

In order to reduce the footprint of SPL by removing dtb and library
overhead, add OF_PLATDATA support to fsl_esdhc_imx. This initial
approach does not support card detection, which will be enabled after
adding OF_PLATDATA support to GPIO.

Signed-off-by: Walter Lozano <walter.lozano@collabora.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/mmc/fsl_esdhc_imx.c