]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - arch/sh/cpu/u-boot.lds
sh4: use single u-boot linker script for all boards
[people/ms/u-boot.git] / arch / sh / cpu / u-boot.lds
index 78611c21e67dd1b741a232caafa9184f2f612990..6f38563303793f32996b3223121eb780ddaa55ce 100644 (file)
@@ -11,6 +11,8 @@
  * SPDX-License-Identifier:    GPL-2.0+
  */
 
+#include "config.h"
+
 OUTPUT_FORMAT("elf32-sh-linux", "elf32-sh-linux", "elf32-sh-linux")
 OUTPUT_ARCH(sh)
 ENTRY(_start)
@@ -29,6 +31,8 @@ SECTIONS
        .text :
        {
                KEEP(*/start.o          (.text))
+               KEEP(CONFIG_BOARDDIR/lowlevel_init.o    (.spiboot1.text))
+               KEEP(*(.spiboot2.text))
                . = ALIGN(8192);
                common/env_embedded.o   (.ppcenv)
                . = ALIGN(8192);