diff options
author | Denis Brockus <dbrockus@google.com> | 2021-09-24 11:24:27 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-09-27 23:15:53 +0000 |
commit | f8380bc0b05e7d64ea3972a9b46517d8f4b4af2b (patch) | |
tree | 222de6fffca5abd3a84e0ea6691dba3cac4083ff /board/quiche/board.h | |
parent | 43e1a59c047bd28917251d13e47e00594624b277 (diff) | |
download | chrome-ec-f8380bc0b05e7d64ea3972a9b46517d8f4b4af2b.tar.gz |
Add math_lib for 32 bit boards that use pd_timer
pd_timer was changed to use bitmask_uint64 to
create the equivalent of BIT(o) for uint64_t
bitmasks
BUG=none
BRANCH=none
TEST=make buildall
Signed-off-by: Denis Brockus <dbrockus@google.com>
Change-Id: I7cc6a24771a9c5e1050fa1c3ff1391ef77518b80
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3182631
Tested-by: Denis Brockus <dbrockus@chromium.org>
Auto-Submit: Denis Brockus <dbrockus@chromium.org>
Commit-Queue: Yuval Peress <peress@google.com>
Reviewed-by: Yuval Peress <peress@google.com>
Diffstat (limited to 'board/quiche/board.h')
-rw-r--r-- | board/quiche/board.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/board/quiche/board.h b/board/quiche/board.h index ad8c70271d..98feab31f6 100644 --- a/board/quiche/board.h +++ b/board/quiche/board.h @@ -50,6 +50,9 @@ #define I2C_PORT_EEPROM I2C_PORT_I2C3 #define MP4245_I2C_ADDR_FLAGS MP4245_I2C_ADDR_0_FLAGS +/* Include math_util for bitmask_uint64 used in pd_timers */ +#define CONFIG_MATH_UTIL + #ifndef __ASSEMBLER__ #include "registers.h" |