Julius Werner | 45d2ff3 | 2013-08-12 18:04:06 -0700 | [diff] [blame] | 1 | bootblock-y += spi.c alternate_cbfs.c |
Gabe Black | 8b68539 | 2013-09-29 03:02:55 -0700 | [diff] [blame^] | 2 | bootblock-y += bootblock.c |
Gabe Black | 607c0b6 | 2013-05-16 05:45:57 -0700 | [diff] [blame] | 3 | bootblock-y += pinmux.c mct.c power.c |
| 4 | # Clock is required for UART |
Gabe Black | fbb11cf | 2013-06-06 00:21:20 -0700 | [diff] [blame] | 5 | bootblock-$(CONFIG_BOOTBLOCK_CONSOLE) += clock_init.c |
| 6 | bootblock-$(CONFIG_BOOTBLOCK_CONSOLE) += clock.c |
| 7 | bootblock-$(CONFIG_BOOTBLOCK_CONSOLE) += monotonic_timer.c |
Kyösti Mälkki | afa7b13 | 2014-02-13 17:16:22 +0200 | [diff] [blame] | 8 | ifeq ($(CONFIG_DRIVERS_UART),y) |
Gabe Black | fbb11cf | 2013-06-06 00:21:20 -0700 | [diff] [blame] | 9 | bootblock-$(CONFIG_BOOTBLOCK_CONSOLE) += uart.c |
Stefan Reinauer | 062c17b | 2013-06-19 15:51:04 -0700 | [diff] [blame] | 10 | endif |
Gabe Black | 607c0b6 | 2013-05-16 05:45:57 -0700 | [diff] [blame] | 11 | bootblock-y += wakeup.c |
| 12 | bootblock-y += gpio.c |
Gabe Black | fbb11cf | 2013-06-06 00:21:20 -0700 | [diff] [blame] | 13 | bootblock-$(CONFIG_BOOTBLOCK_CONSOLE) += timer.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 |
| 23 | romstage-y += mct.c |
| 24 | romstage-y += monotonic_timer.c |
Kyösti Mälkki | afa7b13 | 2014-02-13 17:16:22 +0200 | [diff] [blame] | 25 | ifeq ($(CONFIG_DRIVERS_UART),y) |
Kyösti Mälkki | 48713a1 | 2014-04-15 18:19:48 +0300 | [diff] [blame] | 26 | romstage-y += uart.c |
Stefan Reinauer | 062c17b | 2013-06-19 15:51:04 -0700 | [diff] [blame] | 27 | endif |
Gabe Black | 607c0b6 | 2013-05-16 05:45:57 -0700 | [diff] [blame] | 28 | romstage-y += wakeup.c |
Gabe Black | 607c0b6 | 2013-05-16 05:45:57 -0700 | [diff] [blame] | 29 | romstage-y += gpio.c |
| 30 | romstage-y += timer.c |
| 31 | romstage-y += i2c.c |
| 32 | #romstage-y += wdt.c |
Stefan Reinauer | 80e6293 | 2013-07-29 15:52:23 -0700 | [diff] [blame] | 33 | romstage-y += cbmem.c |
Gabe Black | 8128a56 | 2013-09-18 05:48:37 -0700 | [diff] [blame] | 34 | romstage-y += trustzone.c |
Gabe Black | 607c0b6 | 2013-05-16 05:45:57 -0700 | [diff] [blame] | 35 | |
Julius Werner | 45d2ff3 | 2013-08-12 18:04:06 -0700 | [diff] [blame] | 36 | ramstage-y += spi.c alternate_cbfs.c |
Gabe Black | 607c0b6 | 2013-05-16 05:45:57 -0700 | [diff] [blame] | 37 | ramstage-y += clock.c |
| 38 | ramstage-y += clock_init.c |
| 39 | ramstage-y += pinmux.c |
| 40 | ramstage-y += power.c |
Kyösti Mälkki | afa7b13 | 2014-02-13 17:16:22 +0200 | [diff] [blame] | 41 | ramstage-$(CONFIG_DRIVERS_UART) += uart.c |
Gabe Black | 607c0b6 | 2013-05-16 05:45:57 -0700 | [diff] [blame] | 42 | ramstage-y += cpu.c |
| 43 | ramstage-y += tmu.c |
| 44 | ramstage-y += mct.c |
| 45 | ramstage-y += monotonic_timer.c |
Gabe Black | 607c0b6 | 2013-05-16 05:45:57 -0700 | [diff] [blame] | 46 | ramstage-y += timer.c |
| 47 | ramstage-y += gpio.c |
| 48 | ramstage-y += i2c.c |
Ronald G. Minnich | c0d5eb2 | 2013-08-01 11:38:05 -0700 | [diff] [blame] | 49 | ramstage-y += dp.c dp_lowlevel.c fimd.c |
Stefan Reinauer | 3a0d0d8 | 2013-06-20 16:13:19 -0700 | [diff] [blame] | 50 | ramstage-y += usb.c |
Stefan Reinauer | 80e6293 | 2013-07-29 15:52:23 -0700 | [diff] [blame] | 51 | ramstage-y += cbmem.c |
Gabe Black | 607c0b6 | 2013-05-16 05:45:57 -0700 | [diff] [blame] | 52 | |
Gabe Black | 4f3873d | 2013-09-26 23:21:57 -0700 | [diff] [blame] | 53 | # Run an intermediate step when producing coreboot.rom |
| 54 | # that adds additional components to the final firmware |
| 55 | # image outside of CBFS |
| 56 | .PHONY: exynos5420_add_bl1 |
| 57 | $(obj)/coreboot.rom: exynos5420_add_bl1 |
Gabe Black | 607c0b6 | 2013-05-16 05:45:57 -0700 | [diff] [blame] | 58 | exynos5420_add_bl1: $(obj)/coreboot.pre |
| 59 | printf " DD Adding Samsung Exynos5420 BL1\n" |
| 60 | dd if=3rdparty/cpu/samsung/exynos5420/bl1.bin \ |
| 61 | of=$(obj)/coreboot.pre conv=notrunc >/dev/null 2>&1 |