diff options
author | Thomas Chou <thomas@wytron.com.tw> | 2015-09-06 20:13:34 +0800 |
---|---|---|
committer | Thomas Chou <thomas@wytron.com.tw> | 2015-10-23 07:28:38 +0800 |
commit | 1226dfdaddaf3a0c3e3451e69fad9f480df89d9b (patch) | |
tree | c52b5e1d8fadebe45865da4d31c8c53ccf904320 /arch/nios2/cpu/u-boot.lds | |
parent | 355483e1020f638701cecb8d1951b2a1fa90d153 (diff) | |
download | u-boot-imx-1226dfdaddaf3a0c3e3451e69fad9f480df89d9b.zip u-boot-imx-1226dfdaddaf3a0c3e3451e69fad9f480df89d9b.tar.gz u-boot-imx-1226dfdaddaf3a0c3e3451e69fad9f480df89d9b.tar.bz2 |
nios2: define _end in link script
Since commit 44c6e6591cb451ae606f8bde71dd5fb7b4002544
"rename _end to __bss_end__" , the _end was removed.
But we need it now for separated device tree control,
ie, CONFIG_OF_SEPARATE .
The _end is used by fdtdec_setup() to find the blob.
Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Acked-by: Marek Vasut <marex@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/nios2/cpu/u-boot.lds')
-rw-r--r-- | arch/nios2/cpu/u-boot.lds | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/nios2/cpu/u-boot.lds b/arch/nios2/cpu/u-boot.lds index 8b0fd1a..3bd3f2c 100644 --- a/arch/nios2/cpu/u-boot.lds +++ b/arch/nios2/cpu/u-boot.lds @@ -67,6 +67,12 @@ SECTIONS _edata = .; PROVIDE (edata = .); + /* + * _end - This is end of u-boot.bin image. + * dtb will be appended here to make u-boot-dtb.bin + */ + _end = .; + /* UNINIT DATA - Small uninitialized data is first so it's * adjacent to sdata and can be referenced via gp. The normal * bss follows. We keep it adjacent to simplify init code. |