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 |
Gabe Black | fbb11cf | 2013-06-06 00:21:20 -0700 | [diff] [blame] | 7 | bootblock-$(CONFIG_BOOTBLOCK_CONSOLE) += clock_init.c |
| 8 | bootblock-$(CONFIG_BOOTBLOCK_CONSOLE) += clock.c |
Kyösti Mälkki | afa7b13 | 2014-02-13 17:16:22 +0200 | [diff] [blame] | 9 | ifeq ($(CONFIG_DRIVERS_UART),y) |
Gabe Black | fbb11cf | 2013-06-06 00:21:20 -0700 | [diff] [blame] | 10 | bootblock-$(CONFIG_BOOTBLOCK_CONSOLE) += uart.c |
Stefan Reinauer | 062c17b | 2013-06-19 15:51:04 -0700 | [diff] [blame] | 11 | endif |
Gabe Black | 607c0b6 | 2013-05-16 05:45:57 -0700 | [diff] [blame] | 12 | bootblock-y += wakeup.c |
| 13 | bootblock-y += gpio.c |
Gabe Black | 607c0b6 | 2013-05-16 05:45:57 -0700 | [diff] [blame] | 14 | |
Julius Werner | 45d2ff3 | 2013-08-12 18:04:06 -0700 | [diff] [blame] | 15 | romstage-y += spi.c alternate_cbfs.c |
Hung-Te Lin | 0682cfe | 2013-08-06 20:37:55 +0800 | [diff] [blame] | 16 | romstage-y += smp.c |
Gabe Black | 607c0b6 | 2013-05-16 05:45:57 -0700 | [diff] [blame] | 17 | romstage-y += clock.c |
| 18 | romstage-y += clock_init.c |
| 19 | romstage-y += pinmux.c # required by s3c24x0_i2c and uart. |
| 20 | romstage-y += dmc_common.c |
| 21 | romstage-y += dmc_init_ddr3.c |
| 22 | romstage-y += power.c |
Julius Werner | 8d978a8 | 2014-12-08 13:16:03 -0800 | [diff] [blame] | 23 | romstage-y += timer.c |
Edward O'Callaghan | 72a9beb | 2014-12-26 12:08:11 +1100 | [diff] [blame] | 24 | romstage-$(CONFIG_DRIVERS_UART) += uart.c |
Gabe Black | 607c0b6 | 2013-05-16 05:45:57 -0700 | [diff] [blame] | 25 | romstage-y += wakeup.c |
Gabe Black | 607c0b6 | 2013-05-16 05:45:57 -0700 | [diff] [blame] | 26 | romstage-y += gpio.c |
Gabe Black | 607c0b6 | 2013-05-16 05:45:57 -0700 | [diff] [blame] | 27 | romstage-y += i2c.c |
| 28 | #romstage-y += wdt.c |
Stefan Reinauer | 80e6293 | 2013-07-29 15:52:23 -0700 | [diff] [blame] | 29 | romstage-y += cbmem.c |
Gabe Black | 8128a56 | 2013-09-18 05:48:37 -0700 | [diff] [blame] | 30 | romstage-y += trustzone.c |
Gabe Black | 607c0b6 | 2013-05-16 05:45:57 -0700 | [diff] [blame] | 31 | |
Julius Werner | 45d2ff3 | 2013-08-12 18:04:06 -0700 | [diff] [blame] | 32 | ramstage-y += spi.c alternate_cbfs.c |
Gabe Black | 607c0b6 | 2013-05-16 05:45:57 -0700 | [diff] [blame] | 33 | ramstage-y += clock.c |
| 34 | ramstage-y += clock_init.c |
| 35 | ramstage-y += pinmux.c |
| 36 | ramstage-y += power.c |
Kyösti Mälkki | afa7b13 | 2014-02-13 17:16:22 +0200 | [diff] [blame] | 37 | ramstage-$(CONFIG_DRIVERS_UART) += uart.c |
Gabe Black | 607c0b6 | 2013-05-16 05:45:57 -0700 | [diff] [blame] | 38 | ramstage-y += cpu.c |
| 39 | ramstage-y += tmu.c |
Julius Werner | 8d978a8 | 2014-12-08 13:16:03 -0800 | [diff] [blame] | 40 | ramstage-y += timer.c |
Gabe Black | 607c0b6 | 2013-05-16 05:45:57 -0700 | [diff] [blame] | 41 | ramstage-y += gpio.c |
| 42 | ramstage-y += i2c.c |
Ronald G. Minnich | c0d5eb2 | 2013-08-01 11:38:05 -0700 | [diff] [blame] | 43 | ramstage-y += dp.c dp_lowlevel.c fimd.c |
Stefan Reinauer | 3a0d0d8 | 2013-06-20 16:13:19 -0700 | [diff] [blame] | 44 | ramstage-y += usb.c |
Stefan Reinauer | 80e6293 | 2013-07-29 15:52:23 -0700 | [diff] [blame] | 45 | ramstage-y += cbmem.c |
Gabe Black | 607c0b6 | 2013-05-16 05:45:57 -0700 | [diff] [blame] | 46 | |
Julius Werner | 8d978a8 | 2014-12-08 13:16:03 -0800 | [diff] [blame] | 47 | rmodules_$(ARCH-ROMSTAGE-y)-y += timer.c |
Furquan Shaikh | fbff908 | 2014-07-22 15:59:16 -0700 | [diff] [blame] | 48 | |
Julius Werner | 80af442 | 2014-10-20 13:18:56 -0700 | [diff] [blame] | 49 | CPPFLAGS_common += -Isrc/soc/samsung/exynos5420/include/ |
| 50 | |
Gabe Black | b6b1077 | 2013-12-08 12:48:45 -0800 | [diff] [blame] | 51 | $(objcbfs)/bootblock.bin: $(objcbfs)/bootblock.raw.bin |
| 52 | @printf " BL1, CKSUM $(subst $(obj)/,,$(@))\n" |
| 53 | util/exynos/variable_cksum.py $< $<.cksum |
Patrick Georgi | 26e24cc | 2015-05-05 22:27:25 +0200 | [diff] [blame] | 54 | cat 3rdparty/blobs/cpu/samsung/exynos5420/bl1.bin $<.cksum > $@ |
Stefan Reinauer | aae53ab | 2015-04-27 14:03:57 -0700 | [diff] [blame] | 55 | |
| 56 | endif |