Skip to content

Commit

Permalink
Merge pull request hardkernel#54 from yan-wyb/khadas-vims-4.9.y
Browse files Browse the repository at this point in the history
pcie: pcie compatibility issues [1/1]
  • Loading branch information
numbqq authored Dec 15, 2021
2 parents 74dae09 + cef8669 commit 8fd7644
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions drivers/amlogic/pci/pcie-amlogic-v2.c
Original file line number Diff line number Diff line change
Expand Up @@ -415,10 +415,6 @@ static void amlogic_pcie_init_dw(struct amlogic_pcie *amlogic_pcie)
val &= (~APP_LTSSM_ENABLE);
amlogic_cfg_writel(amlogic_pcie, val, PCIE_CFG0);

val = amlogic_elb_readl(amlogic_pcie, PCIE_PORT_LINK_CTRL_OFF);
val |= (1<<7);
amlogic_elb_writel(amlogic_pcie, val, PCIE_PORT_LINK_CTRL_OFF);

val = amlogic_elb_readl(amlogic_pcie, PCIE_PORT_LINK_CTRL_OFF);
val &= (~(0x3f<<16));
amlogic_elb_writel(amlogic_pcie, val, PCIE_PORT_LINK_CTRL_OFF);
Expand Down

0 comments on commit 8fd7644

Please sign in to comment.