soc/mediatek: Move mt8192 ufs driver to common
Signed-off-by: Yidi Lin <yidi.lin@mediatek.com> Change-Id: I28eb13edcded95a9a4c17bdf92da9f792883a613 Reviewed-on: https://review.coreboot.org/c/coreboot/+/52534 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Yu-Ping Wu <yupingso@google.com>
This commit is contained in:
parent
ab686715f2
commit
7ac11ca3d6
|
@ -1,7 +1,7 @@
|
||||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||||
|
|
||||||
#ifndef SOC_MEDIATEK_MT8192_UFS_H
|
#ifndef SOC_MEDIATEK_COMMON_UFS_H
|
||||||
#define SOC_MEDIATEK_MT8192_UFS_H
|
#define SOC_MEDIATEK_COMMON_UFS_H
|
||||||
|
|
||||||
#include <device/mmio.h>
|
#include <device/mmio.h>
|
||||||
#include <soc/addressmap.h>
|
#include <soc/addressmap.h>
|
||||||
|
@ -14,4 +14,4 @@ enum ufshci_offset {
|
||||||
|
|
||||||
#define UFS_REFCLK_CTRL (UFSHCI_BASE + REG_UFS_REFCLK_CTRL)
|
#define UFS_REFCLK_CTRL (UFSHCI_BASE + REG_UFS_REFCLK_CTRL)
|
||||||
|
|
||||||
#endif /* SOC_MEDIATEK_MT8192_UFS_H */
|
#endif /* SOC_MEDIATEK_COMMON_UFS_H */
|
|
@ -61,7 +61,7 @@ ramstage-y += spm.c
|
||||||
ramstage-y += sspm.c
|
ramstage-y += sspm.c
|
||||||
ramstage-y += ../common/timer.c
|
ramstage-y += ../common/timer.c
|
||||||
ramstage-y += ../common/uart.c
|
ramstage-y += ../common/uart.c
|
||||||
ramstage-y += ufs.c
|
ramstage-y += ../common/ufs.c
|
||||||
ramstage-y += ../common/usb.c usb.c
|
ramstage-y += ../common/usb.c usb.c
|
||||||
|
|
||||||
MT8192_BLOB_DIR := 3rdparty/blobs/soc/mediatek/mt8192
|
MT8192_BLOB_DIR := 3rdparty/blobs/soc/mediatek/mt8192
|
||||||
|
|
Loading…
Reference in New Issue