mirror of
https://gitee.com/Vancouver2017/luban-lite-t3e-pro.git
synced 2025-12-14 10:28:54 +00:00
v1.1.1
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2022, Artinchip Technology Co., Ltd
|
||||
* Copyright (c) 2022-2024, ArtInChip Technology Co., Ltd
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
@@ -595,6 +595,15 @@ static inline void qspi_hw_drop_invalid_data(u32 base, bool drop)
|
||||
writel(val, QSPI_REG_TCFG(base));
|
||||
}
|
||||
|
||||
static inline void qspi_hw_ctrl_reset(u32 base)
|
||||
{
|
||||
u32 val;
|
||||
|
||||
val = readl(QSPI_REG_CFG(base));
|
||||
val |= CFG_BIT_CTRL_RST_MSK;
|
||||
writel(val, QSPI_REG_CFG(base));
|
||||
}
|
||||
|
||||
static inline void qspi_hw_reset_fifo(u32 base)
|
||||
{
|
||||
u32 val = readl(QSPI_REG_FCTL(base));
|
||||
|
||||
Reference in New Issue
Block a user