summaryrefslogtreecommitdiff
path: root/chip/g/ite_flash.c
diff options
context:
space:
mode:
Diffstat (limited to 'chip/g/ite_flash.c')
-rw-r--r--chip/g/ite_flash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/chip/g/ite_flash.c b/chip/g/ite_flash.c
index b805e09e6a..b4e1699a08 100644
--- a/chip/g/ite_flash.c
+++ b/chip/g/ite_flash.c
@@ -47,8 +47,8 @@ void generate_ite_sync(void)
* 1 to be able to generate two necessary waveforms.
*/
both_zero = 0;
- one_zero = 1 << 13;
- zero_one = 1 << 12;
+ one_zero = BIT(13);
+ zero_one = BIT(12);
both_one = one_zero | zero_one;
/* Address of the mask byte register to use to set both pins. */