sh: share the correct version of start.S among all cpus
It is easy to note that SH2/SH3/SH4 start.S code is practically the same with a minor difference for SH2 where a short data header is present. To avoid unwanted code duplication and to automatically convert SH2 and SH3 platforms to generic board support move fixed SH4 start.S into arch/sh/lib/start.S and share it among all platforms. Signed-off-by:Vladimir Zapolskiy <vz@mleia.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
Showing
- arch/sh/Makefile 1 addition, 1 deletionarch/sh/Makefile
- arch/sh/cpu/sh2/Makefile 0 additions, 1 deletionarch/sh/cpu/sh2/Makefile
- arch/sh/cpu/sh2/start.S 0 additions, 66 deletionsarch/sh/cpu/sh2/start.S
- arch/sh/cpu/sh3/Makefile 0 additions, 1 deletionarch/sh/cpu/sh3/Makefile
- arch/sh/cpu/sh3/start.S 0 additions, 65 deletionsarch/sh/cpu/sh3/start.S
- arch/sh/cpu/sh4/Makefile 0 additions, 1 deletionarch/sh/cpu/sh4/Makefile
- arch/sh/lib/Makefile 2 additions, 0 deletionsarch/sh/lib/Makefile
- arch/sh/lib/start.S 6 additions, 0 deletionsarch/sh/lib/start.S
arch/sh/cpu/sh2/start.S
deleted
100644 → 0
arch/sh/cpu/sh3/start.S
deleted
100644 → 0
Please register or sign in to comment