Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect registers in PCIe initialisation code #3

Open
DualTachyon opened this issue Feb 15, 2024 · 0 comments
Open

Incorrect registers in PCIe initialisation code #3

DualTachyon opened this issue Feb 15, 2024 · 0 comments

Comments

@DualTachyon
Copy link

In the file arch/arm/mach-rockchip/spl_pcie_ep_boot.c, there's the following 2 register definitions:

#define FIREWALL_PCIE_MASTER_SEC 0xfe0300f0

This has an incorrect offset because xxxx00F0 is the "Region Enable" register. Master registers are from xxxx0040 to xxxx00E8.

#define FIREWALL_PCIE_ACCESS 0xfe586040

This should be 0xfd586040 (SGRF_BUS->SOC_CON16), because 0xfe586xxx doesn't exist on RK3588.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant