Lines Matching refs:spl

35 SPL_BIN := u-boot-spl
69 libs-$(CONFIG_SPL_FRAMEWORK) += common/spl/
72 libs-$(CONFIG_SPL_FRAMEWORK) += common/spl/
99 u-boot-spl-dirs := $(patsubst %/,%,$(filter %/, $(libs-y)))
109 u-boot-spl-init := $(head-y)
110 u-boot-spl-main := $(libs-y)
112 u-boot-spl-platdata := $(obj)/dts/dt-platdata.o
129 LDSCRIPT := $(srctree)/board/$(BOARDDIR)/u-boot-spl.lds
132 LDSCRIPT := $(srctree)/$(CPUDIR)/u-boot-spl.lds
135 LDSCRIPT := $(srctree)/arch/$(ARCH)/cpu/u-boot-spl.lds
161 MLO MLO.byteswap: $(obj)/u-boot-spl.bin FORCE
173 boot.bin: $(obj)/u-boot-spl.bin FORCE
184 spl/boot.bin: $(obj)/u-boot-spl.bin FORCE
191 ALL-y += $(obj)/$(BOARD)-spl.bin
199 ALL-y += $(obj)/sunxi-spl.bin
202 ALL-y += $(obj)/sunxi-spl-with-ecc.bin
210 ALL-$(CONFIG_SPL_X86_16BIT_INIT) += $(obj)/u-boot-x86-16bit-spl.bin
256 $(obj)/$(SPL_BIN).dtb: dts/dt-spl.dtb FORCE
291 $(obj)/$(BOARD)-spl.bin: $(obj)/u-boot-spl.bin
292 $(if $(wildcard $(objtree)/spl/board/samsung/$(BOARD)/tools/mk$(BOARD)spl),\
293 $(objtree)/spl/board/samsung/$(BOARD)/tools/mk$(BOARD)spl,\
306 OBJCOPYFLAGS_u-boot-x86-16bit-spl.bin := -O binary -j .start16 -j .resetvec
307 $(obj)/u-boot-x86-16bit-spl.bin: $(obj)/u-boot-spl FORCE
310 LDFLAGS_$(SPL_BIN) += -T u-boot-spl.lds $(LDFLAGS_FINAL)
332 $(obj)/sunxi-spl.bin: $(obj)/$(SPL_BIN).bin FORCE
336 cmd_sunxi_spl_image_builder = $(objtree)/tools/sunxi-spl-image-builder \
343 $(obj)/sunxi-spl-with-ecc.bin: $(obj)/sunxi-spl.bin
348 quiet_cmd_u-boot-spl ?= LD $@
349 cmd_u-boot-spl ?= (cd $(obj) && $(LD) $(LDFLAGS) $(LDFLAGS_$(@F)) \
350 $(patsubst $(obj)/%,%,$(u-boot-spl-init)) --start-group \
351 $(patsubst $(obj)/%,%,$(u-boot-spl-main)) \
352 $(patsubst $(obj)/%,%,$(u-boot-spl-platdata)) \
357 $(obj)/$(SPL_BIN): $(u-boot-spl-platdata) $(u-boot-spl-init) \
358 $(u-boot-spl-main) $(obj)/u-boot-spl.lds FORCE
359 $(call if_changed,u-boot-spl)
361 $(sort $(u-boot-spl-init) $(u-boot-spl-main)): $(u-boot-spl-dirs) ;
363 PHONY += $(u-boot-spl-dirs)
364 $(u-boot-spl-dirs): $(u-boot-spl-platdata)
371 $(obj)/u-boot-spl.lds: $(LDSCRIPT) FORCE