board: ls1043ardb: force PCI device enumeration
PATCH 1/1 board: ls1043ardb: force PCI device enumeration
Commit eb1986804d1d ("configs: enable DM_ETH support for LS1043ARDB") resulted in the PCI bus no longer being implicitly enumerated.
However, this is necessary for the fdt pcie fixups to work.
Therefore, similar to commit 8b6558bd4187 ("board: ls1088ardb:
transition to DM_ETH"), pci_init() is now called in the board_init() routine when CONFIG_DM_ETH is active.
--- board/freescale/ls1043ardb/ls1043ardb.c | 4 ++++ 1 file changed, 4 insertions(+)
board/freescale/ls1043ardb/ls1043ardb.c +4 -0
@@ -219,6 +219,10 @@ int board_init(void)ppa_init ();#endif +#if !defined(CONFIG_SYS_EARLY_PCI_INIT ) && defined(CONFIG_DM_ETH ) +pci_init (); +#endif +#ifdef CONFIG_U_QE u_qe_init ();#endif
Signature · 1 line
2.20.1
Quoted 31 lines
-----Original Message-----
From: U-Boot <[email protected]> On Behalf Of Martin Schiller
Sent: Tuesday, November 23, 2021 8:28
To: [email protected]
Cc: Martin Schiller <[email protected]>; Priyanka Jain <[email protected]>; Camelia Alexandra Groza <[email protected]>
Subject: [PATCH] board: ls1043ardb: force PCI device enumerationCommit
eb1986804d1d("configs: enableDM_ETHsupport for LS1043ARDB") resulted in the PCI bus no longer being implicitly enumerated.However, this is necessary for the fdt pcie fixups to work.
Therefore, similar to commit
8b6558bd4187("board: ls1088ardb:
transition toDM_ETH"),pci_init()is now called in theboard_init()routine whenCONFIG_DM_ETHis active.Signed-off-by Martin Schiller <[email protected]>CC Priyanka Jain <[email protected]>CC Camelia Groza <[email protected]>--- board/freescale/ls1043ardb/ls1043ardb.c | 4 ++++ 1 file changed, 4 insertions(+)board/freescale/ls1043ardb/ls1043ardb.c +0
-0
board/freescale/ls1043ardb/ls1043ardb.c int board_init(void) · line 228
Quoted 10 lines
board/freescale/ls1043ardb/ls1043ardb.c +4
-0@@ -219,6 +219,10 @@ int board_init(void)ppa_init ();#endif +#if !defined(CONFIG_SYS_EARLY_PCI_INIT ) && defined(CONFIG_DM_ETH ) +pci_init (); +#endif +#ifdef CONFIG_U_QE u_qe_init ();#endif
Thanks for the fix.
Priyanka Jain (OSS)
Reviewed-by Priyanka JainQuoted 55 lines
-----Original Message-----
From: U-Boot <[email protected]> On Behalf Of Camelia Alexandra Groza (OSS)
Sent: Tuesday, November 23, 2021 4:04 PM
To: Martin Schiller <[email protected]>; [email protected]
Cc: Priyanka Jain <[email protected]>
Subject: RE: [PATCH] board: ls1043ardb: force PCI device enumerationQuoted 32 lines
-----Original Message-----
From: U-Boot <[email protected]> On Behalf Of Martin Schiller
Sent: Tuesday, November 23, 2021 8:28
To: [email protected]
Cc: Martin Schiller <[email protected]>; Priyanka Jain <[email protected]>; Camelia Alexandra Groza <[email protected]>
Subject: [PATCH] board: ls1043ardb: force PCI device enumerationCommit
eb1986804d1d("configs: enableDM_ETHsupport for LS1043ARDB") resulted in the PCI bus no longer being implicitly enumerated.However, this is necessary for the fdt pcie fixups to work.
Therefore, similar to commit
8b6558bd4187("board: ls1088ardb:
transition toDM_ETH"),pci_init()is now called in theboard_init()routine whenCONFIG_DM_ETHis active.Signed-off-by Martin Schiller <[email protected]>CC Priyanka Jain <[email protected]>CC Camelia Groza <[email protected]>--- board/freescale/ls1043ardb/ls1043ardb.c | 4 ++++ 1 file changed, 4 insertions(+)board/freescale/ls1043ardb/ls1043ardb.c +0
-0board/freescale/ls1043ardb/ls1043ardb.c int board_init(void) · line 228
Quoted 10 lines
board/freescale/ls1043ardb/ls1043ardb.c +4
-0@@ -219,6 +219,10 @@ int board_init(void)ppa_init ();#endif +#if !defined(CONFIG_SYS_EARLY_PCI_INIT ) && defined(CONFIG_DM_ETH ) +pci_init (); +#endif +#ifdef CONFIG_U_QE u_qe_init ();#endif Thanks for the fix.
Quoted 1 line
Acked-by Camelia Groza <[email protected]>