[U-Boot] [PATCH 0/4] mmc: omap_hsmmc: add support for CONFIG_BLK

Jean-Jacques Hiblot jjhiblot at ti.com
Wed Mar 22 15:00:30 UTC 2017


This series is based on the RFC "mmc: omap_hsmmc: convert to use dm block devies"
from Grygorii Strashko <grygorii.strashko at ti.com>.

The goal is to be able to compile u-boot with the CONFIG_BLK option. This will
be required to move the sata to the driver model.
The first 3 patches are essentially preparation work.
The last patch adds the actual support for CONFIG_BLK.

This has been tested on a DRA72 evm and buildman has been run other TI
platforms (am33x am43x dra7 omap5 am57)

Jean-Jacques Hiblot (4):
  drivers: omap_hsmmc: use an accessor to get the private data
  drivers: omap_hsmmc: use mmc_get_blk_desc() to get the block device
    desc
  drivers: omap_hsmmc: move the mmc_config to platdata when DM_MMC is
    used
  drivers: omap_hsmmc: add support for CONFIG_BLK

 drivers/mmc/omap_hsmmc.c | 100 ++++++++++++++++++++++++++++++++++-------------
 1 file changed, 73 insertions(+), 27 deletions(-)

-- 
1.9.1



More information about the U-Boot mailing list