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