| 1 | ## SPDX-License-Identifier: GPL-2.0-only |
| 2 | |
| 3 | # Add files spd_0.bin to spd_20.bin to the cbfs image |
| 4 | SPD_BINS := $(shell seq 0 20) |
| 5 | define SPD_template |
| 6 | cbfs-files-y += spd_$(1).bin |
| 7 | spd_$(1).bin-file := spd/spd_$(1).bin |
| 8 | spd_$(1).bin-type := raw |
| 9 | endef |
| 10 | $(foreach n,$(SPD_BINS),$(eval $(call SPD_template,$(n)))) |