[PATCH 7/9] CONFIG_SYS_CLK_FREQ: Consistently be static or get_board_sys_clk()

Tom Rini trini at konsulko.com
Tue Dec 28 13:57:57 CET 2021


On Tue, Dec 14, 2021 at 01:36:39PM -0500, Tom Rini wrote:

> This CONFIG option is used in one of two ways.  The first way is that it
> is defined to a static value, of an unsigned long size.  The second way
> is that it is defined to something, typically a function, to determine
> this value at run time.
> 
> However, in a few cases that function returns a static value.  Change
> that to using the static value directly.
> 
> In the case of using something at run time, convert everything to using
> a function of the same name and prototype.  This will allow for further
> cleanups.
> 
> Finally, we have a few cases where the function is just not used, so
> drop it.
> 
> Signed-off-by: Tom Rini <trini at konsulko.com>

Applied to u-boot/next, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20211228/1d55a636/attachment.sig>


More information about the U-Boot mailing list