]> git.baikalelectronics.ru Git - uboot.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)
commitdd28fbebf707f509c6c8af049ec239402ad4a021
tree12d196fd66fdfc80b68794fa03849188db07b697
parent74e2d66098a77285dcbd16adf173ffa618f2cdfa
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