diff options
author | Gwendal Grignou <gwendal@chromium.org> | 2019-03-11 11:02:08 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-05-28 20:52:28 +0000 |
commit | 4d38da5f607f10e283b5c6e635877ea75890bbff (patch) | |
tree | d51821cb96e44cd828f5f730c0ceab558374328b /board/nami/board.h | |
parent | 61ec47022deba573cfade0fd7b07b9d4a0c6d66a (diff) | |
download | chrome-ec-4d38da5f607f10e283b5c6e635877ea75890bbff.tar.gz |
common: Add BIT macro
As requested for integration in kernel mfd subsystem, use BIT(...)
instead of (1 << ... ).
Add the macros, apply just to ec_commands.h for now.
BUG=None
BRANCH=None
TEST=Compile
Change-Id: I8509f1e8dc966799c3c4f0269b15f1ccc4138c07
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1518658
Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
(cherry picked from commit 8c6e95303832f7d445b415f1a1c0b0e34487ab2f)
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1631301
Reviewed-by: Diana Z <dzigterman@chromium.org>
Commit-Queue: Diana Z <dzigterman@chromium.org>
Tested-by: Diana Z <dzigterman@chromium.org>
Diffstat (limited to 'board/nami/board.h')
0 files changed, 0 insertions, 0 deletions