[U-Boot] [PATCH v2 0/7] ARC updates

Alexey Brodkin Alexey.Brodkin at synopsys.com
Tue Mar 31 12:08:49 CEST 2015


This patchset is meant to prepare ARC for device model utilization.
The most important things done:

 [1] Separation of interrupt vectore tables from start.S
 [2] Merge of low-level start-up code (written in assembly) for ARCompat and
     ARCv2 architectures
 [3] Separation of interrupt and exception handling code in a separate source
     file (ints_low.S)
 [4] Major clean-up of start-up code and switch to heavy use of routines written
     in C (re-use implementations for x86 in board_f.c)

Changes in v2:
 * Always build invalidate_icache_all() and invalidate_dcache_all()
 * Unconditionally disable caches on early start, if required enable them later
   in init_cache_f_r()
 * Fixed typo in commit message

Alexey Brodkin (7):
  arc: cache - build invalidate_icache_all() and invalidate_dcache_all()
        always
  arc: merge common start-up code between ARC and ARCv2
  arc: move low-level interrupt and exception handlers in a separate
    file
  arc: clean-up init procedure
  arc: re-generate defconfigs
  arc: get rid of CONFIG_SYS_GENERIC_GLOBAL_DATA
  arc: minor fixes in Kconfig

 arch/arc/Kconfig                    |  10 +-
 arch/arc/cpu/arcv1/Makefile         |   2 +-
 arch/arc/cpu/arcv1/ivt.S            |  27 ++++
 arch/arc/cpu/arcv1/start.S          | 254 ------------------------------------
 arch/arc/cpu/arcv2/Makefile         |   2 +-
 arch/arc/cpu/arcv2/ivt.S            |  27 ++++
 arch/arc/cpu/arcv2/start.S          | 254 ------------------------------------
 arch/arc/include/asm/config.h       |   1 -
 arch/arc/include/asm/init_helpers.h |  12 ++
 arch/arc/include/asm/relocate.h     |  16 +++
 arch/arc/include/asm/u-boot-arc.h   |   3 +
 arch/arc/lib/Makefile               |   3 +
 arch/arc/lib/cache.c                |  12 +-
 arch/arc/lib/cpu.c                  |  13 --
 arch/arc/lib/init_helpers.c         |  25 ++++
 arch/arc/lib/ints_low.S             | 151 +++++++++++++++++++++
 arch/arc/lib/relocate.c             |  19 +++
 arch/arc/lib/start.S                |  59 +++++++++
 common/board_f.c                    |   8 +-
 configs/arcangel4-be_defconfig      |   4 +-
 configs/arcangel4_defconfig         |   2 +-
 configs/axs101_defconfig            |   6 +-
 configs/axs103_defconfig            |   4 +-
 configs/tb100_defconfig             |   4 +-
 24 files changed, 375 insertions(+), 543 deletions(-)
 create mode 100644 arch/arc/cpu/arcv1/ivt.S
 delete mode 100644 arch/arc/cpu/arcv1/start.S
 create mode 100644 arch/arc/cpu/arcv2/ivt.S
 delete mode 100644 arch/arc/cpu/arcv2/start.S
 create mode 100644 arch/arc/include/asm/init_helpers.h
 create mode 100644 arch/arc/include/asm/relocate.h
 create mode 100644 arch/arc/lib/init_helpers.c
 create mode 100644 arch/arc/lib/ints_low.S
 create mode 100644 arch/arc/lib/start.S

-- 
2.1.0



More information about the U-Boot mailing list