diff options
author | Jianjun Wang <jianjun.wang@mediatek.com> | 2021-11-30 10:51:53 +0800 |
---|---|---|
committer | Hung-Te Lin <hungte@chromium.org> | 2021-12-13 02:57:07 +0000 |
commit | 8bb59ca2faee83ba50850900c8b4edf9331ae931 (patch) | |
tree | fab7bde1be5ff24af106a41c8f47b7d4fac75762 /src/soc/intel/common/vbt.c | |
parent | 5588f34a35209f34d9061e6a83856289450d8131 (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 'src/soc/intel/common/vbt.c')
0 files changed, 0 insertions, 0 deletions