2013-01-03 02:41:51 +01:00
|
|
|
# Run an intermediate step when producing coreboot.rom
|
|
|
|
# that adds additional components to the final firmware
|
|
|
|
# image outside of CBFS
|
2013-04-26 03:00:58 +02:00
|
|
|
INTERMEDIATE += exynos5250_add_bl1
|
2013-01-03 02:41:51 +01:00
|
|
|
|
2013-05-14 22:32:33 +02:00
|
|
|
bootblock-y += spi.c
|
2013-04-25 11:38:55 +02:00
|
|
|
bootblock-y += pinmux.c mct.c power.c
|
2013-02-08 06:49:10 +01:00
|
|
|
# Clock is required for UART
|
2013-06-06 09:21:20 +02:00
|
|
|
bootblock-$(CONFIG_BOOTBLOCK_CONSOLE) += clock_init.c
|
|
|
|
bootblock-$(CONFIG_BOOTBLOCK_CONSOLE) += clock.c
|
|
|
|
bootblock-$(CONFIG_BOOTBLOCK_CONSOLE) += monotonic_timer.c
|
2013-06-20 00:51:04 +02:00
|
|
|
ifeq ($(CONFIG_CONSOLE_SERIAL_UART),y)
|
2013-06-06 09:21:20 +02:00
|
|
|
bootblock-$(CONFIG_BOOTBLOCK_CONSOLE) += uart.c
|
2013-06-20 00:51:04 +02:00
|
|
|
endif
|
2013-05-11 01:21:58 +02:00
|
|
|
bootblock-y += wakeup.c
|
2013-05-14 22:32:33 +02:00
|
|
|
bootblock-y += gpio.c
|
2013-06-06 09:21:20 +02:00
|
|
|
bootblock-$(CONFIG_BOOTBLOCK_CONSOLE) += pwm.c
|
|
|
|
bootblock-$(CONFIG_BOOTBLOCK_CONSOLE) += timer.c
|
2013-02-04 04:13:36 +01:00
|
|
|
|
2013-05-14 22:32:33 +02:00
|
|
|
romstage-y += spi.c
|
2012-12-08 02:18:43 +01:00
|
|
|
romstage-y += clock.c
|
|
|
|
romstage-y += clock_init.c
|
2013-05-15 01:57:50 +02:00
|
|
|
romstage-y += pinmux.c # required by s3c24x0_i2c and uart.
|
2013-01-29 23:35:35 +01:00
|
|
|
romstage-y += dmc_common.c
|
|
|
|
romstage-y += dmc_init_ddr3.c
|
2013-03-13 05:28:07 +01:00
|
|
|
romstage-y += power.c
|
2013-04-12 00:03:28 +02:00
|
|
|
romstage-y += mct.c
|
2013-05-02 23:23:51 +02:00
|
|
|
romstage-y += monotonic_timer.c
|
2013-06-20 00:51:04 +02:00
|
|
|
ifeq ($(CONFIG_CONSOLE_SERIAL_UART),y)
|
2013-02-06 15:01:18 +01:00
|
|
|
romstage-$(CONFIG_EARLY_CONSOLE) += uart.c
|
2013-06-20 00:51:04 +02:00
|
|
|
endif
|
2013-05-11 01:21:58 +02:00
|
|
|
romstage-y += wakeup.c
|
2013-05-14 22:32:33 +02:00
|
|
|
romstage-y += pwm.c # needed by timer.c
|
|
|
|
romstage-y += gpio.c
|
|
|
|
romstage-y += timer.c
|
|
|
|
romstage-y += i2c.c
|
|
|
|
#romstage-y += wdt.c
|
2012-12-08 02:18:43 +01:00
|
|
|
|
2013-05-14 22:32:33 +02:00
|
|
|
ramstage-y += spi.c
|
2012-12-08 02:18:43 +01:00
|
|
|
ramstage-y += clock.c
|
|
|
|
ramstage-y += clock_init.c
|
|
|
|
ramstage-y += pinmux.c
|
|
|
|
ramstage-y += power.c
|
2013-02-06 15:01:18 +01:00
|
|
|
ramstage-$(CONFIG_CONSOLE_SERIAL_UART) += uart.c
|
2013-02-16 01:18:28 +01:00
|
|
|
ramstage-y += cpu.c
|
2013-05-15 01:57:50 +02:00
|
|
|
ramstage-y += tmu.c
|
2013-04-12 00:03:28 +02:00
|
|
|
ramstage-y += mct.c
|
2013-05-02 23:23:51 +02:00
|
|
|
ramstage-y += monotonic_timer.c
|
2013-05-14 22:32:33 +02:00
|
|
|
ramstage-y += pwm.c # needed by timer.c
|
|
|
|
ramstage-y += timer.c
|
|
|
|
ramstage-y += gpio.c
|
|
|
|
ramstage-y += i2c.c
|
2013-05-15 01:57:50 +02:00
|
|
|
ramstage-y += dp-reg.c
|
|
|
|
ramstage-y += fb.c
|
2013-05-17 20:52:45 +02:00
|
|
|
ramstage-y += usb.c
|
2013-01-03 02:41:51 +01:00
|
|
|
|
|
|
|
exynos5250_add_bl1: $(obj)/coreboot.pre
|
|
|
|
printf " DD Adding Samsung Exynos5250 BL1\n"
|
2013-07-10 02:48:03 +02:00
|
|
|
dd if=3rdparty/cpu/samsung/exynos5250/bl1.bin \
|
2013-01-03 02:41:51 +01:00
|
|
|
of=$(obj)/coreboot.pre conv=notrunc >/dev/null 2>&1
|