mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-19 11:24:42 +00:00
arm: x86: Drop discarding of command linker-lists
Since we can now cleanly disable CMDLINE when needed, drop the rules which discard the command code. It will not be built in the first place. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
This commit is contained in:
parent
1125e291fb
commit
b1f8b56f45
4 changed files with 0 additions and 15 deletions
|
@ -14,9 +14,6 @@ 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
|
||||
|
|
|
@ -11,10 +11,6 @@ ENTRY(_start)
|
|||
|
||||
SECTIONS
|
||||
{
|
||||
#ifndef CONFIG_CMDLINE
|
||||
/DISCARD/ : { *(__u_boot_list_2_cmd_*) }
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_TEXT_BASE
|
||||
. = CONFIG_TEXT_BASE; /* Location of bootcode in flash */
|
||||
#endif
|
||||
|
|
|
@ -11,10 +11,6 @@ ENTRY(_start)
|
|||
|
||||
SECTIONS
|
||||
{
|
||||
#ifndef CONFIG_CMDLINE
|
||||
/DISCARD/ : { *(__u_boot_list_2_cmd_*) }
|
||||
#endif
|
||||
|
||||
. = IMAGE_TEXT_BASE; /* Location of bootcode in flash */
|
||||
__text_start = .;
|
||||
.text : {
|
||||
|
|
|
@ -11,10 +11,6 @@ ENTRY(_start)
|
|||
|
||||
SECTIONS
|
||||
{
|
||||
#ifndef CONFIG_CMDLINE
|
||||
/DISCARD/ : { *(__u_boot_list_2_cmd_*) }
|
||||
#endif
|
||||
|
||||
. = CONFIG_TEXT_BASE; /* Location of bootcode in flash */
|
||||
__text_start = .;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue