[U-Boot] [PATCH v3 0/5] ARM: refactor start.S files

Albert ARIBAUD albert.u.boot at aribaud.net
Thu May 15 16:26:24 CEST 2014


On Tue, 15 Apr 2014 16:13:46 +0200, Albert ARIBAUD
<albert.u.boot at aribaud.net> wrote:

> 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.
> 
> Changes in v3:
> - factorized SPL/non-SPL code
> - fixed socfpga_cyclone5 IRQ setting in save_boot_params
> 
> Changes in v2:
> - fixed checkpatch issues in arch/arm/cpu/arm946es/cpu.c
> - fixed checkpatch issues in arch/arm/cpu/sa1100/cpu.c
> - rebased onto u-boot-arm/master (de4fdfc1)
> - adjusted comment in Zynq linker script
> 
> Albert ARIBAUD (5):
>   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: 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                 |  13 ++
>  arch/arm/cpu/arm946es/start.S               | 246 +----------------------
>  arch/arm/cpu/arm_intcm/start.S              | 228 +---------------------
>  arch/arm/cpu/armv7/socfpga/lowlevel_init.S  |  15 +-
>  arch/arm/cpu/armv7/start.S                  | 253 +-----------------------
>  arch/arm/cpu/armv7/zynq/u-boot.lds          |   2 +-
>  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                      | 291 ++++++++++++++++++++++++++++
>  board/compulab/cm_t335/u-boot.lds           |   1 +
>  board/freescale/mx31ads/u-boot.lds          |   1 +
>  board/ti/am335x/u-boot.lds                  |   1 +
>  27 files changed, 359 insertions(+), 2489 deletions(-)
>  create mode 100644 arch/arm/lib/vectors.S

Applied to u-boot-arm/master.

Amicalement,
-- 
Albert.


More information about the U-Boot mailing list