summaryrefslogtreecommitdiff
path: root/payloads/libpayload/arch/mock
diff options
context:
space:
mode:
authorJianjun Wang <jianjun.wang@mediatek.com>2021-11-30 10:51:53 +0800
committerHung-Te Lin <hungte@chromium.org>2021-12-13 02:57:07 +0000
commit8bb59ca2faee83ba50850900c8b4edf9331ae931 (patch)
treefab7bde1be5ff24af106a41c8f47b7d4fac75762 /payloads/libpayload/arch/mock
parent5588f34a35209f34d9061e6a83856289450d8131 (diff)
lib: Add __fls() (Find Last Set)
Implement __fls() as an alias for log2(), and remove the duplicate definitions in commonlib/storage/sdhci.c. Signed-off-by: Jianjun Wang <jianjun.wang@mediatek.com> Change-Id: Ib458abfec7e03b2979569a8440a6e69b0285ac32 Reviewed-on: https://review.coreboot.org/c/coreboot/+/59738 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org> Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Diffstat (limited to 'payloads/libpayload/arch/mock')
0 files changed, 0 insertions, 0 deletions