mirror of
https://xff.cz/git/u-boot/
synced 2025-10-26 16:13:55 +01:00
arm: mvebu: a38x: Use correct PEX register access macros
Remove the incorrect PEX macros from the DDR header. And insert the correct ones in ctrl_pex.h instead. Signed-off-by: Stefan Roese <sr@denx.de>
This commit is contained in:
committed by
Luka Perkov
parent
f1df936445
commit
ad6ac7aa00
@@ -421,11 +421,6 @@
|
||||
#define PCCRIR_REVID_MASK (0xff << PCCRIR_REVID_OFFS)
|
||||
|
||||
/* Power Management Clock Gating Control Register */
|
||||
#define MV_PEX_IF_REGS_OFFSET(pex_if) \
|
||||
(pex_if < 8 ? (0x40000 + ((pex_if) / 4) * 0x40000 + \
|
||||
((pex_if) % 4) * 0x4000) : \
|
||||
(0x42000 + ((pex_if) % 8) * 0x40000))
|
||||
#define PEX_IF_REGS_BASE(unit) (MV_PEX_IF_REGS_OFFSET(unit))
|
||||
#define POWER_MNG_CTRL_REG 0x18220
|
||||
#define PEX_DEVICE_AND_VENDOR_ID 0x000
|
||||
#define PEX_CFG_DIRECT_ACCESS(if, reg) (PEX_IF_REGS_BASE(if) + (reg))
|
||||
|
||||
Reference in New Issue
Block a user