mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 00/12] Share i.MX ESDHC PBL and PIO code
@ 2019-12-02 15:19 Andrey Smirnov
  2019-12-02 15:19 ` [PATCH 01/12] mci: imx-esdhc: Drop unnecessary type conversion Andrey Smirnov
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: Andrey Smirnov @ 2019-12-02 15:19 UTC (permalink / raw)
  To: barebox; +Cc: Andrey Smirnov

Everyone:

This series is an attempt to share as much functionality between PBL
ESDHC code and PIO case of regular ESDHC driver as possible, since
both implementations are identical in a lot of ways.

Tested on RDU2 (i.MX6) and RDU3 (i.MX8MQ)

Feedback is welcome!

Thanks,
Andrey Smirnov

Andrey Smirnov (12):
  mci: imx-esdhc: Drop unnecessary type conversion
  mci: imx-esdhc: Drop unused type definition
  mci: imx-esdhc: Drop extra helper varaible
  mci: imx-esdhc-pbl: Don't setup DMA registers
  mci: imx-esdhc-pbl: Share initialization code
  mci: imx-esdhc-pbl: Drop 'wrap_wml' flag
  mci: imx-esdhc-pbl: Share IO accessors with regular driver
  mci: imx-esdhc-pbl: Use sdhci_transfer_data()
  mci: imx-esdhc-pbl: Use sdhci_set_cmd_xfer_mode()
  mci: imx-esdhc: Share code for esdhc_(setup|do)_data operations
  mci: imx-esdhc: Introduce esdhc_poll()
  mci: imx-esdhc: Share code for esdhc_send_cmd()

 drivers/mci/Kconfig            |   1 +
 drivers/mci/Makefile           |   6 +-
 drivers/mci/imx-esdhc-common.c | 275 +++++++++++++++++++++++++++
 drivers/mci/imx-esdhc-pbl.c    | 330 ++++++++-------------------------
 drivers/mci/imx-esdhc.c        | 326 ++------------------------------
 drivers/mci/imx-esdhc.h        | 104 ++++++++++-
 drivers/mci/sdhci.c            |  13 ++
 7 files changed, 487 insertions(+), 568 deletions(-)
 create mode 100644 drivers/mci/imx-esdhc-common.c

-- 
2.21.0


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

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

end of thread, other threads:[~2019-12-04  8:42 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-02 15:19 [PATCH 00/12] Share i.MX ESDHC PBL and PIO code Andrey Smirnov
2019-12-02 15:19 ` [PATCH 01/12] mci: imx-esdhc: Drop unnecessary type conversion Andrey Smirnov
2019-12-02 15:19 ` [PATCH 02/12] mci: imx-esdhc: Drop unused type definition Andrey Smirnov
2019-12-02 15:19 ` [PATCH 03/12] mci: imx-esdhc: Drop extra helper varaible Andrey Smirnov
2019-12-02 15:19 ` [PATCH 04/12] mci: imx-esdhc-pbl: Don't setup DMA registers Andrey Smirnov
2019-12-02 15:19 ` [PATCH 05/12] mci: imx-esdhc-pbl: Share initialization code Andrey Smirnov
2019-12-02 15:19 ` [PATCH 06/12] mci: imx-esdhc-pbl: Drop 'wrap_wml' flag Andrey Smirnov
2019-12-02 15:19 ` [PATCH 07/12] mci: imx-esdhc-pbl: Share IO accessors with regular driver Andrey Smirnov
2019-12-02 15:19 ` [PATCH 08/12] mci: imx-esdhc-pbl: Use sdhci_transfer_data() Andrey Smirnov
2019-12-02 15:19 ` [PATCH 09/12] mci: imx-esdhc-pbl: Use sdhci_set_cmd_xfer_mode() Andrey Smirnov
2019-12-02 15:19 ` [PATCH 10/12] mci: imx-esdhc: Share code for esdhc_(setup|do)_data operations Andrey Smirnov
2019-12-02 15:19 ` [PATCH 11/12] mci: imx-esdhc: Introduce esdhc_poll() Andrey Smirnov
2019-12-02 15:19 ` [PATCH 12/12] mci: imx-esdhc: Share code for esdhc_send_cmd() Andrey Smirnov
2019-12-04  8:42 ` [PATCH 00/12] Share i.MX ESDHC PBL and PIO code Sascha Hauer

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