mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-11-28 14:11:29 +01:00
x86: spl: Make moving BSS conditional
At present BSS is always placed in SDRAM. If a separate BSS is not in use this means that BSS doesn't work as expected. Make the setting conditional on the SEPARATE_BSS option. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
parent
37c664e825
commit
76baecf670
@ -57,7 +57,9 @@ SECTIONS
|
||||
|
||||
_image_binary_end = .;
|
||||
|
||||
#if CONFIG_IS_ENABLED(SEPARATE_BSS)
|
||||
. = 0x120000;
|
||||
#endif
|
||||
.bss (OVERLAY) : {
|
||||
__bss_start = .;
|
||||
*(.bss*)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user