]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
ofw_cpu: Add support for getting cpu clock via clock property
authorEmmanuel Vadot <manu@FreeBSD.org>
Tue, 31 Jul 2018 20:50:50 +0000 (20:50 +0000)
committerEmmanuel Vadot <manu@FreeBSD.org>
Tue, 31 Jul 2018 20:50:50 +0000 (20:50 +0000)
commitbc9ba24ffc5b1a8dd4cc9db2781e4745853b6da3
tree0c2b3fdc5aa2e419537e4b55f960a4d0c88f8d27
parent5a88ea3214999f71c5de25d647345f81851e47fa
ofw_cpu: Add support for getting cpu clock via clock property

Nominal Mhz is either expressed via the clock-frequency property
or can be get via the clock property that holds the cpu clock.
Add support for the later.

Reviewed by: nwhitehorn
Differential Revision: https://reviews.freebsd.org/D16346
sys/dev/ofw/ofw_cpu.c