On 27 November 2016 at 15:15, Vladimir Zapolskiy <v...@mleia.com> wrote:
> 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 <v...@mleia.com>
> ---
>  arch/sh/Makefile                 |  2 +-
>  arch/sh/cpu/sh2/Makefile         |  1 -
>  arch/sh/cpu/sh2/start.S          | 66 
> ----------------------------------------
>  arch/sh/cpu/sh3/Makefile         |  1 -
>  arch/sh/cpu/sh3/start.S          | 65 ---------------------------------------
>  arch/sh/cpu/sh4/Makefile         |  1 -
>  arch/sh/lib/Makefile             |  2 ++
>  arch/sh/{cpu/sh4 => lib}/start.S |  6 ++++
>  8 files changed, 9 insertions(+), 135 deletions(-)
>  delete mode 100644 arch/sh/cpu/sh2/start.S
>  delete mode 100644 arch/sh/cpu/sh3/start.S
>  rename arch/sh/{cpu/sh4 => lib}/start.S (87%)

Reviewed-by: Simon Glass <s...@chromium.org>
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to