2018-05-31 03:20:53 +02:00
|
|
|
ifeq ($(CONFIG_SOC_MEDIATEK_MT8183),y)
|
|
|
|
|
2018-06-01 08:33:11 +02:00
|
|
|
bootblock-y += bootblock.c
|
2018-07-16 12:41:49 +02:00
|
|
|
bootblock-y += ../common/gpio.c gpio.c
|
2018-06-01 08:58:54 +02:00
|
|
|
bootblock-y += ../common/pll.c pll.c
|
2018-07-02 17:23:00 +02:00
|
|
|
bootblock-$(CONFIG_SPI_FLASH) += ../common/spi.c spi.c
|
2018-05-31 03:20:53 +02:00
|
|
|
bootblock-y += ../common/timer.c
|
|
|
|
ifeq ($(CONFIG_BOOTBLOCK_CONSOLE),y)
|
|
|
|
bootblock-$(CONFIG_DRIVERS_UART) += ../common/uart.c
|
|
|
|
endif
|
2018-06-01 08:33:11 +02:00
|
|
|
bootblock-y += ../common/wdt.c
|
2018-05-31 03:20:53 +02:00
|
|
|
|
2018-06-26 07:42:04 +02:00
|
|
|
decompressor-y += decompressor.c
|
|
|
|
decompressor-y += ../common/mmu_operations.c
|
|
|
|
decompressor-y += ../common/timer.c
|
|
|
|
|
2018-07-16 12:41:49 +02:00
|
|
|
verstage-y += ../common/gpio.c gpio.c
|
2018-07-02 17:23:00 +02:00
|
|
|
verstage-$(CONFIG_SPI_FLASH) += ../common/spi.c spi.c
|
2018-05-31 03:20:53 +02:00
|
|
|
verstage-y += ../common/timer.c
|
|
|
|
verstage-$(CONFIG_DRIVERS_UART) += ../common/uart.c
|
2018-06-01 08:33:11 +02:00
|
|
|
verstage-y += ../common/wdt.c
|
2018-05-31 03:20:53 +02:00
|
|
|
|
2018-08-11 01:13:26 +02:00
|
|
|
romstage-y += ../common/cbmem.c emi.c
|
2018-09-26 08:24:02 +02:00
|
|
|
romstage-y += memory.c
|
2018-07-16 12:41:49 +02:00
|
|
|
romstage-y += ../common/gpio.c gpio.c
|
2018-06-08 12:21:45 +02:00
|
|
|
romstage-y += ../common/mmu_operations.c mmu_operations.c
|
2018-07-02 17:23:00 +02:00
|
|
|
romstage-$(CONFIG_SPI_FLASH) += ../common/spi.c spi.c
|
2018-05-31 03:20:53 +02:00
|
|
|
romstage-y += ../common/timer.c
|
|
|
|
romstage-$(CONFIG_DRIVERS_UART) += ../common/uart.c
|
2018-06-01 08:33:11 +02:00
|
|
|
romstage-y += ../common/wdt.c
|
2018-05-31 03:20:53 +02:00
|
|
|
|
|
|
|
ramstage-y += ../common/cbmem.c emi.c
|
2018-07-16 12:41:49 +02:00
|
|
|
ramstage-y += ../common/gpio.c gpio.c
|
2018-06-08 12:21:45 +02:00
|
|
|
ramstage-y += ../common/mmu_operations.c mmu_operations.c
|
2018-06-05 06:20:00 +02:00
|
|
|
ramstage-y += ../common/mtcmos.c mtcmos.c
|
2018-06-08 12:21:45 +02:00
|
|
|
ramstage-y += soc.c
|
2018-07-02 17:23:00 +02:00
|
|
|
ramstage-$(CONFIG_SPI_FLASH) += ../common/spi.c spi.c
|
2018-05-31 03:20:53 +02:00
|
|
|
ramstage-y += ../common/timer.c
|
|
|
|
ramstage-$(CONFIG_DRIVERS_UART) += ../common/uart.c
|
2018-09-20 11:40:45 +02:00
|
|
|
ramstage-y += ../common/usb.c
|
2018-06-01 08:33:11 +02:00
|
|
|
ramstage-y += ../common/wdt.c
|
2018-05-31 03:20:53 +02:00
|
|
|
|
|
|
|
CPPFLAGS_common += -Isrc/soc/mediatek/mt8183/include
|
|
|
|
CPPFLAGS_common += -Isrc/soc/mediatek/common/include
|
|
|
|
|
|
|
|
$(objcbfs)/bootblock.bin: $(objcbfs)/bootblock.raw.bin
|
|
|
|
./util/mtkheader/gen-bl-img.py mt8183 emmc $< $@
|
|
|
|
|
|
|
|
endif
|