[U-Boot] [PATCH v1 0/6] ARM: refactor start.S files

Albert ARIBAUD albert.u.boot at aribaud.net
Fri Nov 8 22:17:53 CET 2013


This series aims at refactoring start.S files. Some of these
files contain cache-related or cpu-reset-related core, which
is moved where it belongs. Useless symbols are removed, and
finally, exception vector code, common across all ARM CPUs,
is moved in its own file.

At this point, the start.S files only contain CPU-specific reset
sequences.

NOTE: this series should be applied above the "arm: remove
unneeded symbol offsets and _TEXT_BASE" series.


Albert ARIBAUD (6):
  arm1136: move cache code from start.S to cache.c
  arm: move reset_cpu from start.S into cpu.c
  arm: pxa: move SP check from start.S to cpuinfo.c
  arm: ixp: cosmetic: move code around in start.S
  arm: remove unused _end_vect and _vectors_end symbols
  arm: move exception handling out of start.S files

 arch/arm/cpu/arm1136/start.S                | 254 +-----------------------
 arch/arm/cpu/arm1176/start.S                | 198 +------------------
 arch/arm/cpu/arm720t/start.S                | 229 +--------------------
 arch/arm/cpu/arm920t/ep93xx/u-boot.lds      |   3 +-
 arch/arm/cpu/arm920t/start.S                | 216 +-------------------
 arch/arm/cpu/arm926ejs/mxs/start.S          |  92 +--------
 arch/arm/cpu/arm926ejs/spear/start.S        |  27 +--
 arch/arm/cpu/arm926ejs/spear/u-boot-spl.lds |   1 +
 arch/arm/cpu/arm926ejs/start.S              | 262 +-----------------------
 arch/arm/cpu/arm946es/cpu.c                 |  12 ++
 arch/arm/cpu/arm946es/start.S               | 246 +----------------------
 arch/arm/cpu/arm_intcm/start.S              | 228 +--------------------
 arch/arm/cpu/armv7/start.S                  | 246 +----------------------
 arch/arm/cpu/ixp/cpu.c                      |   9 +
 arch/arm/cpu/ixp/start.S                    | 249 +----------------------
 arch/arm/cpu/ixp/u-boot.lds                 |   1 +
 arch/arm/cpu/pxa/cpuinfo.c                  |   6 +
 arch/arm/cpu/pxa/start.S                    | 253 +-----------------------
 arch/arm/cpu/sa1100/cpu.c                   |  14 ++
 arch/arm/cpu/sa1100/start.S                 | 225 +--------------------
 arch/arm/cpu/u-boot-spl.lds                 |   1 +
 arch/arm/cpu/u-boot.lds                     |   1 +
 arch/arm/lib/Makefile                       |   2 +-
 arch/arm/lib/cache.c                        |  13 +-
 arch/arm/lib/vectors.S                      | 296 ++++++++++++++++++++++++++++
 board/actux1/u-boot.lds                     |   1 +
 board/actux2/u-boot.lds                     |   1 +
 board/actux3/u-boot.lds                     |   1 +
 board/dvlhost/u-boot.lds                    |   1 +
 board/ti/am335x/u-boot.lds                  |   1 +
 30 files changed, 383 insertions(+), 2706 deletions(-)
 create mode 100644 arch/arm/lib/vectors.S

-- 
1.8.3.2



More information about the U-Boot mailing list