From: Sean Anderson Date: Fri, 28 Feb 2020 17:43:34 -0500 Subject: [PATCH v5 25/33] wdt: Move asm/utils.h to log2.h In-Reply-To: References: <20200228210552.615672-1-seanga2@gmail.com> <20200228210552.615672-26-seanga2@gmail.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 >> Reviewed-by: Simon Glass >> --- >> 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. --Sean