dm: x86: Move samus to use new driver model support
[oweals/u-boot.git] / arch / x86 / cpu / u-boot.lds
index b0d8531a605743cca554a00bfe6ccc762476e8a4..36f59ea96db8663b9f44b7dd4a1acfc0a86635f4 100644 (file)
@@ -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*); }