summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTristan Shieh <tristan.shieh@mediatek.com>2018-07-27 09:16:48 +0800
committerJulius Werner <jwerner@chromium.org>2018-07-27 05:33:56 +0000
commit9d6523c7db74da39cbe787d3af9bdff21ebc986c (patch)
tree5a4ed5542c17b755b276f93b0bfe4ecbdd7f5995 /src
parenta93d22dd58e0b1639da06b5634c3fd29192d12b7 (diff)
downloadcoreboot-9d6523c7db74da39cbe787d3af9bdff21ebc986c.tar.xz
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 <soc/mmu_operations.h> in bootblock.c. BUG=b:80501386 TEST=manually flashed into kukui and boots into romstage. Change-Id: I58f97ac1705e4dfde5e2d497d9bec33a1d8d17c2 Signed-off-by: Tristan Shieh <tristan.shieh@mediatek.com> Reviewed-on: https://review.coreboot.org/27655 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Diffstat (limited to 'src')
-rw-r--r--src/soc/mediatek/mt8183/Makefile.inc1
-rw-r--r--src/soc/mediatek/mt8183/bootblock.c1
2 files changed, 0 insertions, 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 <bootblock_common.h>
-#include <soc/mmu_operations.h>
#include <soc/pll.h>
#include <soc/wdt.h>