coreboot-kgpe-d16/src/commonlib/storage
Jianjun Wang 8bb59ca2fa 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>
2021-12-13 02:57:07 +00:00
..
bouncebuf.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
bouncebuf.h treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
Kconfig src: Remove leading blank lines from SPDX header 2020-05-18 07:00:27 +00:00
Makefile.inc src: Remove leading blank lines from SPDX header 2020-05-18 07:00:27 +00:00
mmc.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
mmc.h treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
pci_sdhci.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
sd.c src/commonlib: Drop unneeded empty lines 2020-09-21 15:53:25 +00:00
sd_mmc.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
sd_mmc.h treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
sdhci.c lib: Add __fls() (Find Last Set) 2021-12-13 02:57:07 +00:00
sdhci.h treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
sdhci_adma.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
sdhci_display.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
storage.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
storage.h treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
storage_erase.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
storage_write.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00