coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
ufs.c
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0-only */
2
3
#include <
soc/ufs.h
>
4
5
void
ufs_disable_refclk
(
void
)
6
{
7
/* disable ref clock to let UFSHCI release SPM signal */
8
write32
((
void
*)
UFS_REFCLK_CTRL
, 0);
9
}
write32
static void write32(void *addr, uint32_t val)
Definition:
mmio.h:40
ufs_disable_refclk
void ufs_disable_refclk(void)
Definition:
ufs.c:5
ufs.h
UFS_REFCLK_CTRL
#define UFS_REFCLK_CTRL
Definition:
ufs.h:15
src
soc
mediatek
common
ufs.c
Generated by
1.9.1