summaryrefslogtreecommitdiffstats
path: root/src/soc/mediatek/mt8183/Makefile.inc
diff options
context:
space:
mode:
authorPo Xu <jg_poxu@mediatek.com>2018-09-16 13:27:44 +0800
committerJulius Werner <jwerner@chromium.org>2018-11-02 19:57:47 +0000
commit96631f941dc3e958585cc4798d3c7c74c032c7bd (patch)
treed80e4b4daa2319578e70916fcfc06442568ac56c /src/soc/mediatek/mt8183/Makefile.inc
parent7a70b664c4ba123dfa51a73fca87f67c168bffd3 (diff)
downloadcoreboot-96631f941dc3e958585cc4798d3c7c74c032c7bd.tar.gz
coreboot-96631f941dc3e958585cc4798d3c7c74c032c7bd.tar.bz2
coreboot-96631f941dc3e958585cc4798d3c7c74c032c7bd.zip
mediatek/mt8183: Add AUXADC driver
We plan to get board id and RAM code from AUXADC on Kukui. Add AUXADC driver to support it. BUG=b:80501386 BRANCH=none TEST=Boots correctly on Kukui Change-Id: I121a6a0240f9c517c0cbc07e0c18b09167849ff1 Signed-off-by: Po Xu <jg_poxu@mediatek.com> Reviewed-on: https://review.coreboot.org/29061 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src/soc/mediatek/mt8183/Makefile.inc')
-rw-r--r--src/soc/mediatek/mt8183/Makefile.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/soc/mediatek/mt8183/Makefile.inc b/src/soc/mediatek/mt8183/Makefile.inc
index 5650465ef342..944c9b1d186e 100644
--- a/src/soc/mediatek/mt8183/Makefile.inc
+++ b/src/soc/mediatek/mt8183/Makefile.inc
@@ -1,5 +1,6 @@
ifeq ($(CONFIG_SOC_MEDIATEK_MT8183),y)
+bootblock-y += auxadc.c
bootblock-y += bootblock.c
bootblock-y += ../common/gpio.c gpio.c
bootblock-y += ../common/pll.c pll.c
@@ -14,12 +15,14 @@ decompressor-y += decompressor.c
decompressor-y += ../common/mmu_operations.c
decompressor-y += ../common/timer.c
+verstage-y += auxadc.c
verstage-y += ../common/gpio.c gpio.c
verstage-$(CONFIG_SPI_FLASH) += ../common/spi.c spi.c
verstage-y += ../common/timer.c
verstage-$(CONFIG_DRIVERS_UART) += ../common/uart.c
verstage-y += ../common/wdt.c
+romstage-y += auxadc.c
romstage-y += ../common/cbmem.c emi.c
romstage-y += dramc_init_setting.c
romstage-y += memory.c
@@ -30,6 +33,7 @@ romstage-y += ../common/timer.c
romstage-$(CONFIG_DRIVERS_UART) += ../common/uart.c
romstage-y += ../common/wdt.c
+ramstage-y += auxadc.c
ramstage-y += ../common/cbmem.c emi.c
ramstage-y += ../common/gpio.c gpio.c
ramstage-y += ../common/mmu_operations.c mmu_operations.c