Martin Roth | 9231f0b | 2022-10-28 22:39:23 -0600 | [diff] [blame] | 1 | ## SPDX-License-Identifier: GPL-2.0-only |
Stefan Reinauer | aae53ab | 2015-04-27 14:03:57 -0700 | [diff] [blame] | 2 | ifeq ($(CONFIG_CPU_SAMSUNG_EXYNOS5250),y) |
| 3 | |
Julius Werner | ce011ec | 2013-08-06 16:00:37 -0700 | [diff] [blame] | 4 | bootblock-y += spi.c alternate_cbfs.c |
Gabe Black | 8b68539 | 2013-09-29 03:02:55 -0700 | [diff] [blame] | 5 | bootblock-y += bootblock.c |
Julius Werner | 8d978a8 | 2014-12-08 13:16:03 -0800 | [diff] [blame] | 6 | bootblock-y += pinmux.c timer.c power.c |
Hung-Te Lin | a40435a | 2013-02-08 13:49:10 +0800 | [diff] [blame] | 7 | # Clock is required for UART |
Nico Huber | 755db95 | 2018-11-11 01:42:17 +0100 | [diff] [blame] | 8 | bootblock-y += clock_init.c |
| 9 | bootblock-y += clock.c |
| 10 | bootblock-y += uart.c |
Stefan Reinauer | 043eb0e | 2013-05-10 16:21:58 -0700 | [diff] [blame] | 11 | bootblock-y += wakeup.c |
Stefan Reinauer | b98dec0 | 2013-05-14 13:32:33 -0700 | [diff] [blame] | 12 | bootblock-y += gpio.c |
David Hendricks | aa6701c | 2013-02-03 19:13:36 -0800 | [diff] [blame] | 13 | |
Julius Werner | ce011ec | 2013-08-06 16:00:37 -0700 | [diff] [blame] | 14 | romstage-y += spi.c alternate_cbfs.c |
Stefan Reinauer | 9fe20cb | 2012-12-07 17:18:43 -0800 | [diff] [blame] | 15 | romstage-y += clock.c |
| 16 | romstage-y += clock_init.c |
Stefan Reinauer | 08dc357 | 2013-05-14 16:57:50 -0700 | [diff] [blame] | 17 | romstage-y += pinmux.c # required by s3c24x0_i2c and uart. |
Ronald G. Minnich | b7e0535 | 2013-01-29 14:35:35 -0800 | [diff] [blame] | 18 | romstage-y += dmc_common.c |
| 19 | romstage-y += dmc_init_ddr3.c |
David Hendricks | d2bed05 | 2013-03-12 21:28:07 -0700 | [diff] [blame] | 20 | romstage-y += power.c |
Julius Werner | 8d978a8 | 2014-12-08 13:16:03 -0800 | [diff] [blame] | 21 | romstage-y += timer.c |
Nico Huber | 755db95 | 2018-11-11 01:42:17 +0100 | [diff] [blame] | 22 | romstage-y += uart.c |
Stefan Reinauer | 043eb0e | 2013-05-10 16:21:58 -0700 | [diff] [blame] | 23 | romstage-y += wakeup.c |
Stefan Reinauer | b98dec0 | 2013-05-14 13:32:33 -0700 | [diff] [blame] | 24 | romstage-y += gpio.c |
Gabe Black | 8128a56 | 2013-09-18 05:48:37 -0700 | [diff] [blame] | 25 | romstage-y += trustzone.c |
Stefan Reinauer | b98dec0 | 2013-05-14 13:32:33 -0700 | [diff] [blame] | 26 | romstage-y += i2c.c |
| 27 | #romstage-y += wdt.c |
Stefan Reinauer | 6628744 | 2013-06-19 15:54:19 -0700 | [diff] [blame] | 28 | romstage-y += cbmem.c |
Stefan Reinauer | 9fe20cb | 2012-12-07 17:18:43 -0800 | [diff] [blame] | 29 | |
Julius Werner | ce011ec | 2013-08-06 16:00:37 -0700 | [diff] [blame] | 30 | ramstage-y += spi.c alternate_cbfs.c |
Stefan Reinauer | 9fe20cb | 2012-12-07 17:18:43 -0800 | [diff] [blame] | 31 | ramstage-y += clock.c |
| 32 | ramstage-y += clock_init.c |
Stefan Reinauer | 9fe20cb | 2012-12-07 17:18:43 -0800 | [diff] [blame] | 33 | ramstage-y += pinmux.c |
| 34 | ramstage-y += power.c |
Nico Huber | 755db95 | 2018-11-11 01:42:17 +0100 | [diff] [blame] | 35 | ramstage-y += uart.c |
David Hendricks | 6802dc8 | 2013-02-15 16:18:28 -0800 | [diff] [blame] | 36 | ramstage-y += cpu.c |
Stefan Reinauer | 08dc357 | 2013-05-14 16:57:50 -0700 | [diff] [blame] | 37 | ramstage-y += tmu.c |
Julius Werner | 8d978a8 | 2014-12-08 13:16:03 -0800 | [diff] [blame] | 38 | ramstage-y += timer.c |
Stefan Reinauer | b98dec0 | 2013-05-14 13:32:33 -0700 | [diff] [blame] | 39 | ramstage-y += gpio.c |
| 40 | ramstage-y += i2c.c |
Stefan Reinauer | 08dc357 | 2013-05-14 16:57:50 -0700 | [diff] [blame] | 41 | ramstage-y += dp-reg.c |
| 42 | ramstage-y += fb.c |
Stefan Reinauer | 2ad63c2 | 2013-05-17 11:52:45 -0700 | [diff] [blame] | 43 | ramstage-y += usb.c |
David Hendricks | 4c2245e | 2013-01-02 17:41:51 -0800 | [diff] [blame] | 44 | |
Elyes HAOUAS | 59143bb | 2020-10-13 12:14:09 +0200 | [diff] [blame] | 45 | CPPFLAGS_common += -Isrc/soc/samsung/common/include/ |
Julius Werner | 1ed0c8c | 2014-10-20 13:16:29 -0700 | [diff] [blame] | 46 | CPPFLAGS_common += -Isrc/soc/samsung/exynos5250/include/ |
| 47 | |
Gabe Black | b6b1077 | 2013-12-08 12:48:45 -0800 | [diff] [blame] | 48 | $(objcbfs)/bootblock.bin: $(objcbfs)/bootblock.raw.bin |
| 49 | @printf " BL1, CKSUM $(subst $(obj)/,,$(@))\n" |
| 50 | util/exynos/fixed_cksum.py $< $<.cksum 32768 |
Patrick Georgi | 26e24cc | 2015-05-05 22:27:25 +0200 | [diff] [blame] | 51 | cat 3rdparty/blobs/cpu/samsung/exynos5250/bl1.bin $<.cksum > $@ |
Stefan Reinauer | aae53ab | 2015-04-27 14:03:57 -0700 | [diff] [blame] | 52 | |
| 53 | endif |