public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/5] Add wait_for_bit()
@ 2015-12-15  0:09 Mateusz Kulikowski
  2015-12-15  0:09 ` [U-Boot] [PATCH 1/5] lib: Add wait_for_bit Mateusz Kulikowski
                   ` (5 more replies)
  0 siblings, 6 replies; 13+ messages in thread
From: Mateusz Kulikowski @ 2015-12-15  0:09 UTC (permalink / raw)
  To: u-boot


This series add generic function to poll register waiting for
one or more bits to change.

Very similar function was used in several drivers:
- dwc2
- ohci-lp32xx
- ehci-mx6
- zynq_gem

First patch adds function, following patches update drivers and
board config files / defconfigs.

This series was compile-tested with buildman for ~50 boards
(most or even all boards affected by change)

Code was also run-tested on ehci-msm driver (not yet in mainline)

There is single difference in behavior: ohci-lp32xx driver will
not print "Timeout..." message with debug disabled.
I think it's not a big issue as this driver seems unused, but
if it's an issue - please drop that patch.


Mateusz Kulikowski (5):
  lib: Add wait_for_bit
  usb: dwc2: Use shared wait_for_bit
  usb: ohci-lpc32xx: Use shared wait_for_bit
  usb: ehci-mx6: Use shared wait_for_bit
  net: zynq_gem: Use shared wait_for_bit

 drivers/net/Kconfig                   |  1 +
 drivers/net/zynq_gem.c                | 35 ++--------------------------
 drivers/usb/host/dwc2.c               | 43 +++++++++++++---------------------
 drivers/usb/host/ehci-mx6.c           | 37 +++++++----------------------
 drivers/usb/host/ohci-lpc32xx.c       | 36 ++++++++--------------------
 include/configs/aristainetos-common.h |  1 +
 include/configs/cgtqmx6eval.h         |  1 +
 include/configs/embestmx6boards.h     |  1 +
 include/configs/gw_ventana.h          |  1 +
 include/configs/hikey.h               |  1 +
 include/configs/mx6cuboxi.h           |  1 +
 include/configs/mx6qarm2.h            |  1 +
 include/configs/mx6qsabreauto.h       |  1 +
 include/configs/mx6sabresd.h          |  1 +
 include/configs/mx6slevk.h            |  1 +
 include/configs/mx6sxsabresd.h        |  1 +
 include/configs/mx6ul_14x14_evk.h     |  1 +
 include/configs/nitrogen6x.h          |  1 +
 include/configs/novena.h              |  1 +
 include/configs/ot1200.h              |  1 +
 include/configs/platinum.h            |  1 +
 include/configs/rpi-common.h          |  1 +
 include/configs/socfpga_common.h      |  1 +
 include/configs/tbs2910.h             |  1 +
 include/configs/titanium.h            |  1 +
 include/configs/tqma6.h               |  1 +
 include/configs/wandboard.h           |  1 +
 include/configs/warp.h                |  1 +
 include/wait_bit.h                    | 34 +++++++++++++++++++++++++++
 lib/Kconfig                           |  4 ++++
 lib/Makefile                          |  1 +
 lib/wait_bit.c                        | 44 +++++++++++++++++++++++++++++++++++
 32 files changed, 144 insertions(+), 114 deletions(-)
 create mode 100644 include/wait_bit.h
 create mode 100644 lib/wait_bit.c

-- 
2.5.0

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

end of thread, other threads:[~2015-12-15 22:43 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-15  0:09 [U-Boot] [PATCH 0/5] Add wait_for_bit() Mateusz Kulikowski
2015-12-15  0:09 ` [U-Boot] [PATCH 1/5] lib: Add wait_for_bit Mateusz Kulikowski
2015-12-15  0:20   ` Marek Vasut
2015-12-15  0:09 ` [U-Boot] [PATCH 2/5] usb: dwc2: Use shared wait_for_bit Mateusz Kulikowski
2015-12-15  0:21   ` Marek Vasut
2015-12-15 21:22     ` Mateusz Kulikowski
2015-12-15 22:43       ` Marek Vasut
2015-12-15  0:09 ` [U-Boot] [PATCH 3/5] usb: ohci-lpc32xx: " Mateusz Kulikowski
2015-12-15 18:49   ` LEMIEUX, SYLVAIN
2015-12-15 21:20     ` Mateusz Kulikowski
2015-12-15  0:09 ` [U-Boot] [PATCH 4/5] usb: ehci-mx6: " Mateusz Kulikowski
2015-12-15  0:09 ` [U-Boot] [PATCH 5/5] net: zynq_gem: " Mateusz Kulikowski
2015-12-15 18:42 ` [U-Boot] [PATCH 0/5] Add wait_for_bit() LEMIEUX, SYLVAIN

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