[U-Boot] [RESEND][PATCH 13/24] sh4: use single u-boot linker script for all boards

Simon Glass sjg at chromium.org
Wed Nov 30 01:33:39 CET 2016


On 27 November 2016 at 15:15, Vladimir Zapolskiy <vz at mleia.com> wrote:
> Three supported SH4/SH4A boards with the bootloader image stored on
> SPI flash have own flavour of a linker script, in turn they are equal
> among each other. The only difference is that the text from
> lowlevel_init.o is placed right after start.o, which makes sense.
>
> Note that .bss section is not marked as NOLOAD, because for about
> 10 years this is a default option of a GNU linker, either the
> attribute is found or not the resulting image file is the same.
>
> Signed-off-by: Vladimir Zapolskiy <vz at mleia.com>
> ---
>  arch/sh/cpu/u-boot.lds             |  4 ++
>  board/renesas/sh7752evb/Makefile   |  2 +-
>  board/renesas/sh7752evb/u-boot.lds | 82 -------------------------------------
>  board/renesas/sh7753evb/Makefile   |  2 +-
>  board/renesas/sh7753evb/u-boot.lds | 82 -------------------------------------
>  board/renesas/sh7757lcr/Makefile   |  2 +-
>  board/renesas/sh7757lcr/u-boot.lds | 83 --------------------------------------
>  include/configs/sh7752evb.h        |  1 -
>  include/configs/sh7753evb.h        |  1 -
>  include/configs/sh7757lcr.h        |  1 -
>  10 files changed, 7 insertions(+), 253 deletions(-)
>  delete mode 100644 board/renesas/sh7752evb/u-boot.lds
>  delete mode 100644 board/renesas/sh7753evb/u-boot.lds
>  delete mode 100644 board/renesas/sh7757lcr/u-boot.lds

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list