xref: /aosp_15_r20/external/coreboot/src/soc/samsung/exynos5250/Makefile.mk (revision b9411a12aaaa7e1e6a6fb7c5e057f44ee179a49c)
1## SPDX-License-Identifier: GPL-2.0-only
2ifeq ($(CONFIG_CPU_SAMSUNG_EXYNOS5250),y)
3
4bootblock-y += spi.c alternate_cbfs.c
5bootblock-y += bootblock.c
6bootblock-y += pinmux.c timer.c power.c
7# Clock is required for UART
8bootblock-y += clock_init.c
9bootblock-y += clock.c
10bootblock-y += uart.c
11bootblock-y += wakeup.c
12bootblock-y += gpio.c
13
14romstage-y += spi.c alternate_cbfs.c
15romstage-y += clock.c
16romstage-y += clock_init.c
17romstage-y += pinmux.c  # required by s3c24x0_i2c and uart.
18romstage-y += dmc_common.c
19romstage-y += dmc_init_ddr3.c
20romstage-y += power.c
21romstage-y += timer.c
22romstage-y += uart.c
23romstage-y += wakeup.c
24romstage-y += gpio.c
25romstage-y += trustzone.c
26romstage-y += i2c.c
27#romstage-y += wdt.c
28romstage-y += cbmem.c
29
30ramstage-y += spi.c alternate_cbfs.c
31ramstage-y += clock.c
32ramstage-y += clock_init.c
33ramstage-y += pinmux.c
34ramstage-y += power.c
35ramstage-y += uart.c
36ramstage-y += cpu.c
37ramstage-y += tmu.c
38ramstage-y += timer.c
39ramstage-y += gpio.c
40ramstage-y += i2c.c
41ramstage-y += dp-reg.c
42ramstage-y += fb.c
43ramstage-y += usb.c
44
45CPPFLAGS_common += -Isrc/soc/samsung/common/include/
46CPPFLAGS_common += -Isrc/soc/samsung/exynos5250/include/
47
48$(objcbfs)/bootblock.bin: $(objcbfs)/bootblock.raw.bin
49	@printf "    BL1, CKSUM $(subst $(obj)/,,$(@))\n"
50	util/exynos/fixed_cksum.py $< $<.cksum 32768
51	cat 3rdparty/blobs/cpu/samsung/exynos5250/bl1.bin $<.cksum > $@
52
53endif
54