]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: mvebu: a38x: serdes: Remove duplicate macro SOC_CTRL_REG
authorPali Rohár <pali@kernel.org>
Fri, 24 Sep 2021 20:59:15 +0000 (22:59 +0200)
committerStefan Roese <sr@denx.de>
Fri, 8 Oct 2021 06:33:52 +0000 (08:33 +0200)
commiteb5d31645e1160345389d68b263d72112f5b9c46
treefe62b4828f90058ee3742ad00b6400526bfabf52
parentcfd4a8ad0f205be4270c382a1a2ce2701b2ddde7
arm: mvebu: a38x: serdes: Remove duplicate macro SOC_CTRL_REG

SoC Control 1 Register (offset 0x18204) is already defined by macro
SOC_CONTROL_REG1.

Use macro SOC_CONTROL_REG1 instead of macro SOC_CTRL_REG in ctrl_pex.c
code and remove the other definition.

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/ctrl_pex.c
arch/arm/mach-mvebu/serdes/a38x/ctrl_pex.h