mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 07:34:31 +00:00
83b7e2a7f2
Currently, some linker scripts are found by common code in config.mk. Some are found using CONFIG_SYS_LDSCRIPT, but the code for that is sometimes in arch config.mk and sometimes in board config.mk. Some are found using an arch-specific rule for looking in CPUDIR, etc. Further, the powerpc config.mk rule relied on CONFIG_NAND_SPL when it really wanted CONFIG_NAND_U_BOOT -- which covered up the fact that not all NAND_U_BOOT builds actually wanted CPUDIR/u-boot-nand.lds. Replace all of this -- except for a handful of boards that are actually selecting a linker script in a unique way -- with centralized ldscript finding. If board code specifies LDSCRIPT, that will be used. Otherwise, if CONFIG_SYS_LDSCRIPT is specified, that will be used. If neither of these are specified, then the central config.mk will check for the existence of the following, in order: $(TOPDIR)/board/$(BOARDDIR)/u-boot-nand.lds (only if CONFIG_NAND_U_BOOT) $(TOPDIR)/$(CPUDIR)/u-boot-nand.lds (only if CONFIG_NAND_U_BOOT) $(TOPDIR)/board/$(BOARDDIR)/u-boot.lds $(TOPDIR)/$(CPUDIR)/u-boot.lds Some boards (sc3, cm5200, munices) provided their own u-boot.lds that were dead code, because they were overridden by a CPUDIR u-boot.lds under the old powerpc rules. These boards' own u-boot.lds have bitrotted and no longer work -- these lds files have been removed. Signed-off-by: Scott Wood <scottwood@freescale.com> Tested-by: Graeme Russ <graeme.russ@gmail.com> |
||
---|---|---|
.. | ||
common | ||
corenet_ds | ||
m547xevb | ||
m548xevb | ||
m5208evbe | ||
m5235evb | ||
m5249evb | ||
m5253demo | ||
m5253evbe | ||
m5271evb | ||
m5272c3 | ||
m5275evb | ||
m5282evb | ||
m5329evb | ||
m5373evb | ||
m52277evb | ||
m53017evb | ||
m54451evb | ||
m54455evb | ||
mpc832xemds | ||
mpc837xemds | ||
mpc837xerdb | ||
mpc5121ads | ||
mpc7448hpc2 | ||
mpc8260ads | ||
mpc8266ads | ||
mpc8308rdb | ||
mpc8313erdb | ||
mpc8315erdb | ||
mpc8323erdb | ||
mpc8349emds | ||
mpc8349itx | ||
mpc8360emds | ||
mpc8360erdk | ||
mpc8536ds | ||
mpc8540ads | ||
mpc8541cds | ||
mpc8544ds | ||
mpc8548cds | ||
mpc8555cds | ||
mpc8560ads | ||
mpc8568mds | ||
mpc8569mds | ||
mpc8572ds | ||
mpc8610hpcd | ||
mpc8641hpcn | ||
mx31ads | ||
mx31pdk | ||
mx35pdk | ||
mx51evk | ||
mx53evk | ||
p1_p2_rdb | ||
p1022ds | ||
p2020ds |