mb/google/nissa/var/rull: Add 6W and 15W DPTF parameters
[coreboot.git] / src / soc / qualcomm / ipq40xx / Makefile.mk
blobbd61a62a45c3ef107ed84f082fab3cc2469d0f1a
1 ## SPDX-License-Identifier: GPL-2.0-only
3 ifeq ($(CONFIG_SOC_QC_IPQ40XX),y)
5 bootblock-y += clock.c
6 bootblock-y += gpio.c
7 bootblock-$(CONFIG_SPI_FLASH) += spi.c
8 bootblock-y += timer.c
9 bootblock-y += uart.c
11 verstage-y += clock.c
12 verstage-y += gpio.c
13 verstage-y += blsp.c
14 verstage-y += i2c.c
15 verstage-y += qup.c
16 verstage-y += spi.c
17 verstage-y += timer.c
18 verstage-y += uart.c
20 romstage-y += clock.c
21 romstage-y += blobs_init.c
22 romstage-y += gpio.c
23 romstage-$(CONFIG_SPI_FLASH) += spi.c
24 romstage-y += timer.c
25 romstage-y += uart.c
26 romstage-y += cbmem.c
27 romstage-y += i2c.c
28 romstage-y += blsp.c
29 romstage-y += qup.c
31 ramstage-y += blobs_init.c
32 ramstage-y += clock.c
33 ramstage-y += gpio.c
34 ramstage-y += lcc.c
35 ramstage-y += soc.c
36 ramstage-$(CONFIG_SPI_FLASH) += spi.c
37 ramstage-y += timer.c
38 ramstage-y += uart.c # Want the UART always ready for the kernels' earlyprintk
39 ramstage-y += usb.c
40 ramstage-y += tz_wrapper.S
42 ramstage-y += blsp.c
43 ramstage-y += i2c.c
44 ramstage-y += qup.c
45 ramstage-y += spi.c
47 ifeq ($(CONFIG_USE_BLOBS),y)
49 $(objcbfs)/bootblock.bin: $(call strip_quotes,$(CONFIG_SBL_ELF)) \
50 $(objcbfs)/bootblock.elf
51 @printf " CRXBL $(subst $(obj)/,,$(^)) $(subst $(obj)/,,$(@))\n"
52 @$(CONFIG_SBL_UTIL_PATH)/createxbl.py -f $(CONFIG_SBL_ELF) \
53 -s $(objcbfs)/bootblock.elf -o $@ -a 32 -b 32
55 endif
57 CPPFLAGS_common += -Isrc/soc/qualcomm/ipq40xx/include
59 # List of binary blobs coreboot needs in CBFS to be able to boot up this SOC
60 mbn-files := $(CONFIG_CDT_MBN) $(CONFIG_DDR_MBN) $(CONFIG_TZ_MBN)
62 # Location of the binary blobs
63 mbn-root := 3rdparty/blobs/cpu/qualcomm/ipq40xx
65 # Create make variables to aid cbfs-files-handler in processing the blobs (add
66 # them all as raw binaries at the root level).
67 $(foreach f,$(mbn-files),$(eval cbfs-files-y += $(f))\
68 $(eval $(f)-file := $(mbn-root)/$(f))\
69 $(eval $(f)-type := raw))
71 endif