mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2025-12-10 07:44:53 +01:00
board: qca: arm: ipq5332: Add PCIE reset sequence
Change-Id: I42c60e8c91a361b81ac99e435081cec953b13834 Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
This commit is contained in:
parent
b4cb7484a7
commit
63ab0ab42e
1 changed files with 1 additions and 5 deletions
|
|
@ -318,7 +318,6 @@ int board_mmc_init(bd_t *bis)
|
|||
#ifdef CONFIG_PCI_IPQ
|
||||
void pcie_reset(int pcie_id)
|
||||
{
|
||||
#ifdef QCA_CLOCK_ENABLE
|
||||
u32 reg_val;
|
||||
|
||||
switch(pcie_id) {
|
||||
|
|
@ -359,10 +358,6 @@ void pcie_reset(int pcie_id)
|
|||
|
||||
break;
|
||||
}
|
||||
|
||||
#else
|
||||
return;
|
||||
#endif
|
||||
}
|
||||
|
||||
int ipq_validate_qfrom_fuse(unsigned int reg_add, int pos)
|
||||
|
|
@ -464,6 +459,7 @@ void board_pci_deinit()
|
|||
qca_gpio_deinit(gpio_node);
|
||||
|
||||
pcie_v2_clock_deinit(i);
|
||||
pcie_reset(i);
|
||||
}
|
||||
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue