]> git.baikalelectronics.ru Git - uboot.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)
commitc3b7c5356d602b0815136fec60612950ad917201
tree657272fc09b52c05a4fa88d1d569690adee12eaf
parent776e0cb0b3cc795c5f2ec92e9d1a47acac13985c
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