x86: Define the SPL image start
authorSimon Glass <sjg@chromium.org>
Sat, 7 Dec 2019 04:42:00 +0000 (21:42 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Sun, 15 Dec 2019 03:44:12 +0000 (11:44 +0800)
Define this symbol so that we can use binman symbols correctly.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/u-boot-spl.lds

index c1e9bfbf66f726d7e5a6734c379e9374b5902e73..e6c22895b35c9c4cd10f4061f7173360a75a87b7 100644 (file)
@@ -17,7 +17,10 @@ SECTIONS
 
        . = IMAGE_TEXT_BASE;    /* Location of bootcode in flash */
        __text_start = .;
-       .text  : { *(.text*); }
+       .text  : {
+               __image_copy_start = .;
+               *(.text*);
+       }
 
        . = ALIGN(4);