]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
arm: allwinner: clk: Add printfs when we cannot set the correct freq
authorEmmanuel Vadot <manu@FreeBSD.org>
Fri, 28 Aug 2020 18:25:45 +0000 (18:25 +0000)
committerEmmanuel Vadot <manu@FreeBSD.org>
Fri, 28 Aug 2020 18:25:45 +0000 (18:25 +0000)
commit341ccc993cf6da5ccdb1bc3f457d3c6eb2cb4d49
tree94f8a5d3f44bba9308230b02c122d49bc7b9f3db
parent62693fe830799113802738c4ffb85fe8b82bd236
arm: allwinner: clk: Add printfs when we cannot set the correct freq

For some unknown reason this seems to fix this function when we printf
the best variable. This isn't a delay problem as doing a printf without
it doesn't solve this problem.
This is way above my pay grade so add some printf that shouldn't be printed
in 99% of the case anyway.
Fix booting on most Allwinner boards as the mmc IP uses a NM clock.

Reported by: Alexander Mishin <mishin@mh.net.ru>
MFC after: 3 days
X-MFC-With: 363887
sys/arm/allwinner/clkng/aw_clk_nm.c