Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8769c223 authored by Greentime Hu's avatar Greentime Hu
Browse files

nds32: To refine readability of INT_MASK_INITAIAL_VAL



Refine readability of INT_MASK_INITAIAL_VAL with meaningful macro instead
of magic number.

Signed-off-by: default avatarGreentime Hu <greentime@andestech.com>
parent 3ff2228d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -336,7 +336,7 @@
#define INT_MASK_mskIDIVZE	( 0x1  << INT_MASK_offIDIVZE )
#define INT_MASK_mskDSSIM	( 0x1  << INT_MASK_offDSSIM )

#define INT_MASK_INITAIAL_VAL	0x10003
#define INT_MASK_INITAIAL_VAL	(INT_MASK_mskDSSIM|INT_MASK_mskIDIVZE)

/******************************************************************************
 * ir15: INT_PEND (Interrupt Pending Register)