All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jean-Jacques Hiblot <jjhiblot@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 0/2] drivers: omap_hsmmc: move to DM_MMC_OPS
Date: Fri, 14 Apr 2017 19:50:00 +0200	[thread overview]
Message-ID: <1492192202-32550-1-git-send-email-jjhiblot@ti.com> (raw)

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

             reply	other threads:[~2017-04-14 17:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-14 17:50 Jean-Jacques Hiblot [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1492192202-32550-1-git-send-email-jjhiblot@ti.com \
    --to=jjhiblot@ti.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.