
This series is focused on fixes and clean-up in ARC-related code. The most visible changes are: 1. Move lots of sources in "lib" folder because they are arch-independent 2. Rename (generalize) "arc700" -> "arcv1" because we'll have another type of ARC CPUs soon as well as more flavours of existing family 3. Interrupt vector table is separated in its own section which is required for upcoing submission of ARCv2 support
Also some minor fixes were done to existing code.
Alexey Brodkin (6): arc: add dependences on MMU presence arc: relocate - minor refactoring and clean-up arc: move linker script in arch/arc/cpu folder arc: move common sources in library board/synopsys: remove selection of CPU from the board arc: rename "arc700" in "arcv1"
Igor Guryanov (4): arc: check caches existence before use arc: add ECR (exception cause register) output arc: interrupts - fix mask setup arc: introduce separate section for interrupt vector table
arch/arc/Kconfig | 3 + arch/arc/Makefile | 2 - arch/arc/config.mk | 4 ++ arch/arc/cpu/arc700/Makefile | 13 ---- arch/arc/cpu/{arc700/config.mk => arcv1/Makefile} | 2 +- arch/arc/cpu/{arc700 => arcv1}/config.mk | 0 arch/arc/cpu/{arc700 => arcv1}/start.S | 77 +++++++++++++---------- arch/arc/cpu/{arc700 => }/u-boot.lds | 15 ++++- arch/arc/include/asm/arcregs.h | 2 + arch/arc/include/asm/sections.h | 3 + arch/arc/lib/Makefile | 6 ++ arch/arc/{cpu/arc700 => lib}/cache.c | 29 +++++++++ arch/arc/{cpu/arc700 => lib}/cpu.c | 0 arch/arc/{cpu/arc700 => lib}/interrupts.c | 3 +- arch/arc/lib/relocate.c | 19 ++---- arch/arc/{cpu/arc700 => lib}/reset.c | 0 arch/arc/lib/sections.c | 2 + arch/arc/{cpu/arc700 => lib}/timer.c | 0 board/synopsys/Kconfig | 6 -- board/synopsys/axs101/Kconfig | 3 - 20 files changed, 117 insertions(+), 72 deletions(-) delete mode 100644 arch/arc/cpu/arc700/Makefile copy arch/arc/cpu/{arc700/config.mk => arcv1/Makefile} (80%) rename arch/arc/cpu/{arc700 => arcv1}/config.mk (100%) rename arch/arc/cpu/{arc700 => arcv1}/start.S (87%) rename arch/arc/cpu/{arc700 => }/u-boot.lds (88%) rename arch/arc/{cpu/arc700 => lib}/cache.c (79%) rename arch/arc/{cpu/arc700 => lib}/cpu.c (100%) rename arch/arc/{cpu/arc700 => lib}/interrupts.c (97%) rename arch/arc/{cpu/arc700 => lib}/reset.c (100%) rename arch/arc/{cpu/arc700 => lib}/timer.c (100%)