2021-01-07 13:25:54 +01:00
|
|
|
ifeq ($(CONFIG_SOC_MEDIATEK_MT8195),y)
|
|
|
|
|
|
|
|
bootblock-y += bootblock.c
|
2021-05-04 04:32:54 +02:00
|
|
|
bootblock-y += ../common/flash_controller.c
|
2021-02-05 09:12:29 +01:00
|
|
|
bootblock-y += ../common/gpio.c gpio.c
|
2021-03-01 04:04:20 +01:00
|
|
|
bootblock-y += ../common/i2c.c i2c.c
|
2021-01-07 13:25:54 +01:00
|
|
|
bootblock-y += ../common/mmu_operations.c
|
2021-02-03 09:20:57 +01:00
|
|
|
bootblock-y += ../common/pll.c pll.c
|
2021-02-05 03:32:25 +01:00
|
|
|
bootblock-$(CONFIG_SPI_FLASH) += ../common/spi.c spi.c
|
2021-02-04 11:30:54 +01:00
|
|
|
bootblock-y += ../common/timer.c timer.c
|
2021-01-07 13:25:54 +01:00
|
|
|
bootblock-y += ../common/uart.c
|
2021-04-22 07:34:04 +02:00
|
|
|
bootblock-y += ../common/wdt.c
|
2021-01-07 13:25:54 +01:00
|
|
|
|
2021-05-04 04:32:54 +02:00
|
|
|
verstage-y += ../common/flash_controller.c
|
2021-02-05 09:12:29 +01:00
|
|
|
verstage-y += ../common/gpio.c gpio.c
|
2021-03-01 04:04:20 +01:00
|
|
|
verstage-y += ../common/i2c.c i2c.c
|
2021-02-05 03:32:25 +01:00
|
|
|
verstage-$(CONFIG_SPI_FLASH) += ../common/spi.c spi.c
|
2021-02-04 11:30:54 +01:00
|
|
|
verstage-y += ../common/timer.c timer.c
|
2021-01-07 13:25:54 +01:00
|
|
|
verstage-y += ../common/uart.c
|
2021-04-22 07:34:04 +02:00
|
|
|
verstage-y += ../common/wdt.c
|
2021-01-07 13:25:54 +01:00
|
|
|
|
|
|
|
romstage-y += ../common/cbmem.c
|
|
|
|
romstage-y += emi.c
|
2021-05-04 04:32:54 +02:00
|
|
|
romstage-y += ../common/flash_controller.c
|
2021-02-05 09:12:29 +01:00
|
|
|
romstage-y += ../common/gpio.c gpio.c
|
2021-03-01 04:04:20 +01:00
|
|
|
romstage-y += ../common/i2c.c i2c.c
|
2021-02-03 09:20:57 +01:00
|
|
|
romstage-y += ../common/pll.c pll.c
|
2021-02-05 03:32:25 +01:00
|
|
|
romstage-$(CONFIG_SPI_FLASH) += ../common/spi.c spi.c
|
2021-02-04 11:30:54 +01:00
|
|
|
romstage-y += ../common/timer.c timer.c
|
2021-01-07 13:25:54 +01:00
|
|
|
romstage-y += ../common/uart.c
|
2021-04-22 07:34:04 +02:00
|
|
|
romstage-y += ../common/wdt.c
|
2021-05-03 10:25:49 +02:00
|
|
|
romstage-y += ../common/pmif.c ../common/pmif_clk.c pmif_clk.c
|
|
|
|
romstage-y += ../common/pmif_spi.c pmif_spi.c
|
|
|
|
romstage-y += ../common/pmif_spmi.c pmif_spmi.c
|
|
|
|
romstage-y += ../common/mt6315.c mt6315.c
|
|
|
|
romstage-y += ../common/mt6359p.c mt6359p.c
|
2021-01-07 13:25:54 +01:00
|
|
|
|
|
|
|
ramstage-y += emi.c
|
2021-05-04 04:32:54 +02:00
|
|
|
ramstage-y += ../common/flash_controller.c
|
2021-02-05 09:12:29 +01:00
|
|
|
ramstage-y += ../common/gpio.c gpio.c
|
2021-03-01 04:04:20 +01:00
|
|
|
ramstage-y += ../common/i2c.c i2c.c
|
2021-03-25 10:50:14 +01:00
|
|
|
ramstage-y += ../common/mmu_operations.c mmu_operations.c
|
2021-02-09 10:59:26 +01:00
|
|
|
ramstage-y += ../common/mtcmos.c mtcmos.c
|
2021-02-05 03:32:25 +01:00
|
|
|
ramstage-$(CONFIG_SPI_FLASH) += ../common/spi.c spi.c
|
2021-01-07 13:25:54 +01:00
|
|
|
ramstage-y += soc.c
|
2021-02-04 11:30:54 +01:00
|
|
|
ramstage-y += ../common/timer.c timer.c
|
2021-01-07 13:25:54 +01:00
|
|
|
ramstage-y += ../common/uart.c
|
2021-04-22 07:34:04 +02:00
|
|
|
ramstage-y += ../common/wdt.c
|
2021-02-24 08:17:41 +01:00
|
|
|
ramstage-y += mt6360.c
|
2021-01-07 13:25:54 +01:00
|
|
|
|
|
|
|
CPPFLAGS_common += -Isrc/soc/mediatek/mt8195/include
|
|
|
|
CPPFLAGS_common += -Isrc/soc/mediatek/common/include
|
|
|
|
|
|
|
|
$(objcbfs)/bootblock.bin: $(objcbfs)/bootblock.raw.bin
|
|
|
|
./util/mtkheader/gen-bl-img.py mt8183 sf $< $@
|
|
|
|
|
|
|
|
endif
|