]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/cpu/u-boot.lds
Merge branch 'master' of git://www.denx.de/git/u-boot-imx
[u-boot] / arch / arm / cpu / u-boot.lds
index 13aa4fa48814f6da575e9ed53ff94be74d4a833d..cfab8b0412344a1f0d7467d461c15d45c162b9fe 100644 (file)
@@ -14,6 +14,9 @@ OUTPUT_ARCH(arm)
 ENTRY(_start)
 SECTIONS
 {
+#ifndef CONFIG_CMDLINE
+       /DISCARD/ : { *(.u_boot_list_2_cmd_*) }
+#endif
 #if defined(CONFIG_ARMV7_SECURE_BASE) && defined(CONFIG_ARMV7_NONSEC)
        /*
         * If CONFIG_ARMV7_SECURE_BASE is true, secure code will not