From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Sun, 9 Mar 2014 17:18:18 +0100 Subject: [U-Boot] [PATCH v2 0/5] ARM: refactor start.S files Message-ID: <1394381903-7007-1-git-send-email-albert.u.boot@aribaud.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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