[PATCH] mmc: davinci_mmc: Cleanup to use dt in U-boot and static platdata in SPL

Bartosz Golaszewski bgolaszewski at baylibre.com
Mon May 25 14:03:35 CEST 2020

pt., 22 maj 2020 o 04:02 Faiz Abbas <faiz_abbas at ti.com> napisał(a):
> Cleanup this driver to use dt in U-boot and static platdata in SPL.
> This requires the following steps:
> 1. Move all platdata assignment from probe() to ofdata_to_platdata().
>    This function is only called in U-boot.
> 2. Replicate all the platdata assignment being done in
>    ofdata_to_platdata() in the omapl138 board file. This data is used in
>    the SPL case where SPL_OF_CONTROL is not enabled.
> 3. Remove SPL_OF_CONTROL and related configs from omapl138_lcdk_defconfig
> This cleanup effectively reverts 3ef94715cc ('mmc: davinci: fix mmc boot in SPL')
> Signed-off-by: Faiz Abbas <faiz_abbas at ti.com>

Tested-by: Bartosz Golaszewski <bgolaszewski at baylibre.com>

More information about the U-Boot mailing list