diff options
author | Furquan Shaikh <furquan@google.com> | 2020-03-27 10:46:35 -0700 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-03-30 08:44:33 +0000 |
commit | f79f8b4e33a4da257dfacce0eab582b4638791fc (patch) | |
tree | a924a03b96a22eaf621ffa30419fc71a71a45bce /src/ec | |
parent | 654d9d6b36765408d507a22d49e142b331492891 (diff) |
helpers: Add a helper macro for calculating power of 2
This change adds a helper macro POWER_OF_2 that is useful for
calculating the requested power of 2.
Change-Id: Ie70f93b6ac175699c11cae7d8f023a52cce01e88
Signed-off-by: Furquan Shaikh <furquan@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/39881
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/ec')
0 files changed, 0 insertions, 0 deletions