[U-Boot] [PATCH 0/5] arm: Tidy up the cache aligning warning code

Simon Glass sjg at chromium.org
Mon Jun 20 03:43:00 CEST 2016


This series consolidates the code that warns about cache line alignment
problems (with flush and invalidate). It adjusts it so that a warning is
always displayed, except when building for SPL (since that bloats the code).

It is assumed that the cache is off in SPL.


Simon Glass (5):
  arm: Move check_cache_range() into a common place
  arm: Don't invalidate unaligned cache regions
  Add comments for debug() and pr_fmt
  Add warn_non_spl() to show a message in U-Boot proper
  arm: Show cache warnings in U-Boot proper only

 arch/arm/cpu/arm11/cpu.c       | 17 -----------------
 arch/arm/cpu/arm926ejs/cache.c | 17 -----------------
 arch/arm/cpu/armv7/cache_v7.c  | 40 ++--------------------------------------
 arch/arm/include/asm/cache.h   |  2 ++
 arch/arm/lib/cache.c           | 22 ++++++++++++++++++++++
 include/common.h               | 12 ++++++++++++
 6 files changed, 38 insertions(+), 72 deletions(-)

-- 
2.8.0.rc3.226.g39d4020



More information about the U-Boot mailing list