diff options
Diffstat (limited to 'common/switch.c')
-rw-r--r-- | common/switch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/switch.c b/common/switch.c index 93650c2629..f7f07ad99a 100644 --- a/common/switch.c +++ b/common/switch.c @@ -122,7 +122,7 @@ static int command_mmapinfo(int argc, char **argv) }; ccprintf("memmap switches = 0x%x\n", val); for (i = 0; i < ARRAY_SIZE(explanation); i++) - if (val & (1 << i)) + if (val & BIT(i)) ccprintf(" %s\n", explanation[i]); return EC_SUCCESS; |