[PATCH v5 25/33] wdt: Move asm/utils.h to log2.h

Marek Vasut marex at denx.de
Sat Feb 29 00:27:19 CET 2020


On 2/28/20 11:43 PM, Sean Anderson wrote:
> 
> On 2/28/20 4:46 PM, Marek Vasut wrote:
>> On 2/28/20 10:05 PM, Sean Anderson wrote:
>>> This header is needed outside of the arm architecture for the designware
>>> watchdog.
>>>
>>> Signed-off-by: Sean Anderson <seanga2 at gmail.com>
>>> Reviewed-by: Simon Glass <sjg at chromium.org>
>>> ---
>>> This patch previously appeared as
>>> https://patchwork.ozlabs.org/patch/1232411/
>>
>> Can't you call round_up(fls(...)) in that DW watchdog driver (and the
>> omap emif driver, and remove all this log2 stuff altogether) ?
>>
> 
> That could work; I just wanted to make the smallest change necessary to
> get everything working.

And yet, the smallest change could be a one-liner :-)

The removal / fix for the omap-emif should be a subsequent patch.


More information about the U-Boot mailing list