mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-17 22:49:02 +00:00
board: ls1046ardb: force PCI device enumeration
Commit045ecf8992
("configs: enable DM_ETH support for LS1046ARDB") resulted in the PCI bus no longer being implicitly enumerated. However, this is necessary for the fdt pcie fixups to work. Therefore, similar to commit8b6558bd41
("board: ls1088ardb: transition to DM_ETH"), pci_init() is now called in the board_init() routine when CONFIG_DM_ETH is active. Signed-off-by: Martin Schiller <ms@dev.tdt.de> CC: Priyanka Jain <priyanka.jain@nxp.com> Acked-by: Camelia Groza <camelia.groza@nxp.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
This commit is contained in:
parent
0a96dfb57e
commit
522f70463c
1 changed files with 4 additions and 0 deletions
|
@ -93,6 +93,10 @@ int board_init(void)
|
||||||
ppa_init();
|
ppa_init();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if !defined(CONFIG_SYS_EARLY_PCI_INIT) && defined(CONFIG_DM_ETH)
|
||||||
|
pci_init();
|
||||||
|
#endif
|
||||||
|
|
||||||
/* invert AQR105 IRQ pins polarity */
|
/* invert AQR105 IRQ pins polarity */
|
||||||
out_be32(&scfg->intpcr, AQR105_IRQ_MASK);
|
out_be32(&scfg->intpcr, AQR105_IRQ_MASK);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue