summaryrefslogtreecommitdiff
path: root/arch/x86
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-12-06 21:42:00 -0700
committerBin Meng <bmeng.cn@gmail.com>2019-12-15 11:44:12 +0800
commitb93757caa122fc52bccb573df1c16c478eef6b2f (patch)
tree43cac0276d1c4ab408de37c16f2c6515c4b83fd4 /arch/x86
parentfbb0efdd272ed0ad232bf917648e161b31226ec5 (diff)
x86: Define the SPL image start
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>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/cpu/u-boot-spl.lds5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/x86/cpu/u-boot-spl.lds b/arch/x86/cpu/u-boot-spl.lds
index c1e9bfbf66..e6c22895b3 100644
--- a/arch/x86/cpu/u-boot-spl.lds
+++ b/arch/x86/cpu/u-boot-spl.lds
@@ -17,7 +17,10 @@ SECTIONS
. = IMAGE_TEXT_BASE; /* Location of bootcode in flash */
__text_start = .;
- .text : { *(.text*); }
+ .text : {
+ __image_copy_start = .;
+ *(.text*);
+ }
. = ALIGN(4);