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 
6 {
7  /* disable ref clock to let UFSHCI release SPM signal */
8  write32((void *)UFS_REFCLK_CTRL, 0);
9 }
static void write32(void *addr, uint32_t val)
Definition: mmio.h:40
void ufs_disable_refclk(void)
Definition: ufs.c:5
#define UFS_REFCLK_CTRL
Definition: ufs.h:15