blob: 1dddd21ebdf0308b419850a322aca7484a7209e4 [file] [log] [blame]
Gabe Black607c0b62013-05-16 05:45:57 -07001# Run an intermediate step when producing coreboot.rom
2# that adds additional components to the final firmware
3# image outside of CBFS
4INTERMEDIATE += exynos5420_add_bl1
5
6bootblock-y += spi.c
7bootblock-y += pinmux.c mct.c power.c
8# Clock is required for UART
Gabe Blackfbb11cf2013-06-06 00:21:20 -07009bootblock-$(CONFIG_BOOTBLOCK_CONSOLE) += clock_init.c
10bootblock-$(CONFIG_BOOTBLOCK_CONSOLE) += clock.c
11bootblock-$(CONFIG_BOOTBLOCK_CONSOLE) += monotonic_timer.c
12bootblock-$(CONFIG_BOOTBLOCK_CONSOLE) += uart.c
Gabe Black607c0b62013-05-16 05:45:57 -070013bootblock-y += wakeup.c
14bootblock-y += gpio.c
Gabe Blackfbb11cf2013-06-06 00:21:20 -070015bootblock-$(CONFIG_BOOTBLOCK_CONSOLE) += pwm.c
16bootblock-$(CONFIG_BOOTBLOCK_CONSOLE) += timer.c
Gabe Black607c0b62013-05-16 05:45:57 -070017
18romstage-y += spi.c
19romstage-y += clock.c
20romstage-y += clock_init.c
21romstage-y += pinmux.c # required by s3c24x0_i2c and uart.
22romstage-y += dmc_common.c
23romstage-y += dmc_init_ddr3.c
24romstage-y += power.c
25romstage-y += mct.c
26romstage-y += monotonic_timer.c
27romstage-$(CONFIG_EARLY_CONSOLE) += uart.c
28romstage-y += wakeup.c
29romstage-y += pwm.c # needed by timer.c
30romstage-y += gpio.c
31romstage-y += timer.c
32romstage-y += i2c.c
33#romstage-y += wdt.c
34
35ramstage-y += spi.c
36ramstage-y += clock.c
37ramstage-y += clock_init.c
38ramstage-y += pinmux.c
39ramstage-y += power.c
40ramstage-$(CONFIG_CONSOLE_SERIAL_UART) += uart.c
41ramstage-y += cpu.c
42ramstage-y += tmu.c
43ramstage-y += mct.c
44ramstage-y += monotonic_timer.c
45ramstage-y += pwm.c # needed by timer.c
46ramstage-y += timer.c
47ramstage-y += gpio.c
48ramstage-y += i2c.c
49ramstage-y += dp-reg.c
50ramstage-y += fb.c
51
52exynos5420_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