summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@google.com>2020-03-27 10:46:35 -0700
committerPatrick Georgi <pgeorgi@google.com>2020-03-30 08:44:33 +0000
commitf79f8b4e33a4da257dfacce0eab582b4638791fc (patch)
treea924a03b96a22eaf621ffa30419fc71a71a45bce /src/lib
parent654d9d6b36765408d507a22d49e142b331492891 (diff)
downloadcoreboot-f79f8b4e33a4da257dfacce0eab582b4638791fc.tar.xz
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/lib')
0 files changed, 0 insertions, 0 deletions