diff options
author | Liya Li <ot_liya.li@mediatek.corp-partner.google.com> | 2024-03-01 16:14:02 +0800 |
---|---|---|
committer | Yu-Ping Wu <yupingso@google.com> | 2024-11-08 07:38:24 +0000 |
commit | 4c96f14b3d3718a67f395942653be0a5844777e8 (patch) | |
tree | 3ca898b9be3468e559650af8d38d79e7893ec492 /src/soc/mediatek/mt8196/Makefile.mk | |
parent | 946b2556f90df6adc220edb006b4dc03f6440f28 (diff) |
soc/mediatek/mt8196: Add SPI driver support
Add SPI controller driver code with support for 8 buses (SPI0 to SPI7).
Test=Build pass, verify the wavefroms for SPI0~7 are correct.
BUG=b:317009620
Change-Id: I10dd1105931c4911ce5257803073b7af76115c75
Signed-off-by: Liya Li <ot_liya.li@mediatek.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/84930
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Reviewed-by: Yidi Lin <yidilin@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/mediatek/mt8196/Makefile.mk')
-rw-r--r-- | src/soc/mediatek/mt8196/Makefile.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/mediatek/mt8196/Makefile.mk b/src/soc/mediatek/mt8196/Makefile.mk index 145c4247cf..f67ef0c8c8 100644 --- a/src/soc/mediatek/mt8196/Makefile.mk +++ b/src/soc/mediatek/mt8196/Makefile.mk @@ -6,7 +6,7 @@ all-y += ../common/flash_controller.c all-y += ../common/gpio.c ../common/gpio_op.c gpio.c gpio_eint.c all-y += ../common/i2c.c i2c.c all-y += ../common/pll.c pll.c -all-$(CONFIG_SPI_FLASH) += spi.c +all-$(CONFIG_SPI_FLASH) += ../common/spi.c spi.c all-y += timer.c timer_prepare.c all-y += ../common/uart.c |