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 |
| 9 | bootblock-$(CONFIG_EARLY_CONSOLE) += clock_init.c |
| 10 | bootblock-$(CONFIG_EARLY_CONSOLE) += clock.c |
| 11 | bootblock-$(CONFIG_EARLY_CONSOLE) += monotonic_timer.c |
| 12 | bootblock-$(CONFIG_EARLY_CONSOLE) += uart.c |
| 13 | bootblock-y += wakeup.c |
| 14 | bootblock-y += gpio.c |
| 15 | bootblock-$(CONFIG_EARLY_CONSOLE) += pwm.c |
| 16 | bootblock-$(CONFIG_EARLY_CONSOLE) += timer.c |
| 17 | |
| 18 | romstage-y += spi.c |
| 19 | romstage-y += clock.c |
| 20 | romstage-y += clock_init.c |
| 21 | romstage-y += pinmux.c # required by s3c24x0_i2c and uart. |
| 22 | romstage-y += dmc_common.c |
| 23 | romstage-y += dmc_init_ddr3.c |
| 24 | romstage-y += power.c |
| 25 | romstage-y += mct.c |
| 26 | romstage-y += monotonic_timer.c |
| 27 | romstage-$(CONFIG_EARLY_CONSOLE) += uart.c |
| 28 | romstage-y += wakeup.c |
| 29 | romstage-y += pwm.c # needed by timer.c |
| 30 | romstage-y += gpio.c |
| 31 | romstage-y += timer.c |
| 32 | romstage-y += i2c.c |
| 33 | #romstage-y += wdt.c |
| 34 | |
| 35 | ramstage-y += spi.c |
| 36 | ramstage-y += clock.c |
| 37 | ramstage-y += clock_init.c |
| 38 | ramstage-y += pinmux.c |
| 39 | ramstage-y += power.c |
| 40 | ramstage-$(CONFIG_CONSOLE_SERIAL_UART) += uart.c |
| 41 | ramstage-y += cpu.c |
| 42 | ramstage-y += tmu.c |
| 43 | ramstage-y += mct.c |
| 44 | ramstage-y += monotonic_timer.c |
| 45 | ramstage-y += pwm.c # needed by timer.c |
| 46 | ramstage-y += timer.c |
| 47 | ramstage-y += gpio.c |
| 48 | ramstage-y += i2c.c |
| 49 | ramstage-y += dp-reg.c |
| 50 | ramstage-y += fb.c |
| 51 | |
| 52 | exynos5420_add_bl1: $(obj)/coreboot.pre |
| 53 | printf " DD Adding Samsung Exynos5420 BL1\n" |
| 54 | dd if=3rdparty/cpu/samsung/exynos5420/bl1.bin \ |
| 55 | of=$(obj)/coreboot.pre conv=notrunc >/dev/null 2>&1 |