]> git.dujemihanovic.xyz Git - u-boot.git/commit
wdt: dw: Switch to using fls for log2
authorSean Anderson <seanga2@gmail.com>
Thu, 11 Mar 2021 02:02:17 +0000 (21:02 -0500)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Thu, 8 Apr 2021 07:37:27 +0000 (15:37 +0800)
commitcb57811fbc726cb93da92c05cdfbb880a8c78c50
treec0c2ff56abd0625e23170508867b8aac512db016
parente9c99db7787e3b5c2ef05701177c43ed1c023c27
wdt: dw: Switch to using fls for log2

log_2_n_round_up is only found in arm. fls performs the same job and is
generic.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/watchdog/designware_wdt.c