[U-Boot] [PATCH 0/5] arm: cleanup prototypes in u-boot-arm.h

Patrick Delaunay patrick.delaunay at st.com
Fri Oct 5 09:33:48 UTC 2018


When I check the patch
http://patchwork.ozlabs.org/patch/978762/

I see that some prototypes in u-boot-arm.h are
not needed as they are unused or only used locally.

This patset removes them in u-boot-arm.h;
3 patch are simple but in 2 patches I need to udpate
timer.c files in many architecture but without functional
change: functions modified to static, sometime I need to
reorder the function.

Compilation tested on v2018.11-rc1 for arm boards with buildman:

tools/buildman/buildman arm aarch64
540  270    4 /814
=> no new warning introduced (only device tree issue)



Patrick Delaunay (5):
  arm: remove prototype for arch_interrupt_init
  arm: remove prototype for reset_timer_masked
  arm: remove prototype for udelay_masked
  arm: remove prototype for get_timer_masked
  arm: remove duplicated prototypes in u-boot.arm.h

 arch/arm/cpu/arm920t/ep93xx/timer.c      |  7 +----
 arch/arm/cpu/arm920t/imx/timer.c         | 15 ++++-------
 arch/arm/cpu/arm926ejs/armada100/timer.c |  2 +-
 arch/arm/cpu/arm926ejs/mx27/timer.c      |  2 +-
 arch/arm/cpu/arm926ejs/mxs/timer.c       |  7 +----
 arch/arm/cpu/arm926ejs/spear/timer.c     |  9 +++----
 arch/arm/cpu/armv7/ls102xa/timer.c       |  7 +----
 arch/arm/cpu/armv7/s5p-common/timer.c    |  3 ++-
 arch/arm/cpu/armv7/stv0991/timer.c       |  9 +++----
 arch/arm/cpu/armv7/sunxi/timer.c         | 12 ++++-----
 arch/arm/cpu/armv7/vf610/timer.c         |  7 +----
 arch/arm/cpu/sa1100/timer.c              | 15 ++++-------
 arch/arm/include/asm/u-boot-arm.h        |  9 -------
 arch/arm/mach-at91/arm920t/timer.c       | 19 +++++---------
 arch/arm/mach-imx/syscounter.c           |  7 +----
 arch/arm/mach-omap2/timer.c              |  3 ++-
 arch/arm/mach-orion5x/timer.c            |  2 +-
 board/armltd/integrator/timer.c          | 45 ++++++++++++++------------------
 18 files changed, 61 insertions(+), 119 deletions(-)

-- 
2.7.4



More information about the U-Boot mailing list