public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v3 0/4] ARM & m68k: cache: add weak cache code then enable usb cache support
@ 2015-07-27  3:40 Josh Wu
  2015-07-27  3:40 ` [U-Boot] [PATCH v3 1/4] m68k: cache: add an empty stub functions for invalidate/flush dcache Josh Wu
                   ` (3 more replies)
  0 siblings, 4 replies; 17+ messages in thread
From: Josh Wu @ 2015-07-27  3:40 UTC (permalink / raw)
  To: u-boot


This series add empty stub for invalidate/flush dcache functions, so
that usb driver can enable cache support.

Also it include patch to clean up the ARM cache code:
- add weak functions for flush_cache().
- make them use the weak function flush_cache().
- remove not used code in flush_cache() in lib/cache.c.

Changes in v3:
- add Angelo's Acked-by.
- remove the same functions in the cpu/ files as they will use the weak
  function provided in lib/cache.c

Changes in v2:
- CONFIG_DM_USB in periodic_unlink() should be remove as well. This
  version remove it.
- Add Hans de Goede's acked-by.

Josh Wu (4):
  m68k: cache: add an empty stub functions for invalidate/flush dcache
  ARM: cache: add an empty stub function for invalidate/flush dcache
  ARM: cache: implement a default weak flush_cache() function
  usb: ohci: enable cache support

 arch/arm/cpu/arm1136/cpu.c     | 17 -----------------
 arch/arm/cpu/arm926ejs/cache.c | 17 -----------------
 arch/arm/cpu/armv7/cache_v7.c  | 21 ---------------------
 arch/arm/cpu/armv8/cache_v8.c  | 16 ----------------
 arch/arm/lib/cache.c           | 35 ++++++++++++++---------------------
 arch/m68k/lib/cache.c          |  9 +++++++++
 drivers/usb/host/ohci-hcd.c    | 12 +-----------
 drivers/usb/host/ohci.h        |  2 +-
 8 files changed, 25 insertions(+), 104 deletions(-)

-- 
1.9.1

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

end of thread, other threads:[~2015-08-13 13:20 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-27  3:40 [U-Boot] [PATCH v3 0/4] ARM & m68k: cache: add weak cache code then enable usb cache support Josh Wu
2015-07-27  3:40 ` [U-Boot] [PATCH v3 1/4] m68k: cache: add an empty stub functions for invalidate/flush dcache Josh Wu
2015-08-13 13:20   ` [U-Boot] [U-Boot, v3, " Tom Rini
2015-07-27  3:40 ` [U-Boot] [PATCH v3 2/4] ARM: cache: add an empty stub function " Josh Wu
2015-07-27 16:31   ` York Sun
2015-07-28  2:17     ` Josh Wu
2015-07-28  4:24       ` York Sun
2015-07-28  5:06         ` Josh Wu
2015-07-28  5:21           ` York Sun
2015-08-04  6:50             ` Josh Wu
2015-08-04 15:30   ` York Sun
2015-08-05  7:32     ` Josh Wu
2015-08-13 13:20   ` [U-Boot] [U-Boot, v3, " Tom Rini
2015-07-27  3:40 ` [U-Boot] [PATCH v3 3/4] ARM: cache: implement a default weak flush_cache() function Josh Wu
2015-08-13 13:20   ` [U-Boot] [U-Boot, v3, " Tom Rini
2015-07-27  3:40 ` [U-Boot] [PATCH v3 4/4] usb: ohci: enable cache support Josh Wu
2015-08-13 13:20   ` [U-Boot] [U-Boot,v3,4/4] " Tom Rini

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