[U-Boot] [PATCH v2 26/26] dm: mmc: Add a library function to parse generic dt binding

Simon Glass sjg at chromium.org
Mon Sep 25 02:14:51 UTC 2017


On 21 September 2017 at 08:30, Jean-Jacques Hiblot <jjhiblot at ti.com> wrote:
> From: Kishon Vijay Abraham I <kishon at ti.com>
>
> Add a new function to parse host controller dt node and
> set mmc_config. This function can be used by mmc controller
> drivers to set the generic mmc_config.
> This function can be extended to set other UHS mode caps
> once UHS mode support is added.
>
> Signed-off-by: Kishon Vijay Abraham I <kishon at ti.com>
> Signed-off-by: Jean-Jacques Hiblot <jjhiblot at ti.com>
> ---
>  drivers/mmc/mmc-uclass.c | 46 ++++++++++++++++++++++++++++++++++++++++++++++
>  include/mmc.h            |  1 +
>  2 files changed, 47 insertions(+)

Can you please use the live API here - e.g. dev_read_bool(). Otherwise
boards which use live tree will fail.

Regards,
Simon


More information about the U-Boot mailing list