Skip to content

Commit 0cc2cf2

Browse files
GTLin08MaureenHelm
authored andcommitted
ITE: chip_chipregs: Add the declaration of register bit
Add the declaration of register bit. Signed-off-by: Tim Lin <[email protected]>
1 parent 97116a5 commit 0cc2cf2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

soc/riscv/riscv-ite/common/chip_chipregs.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1830,6 +1830,8 @@ struct gctrl_it8xxx2_regs {
18301830
#define IT8XXX2_GCTRL_LRSIWR BIT(2)
18311831
#define IT8XXX2_GCTRL_LRSIPWRSWTR BIT(1)
18321832
#define IT8XXX2_GCTRL_LRSIPGWR BIT(0)
1833+
/* 0x37: Eflash Protect Lock */
1834+
#define IT8XXX2_GCTRL_EPLR_ENABLE BIT(0)
18331835
/* 0x46: Pin Multi-function Enable 3 */
18341836
#define IT8XXX2_GCTRL_SMB3PSEL BIT(6)
18351837
/* 0x4B: ETWD and UART Control */

0 commit comments

Comments
 (0)