[U-Boot] [PATCH v3 0/4] ARM & m68k: cache: add weak cache code then enable usb cache support

Josh Wu josh.wu at atmel.com
Mon Jul 27 05:40:14 CEST 2015


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



More information about the U-Boot mailing list