mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] 'detect' command to detect devices
@ 2013-05-30 12:40 Sascha Hauer
  2013-05-30 12:40 ` [PATCH 1/3] devices: add detect mechanism Sascha Hauer
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Sascha Hauer @ 2013-05-30 12:40 UTC (permalink / raw)
  To: barebox

This adds a 'detect' callback for devices which can be used for
MMC/ATA/USB and maybe other stuff. See the first patch for details.

In short with this series we get a 'detect' command to trigger
a devices detect callback to detect SD/MMC cards. Currently only
SD/MMC is implemented, but this should also be used for USB/ATA
aswell later.

Sascha

----------------------------------------------------------------
Sascha Hauer (3):
      devices: add detect mechanism
      mci: implement detect driver callback
      mci fsl-esdhc: implement detect driver callback

 commands/Kconfig        |  9 +++++++
 commands/Makefile       |  1 +
 commands/detect.c       | 70 +++++++++++++++++++++++++++++++++++++++++++++++++
 drivers/base/driver.c   |  7 +++++
 drivers/mci/imx-esdhc.c | 13 +++++++--
 drivers/mci/mci-core.c  | 21 +++++++++++++++
 include/driver.h        |  8 ++++++
 include/mci.h           |  6 +++--
 8 files changed, 131 insertions(+), 4 deletions(-)
 create mode 100644 commands/detect.c

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

end of thread, other threads:[~2013-05-30 12:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-30 12:40 [PATCH] 'detect' command to detect devices Sascha Hauer
2013-05-30 12:40 ` [PATCH 1/3] devices: add detect mechanism Sascha Hauer
2013-05-30 12:40 ` [PATCH 2/3] mci: implement detect driver callback Sascha Hauer
2013-05-30 12:40 ` [PATCH 3/3] mci fsl-esdhc: " Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox