From patchwork Wed Jan 8 03:01:45 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Weijie Gao X-Patchwork-Id: 239239 List-Id: U-Boot discussion From: weijie.gao at mediatek.com (Weijie Gao) Date: Wed, 8 Jan 2020 11:01:45 +0800 Subject: [PATCH 10/16] mips: unconditionally enable u_boot_list section in u-boot-spl.lds Message-ID: <1578452505-7007-1-git-send-email-weijie.gao@mediatek.com> u_boot_list is not only used by DM, but also by some SPL image load methods such as spl_nor.c. This patch removes CONFIG_SPL_DM surrounding the u_boot_list section to make sure SPL image load methods can be correctly built into u-boot without DM enabled. Signed-off-by: Weijie Gao --- arch/mips/cpu/u-boot-spl.lds | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/mips/cpu/u-boot-spl.lds b/arch/mips/cpu/u-boot-spl.lds index d08d6222c4..cd143ab168 100644 --- a/arch/mips/cpu/u-boot-spl.lds +++ b/arch/mips/cpu/u-boot-spl.lds @@ -27,12 +27,10 @@ SECTIONS *(SORT_BY_ALIGNMENT(.sdata*)) } > .spl_mem -#ifdef CONFIG_SPL_DM . = ALIGN(4); .u_boot_list : { KEEP(*(SORT(.u_boot_list*))); } > .spl_mem -#endif . = ALIGN(4); __image_copy_end = .;