Stefan Reinauer | aae53ab | 2015-04-27 14:03:57 -0700 | [diff] [blame] | 1 | ifeq ($(CONFIG_CPU_SAMSUNG_EXYNOS5420),y) |
| 2 | |
Julius Werner | 45d2ff3 | 2013-08-12 18:04:06 -0700 | [diff] [blame] | 3 | bootblock-y += spi.c alternate_cbfs.c |
Gabe Black | 8b68539 | 2013-09-29 03:02:55 -0700 | [diff] [blame] | 4 | bootblock-y += bootblock.c |
Julius Werner | 8d978a8 | 2014-12-08 13:16:03 -0800 | [diff] [blame] | 5 | bootblock-y += pinmux.c timer.c power.c |
Gabe Black | 607c0b6 | 2013-05-16 05:45:57 -0700 | [diff] [blame] | 6 | # Clock is required for UART |
Nico Huber | 755db95 | 2018-11-11 01:42:17 +0100 | [diff] [blame] | 7 | bootblock-y += clock_init.c |
| 8 | bootblock-y += clock.c |
| 9 | bootblock-y += uart.c |
Gabe Black | 607c0b6 | 2013-05-16 05:45:57 -0700 | [diff] [blame] | 10 | bootblock-y += wakeup.c |
| 11 | bootblock-y += gpio.c |
Gabe Black | 607c0b6 | 2013-05-16 05:45:57 -0700 | [diff] [blame] | 12 | |
Julius Werner | 45d2ff3 | 2013-08-12 18:04:06 -0700 | [diff] [blame] | 13 | romstage-y += spi.c alternate_cbfs.c |
Hung-Te Lin | 0682cfe | 2013-08-06 20:37:55 +0800 | [diff] [blame] | 14 | romstage-y += smp.c |
Gabe Black | 607c0b6 | 2013-05-16 05:45:57 -0700 | [diff] [blame] | 15 | romstage-y += clock.c |
| 16 | romstage-y += clock_init.c |
| 17 | romstage-y += pinmux.c # required by s3c24x0_i2c and uart. |
| 18 | romstage-y += dmc_common.c |
| 19 | romstage-y += dmc_init_ddr3.c |
| 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 |
Gabe Black | 607c0b6 | 2013-05-16 05:45:57 -0700 | [diff] [blame] | 23 | romstage-y += wakeup.c |
Gabe Black | 607c0b6 | 2013-05-16 05:45:57 -0700 | [diff] [blame] | 24 | romstage-y += gpio.c |
Gabe Black | 607c0b6 | 2013-05-16 05:45:57 -0700 | [diff] [blame] | 25 | romstage-y += i2c.c |
| 26 | #romstage-y += wdt.c |
Stefan Reinauer | 80e6293 | 2013-07-29 15:52:23 -0700 | [diff] [blame] | 27 | romstage-y += cbmem.c |
Gabe Black | 8128a56 | 2013-09-18 05:48:37 -0700 | [diff] [blame] | 28 | romstage-y += trustzone.c |
Gabe Black | 607c0b6 | 2013-05-16 05:45:57 -0700 | [diff] [blame] | 29 | |
Julius Werner | 45d2ff3 | 2013-08-12 18:04:06 -0700 | [diff] [blame] | 30 | ramstage-y += spi.c alternate_cbfs.c |
Gabe Black | 607c0b6 | 2013-05-16 05:45:57 -0700 | [diff] [blame] | 31 | ramstage-y += clock.c |
| 32 | ramstage-y += clock_init.c |
| 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 |
Gabe Black | 607c0b6 | 2013-05-16 05:45:57 -0700 | [diff] [blame] | 36 | ramstage-y += cpu.c |
| 37 | ramstage-y += tmu.c |
Julius Werner | 8d978a8 | 2014-12-08 13:16:03 -0800 | [diff] [blame] | 38 | ramstage-y += timer.c |
Gabe Black | 607c0b6 | 2013-05-16 05:45:57 -0700 | [diff] [blame] | 39 | ramstage-y += gpio.c |
| 40 | ramstage-y += i2c.c |
Ronald G. Minnich | c0d5eb2 | 2013-08-01 11:38:05 -0700 | [diff] [blame] | 41 | ramstage-y += dp.c dp_lowlevel.c fimd.c |
Stefan Reinauer | 3a0d0d8 | 2013-06-20 16:13:19 -0700 | [diff] [blame] | 42 | ramstage-y += usb.c |
Gabe Black | 607c0b6 | 2013-05-16 05:45:57 -0700 | [diff] [blame] | 43 | |
Julius Werner | 8d978a8 | 2014-12-08 13:16:03 -0800 | [diff] [blame] | 44 | rmodules_$(ARCH-ROMSTAGE-y)-y += timer.c |
Furquan Shaikh | fbff908 | 2014-07-22 15:59:16 -0700 | [diff] [blame] | 45 | |
Elyes HAOUAS | 59143bb | 2020-10-13 12:14:09 +0200 | [diff] [blame] | 46 | CPPFLAGS_common += -Isrc/soc/samsung/common/include/ |
Julius Werner | 80af442 | 2014-10-20 13:18:56 -0700 | [diff] [blame] | 47 | CPPFLAGS_common += -Isrc/soc/samsung/exynos5420/include/ |
| 48 | |
Gabe Black | b6b1077 | 2013-12-08 12:48:45 -0800 | [diff] [blame] | 49 | $(objcbfs)/bootblock.bin: $(objcbfs)/bootblock.raw.bin |
| 50 | @printf " BL1, CKSUM $(subst $(obj)/,,$(@))\n" |
| 51 | util/exynos/variable_cksum.py $< $<.cksum |
Patrick Georgi | 26e24cc | 2015-05-05 22:27:25 +0200 | [diff] [blame] | 52 | cat 3rdparty/blobs/cpu/samsung/exynos5420/bl1.bin $<.cksum > $@ |
Stefan Reinauer | aae53ab | 2015-04-27 14:03:57 -0700 | [diff] [blame] | 53 | |
| 54 | endif |