All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/2] drivers: omap_hsmmc: move to DM_MMC_OPS
@ 2017-04-14 17:50 Jean-Jacques Hiblot
  2017-04-14 17:50 ` [U-Boot] [PATCH 1/2] include: config: am335x: disable DM_MMC_OPS if DM_MMC is disabled Jean-Jacques Hiblot
  2017-04-14 17:50 ` [U-Boot] [PATCH 2/2] drivers: omap_hsmmc: move to DM_MMC_OPS Jean-Jacques Hiblot
  0 siblings, 2 replies; 8+ messages in thread
From: Jean-Jacques Hiblot @ 2017-04-14 17:50 UTC (permalink / raw)
  To: u-boot

This series adapts the omap_hsmmc driver to DM_MMC_OPS.
To reduce the number of #idef/#else/#endif, I voluntarily did not use
CONFIG_DM_MMC_OPS in the driver. It's supposed to go away at one point anyway.
The consequence is that DM_MMC_OPS must be selected if DM_MMC is selected. This
is handled in the Kconfig.

The first patch disables DM_MMC_OPS when DM_MMC is manually disabled in the plaform
configuration header file (am335x_evm.h for example). This is done on some platforms
when building the SPL. Those #undef could probably haven been removed but it requires
some testing that I haven't done yet.
The second patch implements the real DM_MMC_OPS support.


This has been tested on DRA7 boards.
buildman has been run for dra7 am43 am33 am57.

Jean-Jacques Hiblot (2):
  include: config: am335x: disable DM_MMC_OPS if DM_MMC is disabled
  drivers: omap_hsmmc: move to DM_MMC_OPS

 drivers/mmc/Kconfig          |  1 +
 drivers/mmc/omap_hsmmc.c     | 39 ++++++++++++++++++++++++++++++++-------
 include/configs/am335x_evm.h |  1 +
 include/configs/am335x_shc.h |  1 +
 include/configs/chiliboard.h |  1 +
 5 files changed, 36 insertions(+), 7 deletions(-)

-- 
1.9.1

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-04-21  8:10 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-14 17:50 [U-Boot] [PATCH 0/2] drivers: omap_hsmmc: move to DM_MMC_OPS Jean-Jacques Hiblot
2017-04-14 17:50 ` [U-Boot] [PATCH 1/2] include: config: am335x: disable DM_MMC_OPS if DM_MMC is disabled Jean-Jacques Hiblot
2017-04-16 19:33   ` Simon Glass
2017-04-18  8:24     ` Jean-Jacques Hiblot
     [not found]   ` <CGME20170421081006epcas1p38b445b7ddc886159706ae4643791aaff@epcas1p3.samsung.com>
2017-04-21  8:10     ` [U-Boot] [U-Boot, " Jaehoon Chung
2017-04-14 17:50 ` [U-Boot] [PATCH 2/2] drivers: omap_hsmmc: move to DM_MMC_OPS Jean-Jacques Hiblot
2017-04-16 19:33   ` Simon Glass
     [not found]   ` <CGME20170421081023epcas5p3bf3a29e47a1446fd81681879a150ff77@epcas5p3.samsung.com>
2017-04-21  8:10     ` [U-Boot] [U-Boot,2/2] " Jaehoon Chung

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.