]> git.baikalelectronics.ru Git - uboot.git/commit
arm: mvebu: a38x: serdes: Don't set PCIe Common Clock Configuration
authorPali Rohár <pali@kernel.org>
Fri, 24 Sep 2021 20:59:18 +0000 (22:59 +0200)
committerStefan Roese <sr@denx.de>
Fri, 8 Oct 2021 06:33:52 +0000 (08:33 +0200)
commitf49dede768c580d204585e907acdae3c85ccff0b
treefef55fc0b6b9f9b5e745c7e37de9d1293b28adc3
parent5fb80ae901ea8a3d55a18f52b73c46d5b255b95a
arm: mvebu: a38x: serdes: Don't set PCIe Common Clock Configuration

Enabling Common Clock Configuration bit in PCIe Root Port Link Control
Register should not be done unconditionally. It is enabled by operating
system as part of ASPM. Also after enabling Common Clock Configuration it
is required to do more work, like retraining link. Some cards may be broken
due to this incomplete Common Clock Configuration and some cards are broken
and do not support ASPM at all.

Remove this incomplete code for Common Clock Configuration. It really
should not be done in SerDes code as it is not related to SerDes, but to
PCIe subsystem.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Stefan Roese <sr@denx.de>
arch/arm/mach-mvebu/serdes/a38x/high_speed_env_spec.c