]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: mvebu: a37x: Detect CONFIG_SYS_TCLK from SAR register
authorPali Rohár <pali@kernel.org>
Sat, 31 Jul 2021 12:22:53 +0000 (14:22 +0200)
committerStefan Roese <sr@denx.de>
Wed, 11 Aug 2021 06:42:26 +0000 (08:42 +0200)
commit2ddf554b8648d892efc5733e7486cec5e93dc269
tree657272fc09b52c05a4fa88d1d569690adee12eaf
parent29795302b942e6ee41c9d95f7e6e29f57d108d42
arm: mvebu: a37x: Detect CONFIG_SYS_TCLK from SAR register

Bit 20 in SAR register specifies if TCLK is running at 200 MHz or 166 MHz.
Use this information instead of manual configuration in every board file.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
arch/arm/mach-mvebu/include/mach/soc.h
include/configs/db-88f6720.h