]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: a37xx: pci: Cleanup macro names
authorPali Rohár <pali@kernel.org>
Thu, 10 Feb 2022 13:53:43 +0000 (14:53 +0100)
committerStefan Roese <sr@denx.de>
Thu, 17 Feb 2022 13:17:07 +0000 (14:17 +0100)
commitcf2a589a89967c95c67c07022c9e7a8f4628ddcc
tree12d196fd66fdfc80b68794fa03849188db07b697
parent819a43c90aafbeba393fe147ff9e1807114ea0c8
arm: a37xx: pci: Cleanup macro names

Remove "PCI_" prefix from all macros which are aardvark specific to not
conflict with macros defined in global include file pci.h. Instead add
"ADVK_" prefix for them so it is visible that they are aardvark specific.

After "ADVK_" prefix append keyword which describes register group, so it
would be clear to which register each macro value belongs.

Rename some macros for consistency with other macros.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
drivers/pci/pci-aardvark.c