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/ambassador/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/ambassador/board.h')
-rw-r--r-- | board/ambassador/board.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/board/ambassador/board.h b/board/ambassador/board.h index 6e90e5521c..de918b35ac 100644 --- a/board/ambassador/board.h +++ b/board/ambassador/board.h @@ -177,6 +177,9 @@ #define PP5000_PGOOD_POWER_SIGNAL_MASK POWER_SIGNAL_MASK(PP5000_A_PGOOD) +/* Include math_util for bitmask_uint64 used in pd_timers */ +#define CONFIG_MATH_UTIL + #ifndef __ASSEMBLER__ #include "gpio_signal.h" |