From 9d6523c7db74da39cbe787d3af9bdff21ebc986c Mon Sep 17 00:00:00 2001 From: Tristan Shieh Date: Fri, 27 Jul 2018 09:16:48 +0800 Subject: [PATCH] mediatek/mt8183: Remove unused MMU stuff from bootblock Since we move mtk_mmu_init() from bootblock to decompressor, we don't need to build mmu_opertations.c in bootblock and we don't need to include in bootblock.c. BUG=b:80501386 TEST=manually flashed into kukui and boots into romstage. Change-Id: I58f97ac1705e4dfde5e2d497d9bec33a1d8d17c2 Signed-off-by: Tristan Shieh Reviewed-on: https://review.coreboot.org/27655 Tested-by: build bot (Jenkins) Reviewed-by: Hung-Te Lin --- src/soc/mediatek/mt8183/Makefile.inc | 1 - src/soc/mediatek/mt8183/bootblock.c | 1 - 2 files changed, 2 deletions(-) diff --git a/src/soc/mediatek/mt8183/Makefile.inc b/src/soc/mediatek/mt8183/Makefile.inc index 752395da40..1b3f9d57b7 100644 --- a/src/soc/mediatek/mt8183/Makefile.inc +++ b/src/soc/mediatek/mt8183/Makefile.inc @@ -2,7 +2,6 @@ ifeq ($(CONFIG_SOC_MEDIATEK_MT8183),y) bootblock-y += bootblock.c bootblock-y += ../common/gpio.c gpio.c -bootblock-y += ../common/mmu_operations.c mmu_operations.c bootblock-y += ../common/pll.c pll.c bootblock-$(CONFIG_SPI_FLASH) += spi.c bootblock-y += ../common/timer.c diff --git a/src/soc/mediatek/mt8183/bootblock.c b/src/soc/mediatek/mt8183/bootblock.c index 4e05e185b2..d7d5c2dda4 100644 --- a/src/soc/mediatek/mt8183/bootblock.c +++ b/src/soc/mediatek/mt8183/bootblock.c @@ -14,7 +14,6 @@ */ #include -#include #include #include