summaryrefslogtreecommitdiff
path: root/src/soc/mediatek/mt8173/spi.c
diff options
context:
space:
mode:
authorYidi Lin <yidi.lin@mediatek.com>2020-12-28 21:59:11 +0800
committerHung-Te Lin <hungte@chromium.org>2020-12-31 03:09:19 +0000
commitb17e805dbf6a767c5dfb0deece4cc504ad7367f0 (patch)
treec4029ae1f49e3614fe3709d8802ecb0936d63555 /src/soc/mediatek/mt8173/spi.c
parent9e685b764ac6ab41e6c7cb5f7cd3d147506d9dc6 (diff)
soc/mediatek/mt8192: Move flash_controller.c to common/
The flash controller driver can be shared among mt8173 and mt819x. TEST=boot to kernel on Asurada boot to kernel on Hana (w/o BL31) Change-Id: I4e5213563189336496122a0f2d8077b3e5245314 Signed-off-by: Yidi Lin <yidi.lin@mediatek.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/48972 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Diffstat (limited to 'src/soc/mediatek/mt8173/spi.c')
-rw-r--r--src/soc/mediatek/mt8173/spi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/mediatek/mt8173/spi.c b/src/soc/mediatek/mt8173/spi.c
index dd5c2aecdc..4abd650bd9 100644
--- a/src/soc/mediatek/mt8173/spi.c
+++ b/src/soc/mediatek/mt8173/spi.c
@@ -4,7 +4,7 @@
#include <assert.h>
#include <spi_flash.h>
#include <soc/addressmap.h>
-#include <soc/flash_controller.h>
+#include <soc/flash_controller_common.h>
#include <soc/gpio.h>
#include <soc/spi.h>