summaryrefslogtreecommitdiffstats
path: root/arch/x86/cpu/u-boot.lds
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/cpu/u-boot.lds')
-rw-r--r--arch/x86/cpu/u-boot.lds4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86/cpu/u-boot.lds b/arch/x86/cpu/u-boot.lds
index b0d8531a60..36f59ea96d 100644
--- a/arch/x86/cpu/u-boot.lds
+++ b/arch/x86/cpu/u-boot.lds
@@ -12,6 +12,10 @@ ENTRY(_start)
SECTIONS
{
+#ifndef CONFIG_CMDLINE
+ /DISCARD/ : { *(.u_boot_list_2_cmd_*) }
+#endif
+
. = CONFIG_SYS_TEXT_BASE; /* Location of bootcode in flash */
__text_start = .;
.text : { *(.text*); }
OpenPOWER on IntegriCloud