arc: merge common start-up code between ARC and ARCv2
authorAlexey Brodkin <abrodkin@synopsys.com>
Thu, 19 Feb 2015 15:40:58 +0000 (18:40 +0300)
committerAlexey Brodkin <abrodkin@synopsys.com>
Fri, 3 Apr 2015 06:47:49 +0000 (09:47 +0300)
commit4d93617d87285f01f450a30584520369ff3585d2
tree8ef5ad51ed1e485b6465db58f2c4bc73840a46bd
parentae4a351ad9e3b800e8eb55b27c302d8be256540e
arc: merge common start-up code between ARC and ARCv2

Even though ARCompact and ARCv2 are not binary compatible most of
assembly instructions are used in both. With this change we'll get rid
of duplicate code.

Still IVTs are implemented differently so we're keeping them in separate
files.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
arch/arc/cpu/arcv1/Makefile
arch/arc/cpu/arcv1/ivt.S [new file with mode: 0644]
arch/arc/cpu/arcv2/Makefile
arch/arc/cpu/arcv2/ivt.S [new file with mode: 0644]
arch/arc/cpu/arcv2/start.S [deleted file]
arch/arc/lib/Makefile
arch/arc/lib/start.S [moved from arch/arc/cpu/arcv1/start.S with 82% similarity]