diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/soc/mediatek/common/include/soc/ufs.h (renamed from src/soc/mediatek/mt8192/include/soc/ufs.h) | 6 | ||||
-rw-r--r-- | src/soc/mediatek/common/ufs.c (renamed from src/soc/mediatek/mt8192/ufs.c) | 0 | ||||
-rw-r--r-- | src/soc/mediatek/mt8192/Makefile.inc | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/soc/mediatek/mt8192/include/soc/ufs.h b/src/soc/mediatek/common/include/soc/ufs.h index 70a30a9a06..98bba9da1c 100644 --- a/src/soc/mediatek/mt8192/include/soc/ufs.h +++ b/src/soc/mediatek/common/include/soc/ufs.h @@ -1,7 +1,7 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef SOC_MEDIATEK_MT8192_UFS_H -#define SOC_MEDIATEK_MT8192_UFS_H +#ifndef SOC_MEDIATEK_COMMON_UFS_H +#define SOC_MEDIATEK_COMMON_UFS_H #include <device/mmio.h> #include <soc/addressmap.h> @@ -14,4 +14,4 @@ enum ufshci_offset { #define UFS_REFCLK_CTRL (UFSHCI_BASE + REG_UFS_REFCLK_CTRL) -#endif /* SOC_MEDIATEK_MT8192_UFS_H */ +#endif /* SOC_MEDIATEK_COMMON_UFS_H */ diff --git a/src/soc/mediatek/mt8192/ufs.c b/src/soc/mediatek/common/ufs.c index 2537fa7883..2537fa7883 100644 --- a/src/soc/mediatek/mt8192/ufs.c +++ b/src/soc/mediatek/common/ufs.c diff --git a/src/soc/mediatek/mt8192/Makefile.inc b/src/soc/mediatek/mt8192/Makefile.inc index 0181bfcab0..9512346984 100644 --- a/src/soc/mediatek/mt8192/Makefile.inc +++ b/src/soc/mediatek/mt8192/Makefile.inc @@ -61,7 +61,7 @@ ramstage-y += spm.c ramstage-y += sspm.c ramstage-y += ../common/timer.c ramstage-y += ../common/uart.c -ramstage-y += ufs.c +ramstage-y += ../common/ufs.c ramstage-y += ../common/usb.c usb.c MT8192_BLOB_DIR := 3rdparty/blobs/soc/mediatek/mt8192 |