]> git.sur5r.net Git - u-boot/commit
arc: move common sources in library
authorAlexey Brodkin <abrodkin@synopsys.com>
Sat, 27 Dec 2014 23:42:12 +0000 (02:42 +0300)
committerAlexey Brodkin <abrodkin@synopsys.com>
Thu, 15 Jan 2015 19:40:49 +0000 (22:40 +0300)
commit660d5f0d495197b4057bc1b3bdd201e500b03f1a
tree1af828cf7be238a85134eab36e3d4232231e5037
parent70a0442a420ccea85e6255fedb760448c5b7b87f
arc: move common sources in library

"reset.c" and "cpu.c" have no architecture-specific code at all.
Others are applicable to either ARC CPU.

This change is a preparation to submission of ARCv2 architecture port.

Even though ARCv1 and ARCv2 ISAs are not binary compatible most of
built-in modules still have the same programming model - AUX registers
are mapped in the same addresses and hold the same data (new featues
extend existing ones).

So only low-level assembly code (start-up, interrupt handlers) is left
as CPU(actually ISA)-specific. This significantyl simplifies maintenance
of multiple CPUs/ISAs.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Igor Guryanov <guryanov@synopsys.com>
12 files changed:
arch/arc/cpu/arc700/Makefile
arch/arc/cpu/arc700/cache.c [deleted file]
arch/arc/cpu/arc700/cpu.c [deleted file]
arch/arc/cpu/arc700/interrupts.c [deleted file]
arch/arc/cpu/arc700/reset.c [deleted file]
arch/arc/cpu/arc700/timer.c [deleted file]
arch/arc/lib/Makefile
arch/arc/lib/cache.c [new file with mode: 0644]
arch/arc/lib/cpu.c [new file with mode: 0644]
arch/arc/lib/interrupts.c [new file with mode: 0644]
arch/arc/lib/reset.c [new file with mode: 0644]
arch/arc/lib/timer.c [new file with mode: 0644]