U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Albert ARIBAUD <albert.u.boot@aribaud.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 0/5] ARM: refactor start.S files
Date: Sun,  9 Mar 2014 17:18:18 +0100	[thread overview]
Message-ID: <1394381903-7007-1-git-send-email-albert.u.boot@aribaud.net> (raw)

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.

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/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                      | 304 ++++++++++++++++++++++++++++
 board/compulab/cm_t335/u-boot.lds           |   1 +
 board/freescale/mx31ads/u-boot.lds          |   1 +
 board/ti/am335x/u-boot.lds                  |   1 +
 26 files changed, 371 insertions(+), 2475 deletions(-)
 create mode 100644 arch/arm/lib/vectors.S

-- 
1.8.3.2

             reply	other threads:[~2014-03-09 16:18 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-09 16:18 Albert ARIBAUD [this message]
2014-03-09 16:18 ` [U-Boot] [PATCH v2 1/5] arm1136: move cache code from start.S to cache.c Albert ARIBAUD
2014-03-09 16:18   ` [U-Boot] [PATCH v2 2/5] arm: move reset_cpu from start.S into cpu.c Albert ARIBAUD
2014-03-09 16:18     ` [U-Boot] [PATCH v2 3/5] arm: pxa: move SP check from start.S to cpuinfo.c Albert ARIBAUD
2014-03-09 16:18       ` [U-Boot] [PATCH v2 4/5] arm: remove unused _end_vect and _vectors_end symbols Albert ARIBAUD
2014-03-09 16:18         ` [U-Boot] [PATCH v2 5/5] arm: move exception handling out of start.S files Albert ARIBAUD
2014-03-09 18:21           ` Andreas Bießmann
2014-03-09 19:04             ` Albert ARIBAUD
2014-03-09 22:19       ` [U-Boot] [PATCH v2 3/5] arm: pxa: move SP check from start.S to cpuinfo.c Marek Vasut

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1394381903-7007-1-git-send-email-albert.u.boot@aribaud.net \
    --to=albert.u.boot@aribaud.net \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox