diff options
| author | Sean Anderson <seanga2@gmail.com> | 2020-06-24 06:41:21 -0400 |
|---|---|---|
| committer | Andes <uboot@andestech.com> | 2020-07-01 15:01:22 +0800 |
| commit | ab24017a19b482d9026d21a2ec03416c5c4a388d (patch) | |
| tree | 184985446d435f4d6a54275dc635b87d25d55106 /include/linux/linux_string.h | |
| parent | 958a3f464c7f8ef7e10db9feb663e9e80445ce2f (diff) | |
| download | u-boot-ab24017a19b482d9026d21a2ec03416c5c4a388d.tar.gz u-boot-ab24017a19b482d9026d21a2ec03416c5c4a388d.tar.xz u-boot-ab24017a19b482d9026d21a2ec03416c5c4a388d.zip | |
riscv: Try to get cpu frequency from a "clocks" node if it exists
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).
Signed-off-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'include/linux/linux_string.h')
0 files changed, 0 insertions, 0 deletions
