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 | |
| 6 | bootblock-y += spi.c |
| 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 |
Stefan Reinauer | 062c17b | 2013-06-19 15:51:04 -0700 | [diff] [blame] | 12 | ifeq ($(CONFIG_CONSOLE_SERIAL_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 | |
| 19 | romstage-y += spi.c |
| 20 | romstage-y += clock.c |
| 21 | romstage-y += clock_init.c |
| 22 | romstage-y += pinmux.c # required by s3c24x0_i2c and uart. |
| 23 | romstage-y += dmc_common.c |
| 24 | romstage-y += dmc_init_ddr3.c |
| 25 | romstage-y += power.c |
| 26 | romstage-y += mct.c |
| 27 | romstage-y += monotonic_timer.c |
Stefan Reinauer | 062c17b | 2013-06-19 15:51:04 -0700 | [diff] [blame] | 28 | ifeq ($(CONFIG_CONSOLE_SERIAL_UART),y) |
Gabe Black | 607c0b6 | 2013-05-16 05:45:57 -0700 | [diff] [blame] | 29 | romstage-$(CONFIG_EARLY_CONSOLE) += uart.c |
Stefan Reinauer | 062c17b | 2013-06-19 15:51:04 -0700 | [diff] [blame] | 30 | endif |
Gabe Black | 607c0b6 | 2013-05-16 05:45:57 -0700 | [diff] [blame] | 31 | romstage-y += wakeup.c |
Gabe Black | 607c0b6 | 2013-05-16 05:45:57 -0700 | [diff] [blame] | 32 | romstage-y += gpio.c |
| 33 | romstage-y += timer.c |
| 34 | romstage-y += i2c.c |
| 35 | #romstage-y += wdt.c |
Stefan Reinauer | 80e6293 | 2013-07-29 15:52:23 -0700 | [diff] [blame] | 36 | romstage-y += cbmem.c |
Gabe Black | 607c0b6 | 2013-05-16 05:45:57 -0700 | [diff] [blame] | 37 | |
| 38 | ramstage-y += spi.c |
| 39 | ramstage-y += clock.c |
| 40 | ramstage-y += clock_init.c |
| 41 | ramstage-y += pinmux.c |
| 42 | ramstage-y += power.c |
| 43 | ramstage-$(CONFIG_CONSOLE_SERIAL_UART) += uart.c |
| 44 | ramstage-y += cpu.c |
| 45 | ramstage-y += tmu.c |
| 46 | ramstage-y += mct.c |
| 47 | ramstage-y += monotonic_timer.c |
Gabe Black | 607c0b6 | 2013-05-16 05:45:57 -0700 | [diff] [blame] | 48 | ramstage-y += timer.c |
| 49 | ramstage-y += gpio.c |
| 50 | ramstage-y += i2c.c |
Ronald G. Minnich | c0d5eb2 | 2013-08-01 11:38:05 -0700 | [diff] [blame^] | 51 | ramstage-y += dp.c dp_lowlevel.c fimd.c |
Stefan Reinauer | 3a0d0d8 | 2013-06-20 16:13:19 -0700 | [diff] [blame] | 52 | ramstage-y += usb.c |
Stefan Reinauer | 80e6293 | 2013-07-29 15:52:23 -0700 | [diff] [blame] | 53 | ramstage-y += cbmem.c |
Gabe Black | 607c0b6 | 2013-05-16 05:45:57 -0700 | [diff] [blame] | 54 | |
| 55 | exynos5420_add_bl1: $(obj)/coreboot.pre |
| 56 | printf " DD Adding Samsung Exynos5420 BL1\n" |
| 57 | dd if=3rdparty/cpu/samsung/exynos5420/bl1.bin \ |
| 58 | of=$(obj)/coreboot.pre conv=notrunc >/dev/null 2>&1 |