[PATCH v4 14/17] riscv: Try to get cpu frequency from device tree

Bin Meng bmeng.cn at gmail.com
Wed Feb 19 17:12:27 CET 2020


Hi Sean,

On Tue, Feb 11, 2020 at 2:05 PM Sean Anderson <seanga2 at gmail.com> wrote:
>
> Instead of always using the "clock-frequency" property to determine cpu
> frequency, try using a clock in "clocks" if it exists. This patch also
> fixes a bug where there could be spurious higher frequencies if sizeof(u32)
> != sizeof(ulong).
>

I just realized the commit title looked a little bit confusing.

I think it could be more specific like:

riscv: Try to get cpu frequency from a "clocks" node if it exists

?

Regards,
Bin


More information about the U-Boot mailing list