MPC837XEMDS: fix pci.c build error
PATCH 1/1 MPC837XEMDS: fix pci.c build error
Commit 6aa3d3b "83xx: Remove warmboot parameter from PCI init functions" dropped the last argument to mpc83xx_pcie_init(), but failed to fix board/freescale/mpc837xemds/pci.c which resulted in the error:
pci.c: In function 'pci_init_board':
pci.c:141: error: too many arguments to function 'mpc83xx_pcie_init'
--- board/freescale/mpc837xemds/pci.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
board/freescale/mpc837xemds/pci.c +1 -1
@@ -138,7 +138,7 @@ skip_pci:out_be32 (&pcie_law[1 ].bar,CONFIG_SYS_PCIE2_BASE &LAWBAR_BAR );out_be32 (&pcie_law[1 ].ar,LBLAWAR_EN |LBLAWAR_512MB ); -mpc83xx_pcie_init (pex2 ?1 :2 , pcie_reg,0 ); +mpc83xx_pcie_init (pex2 ?1 :2 , pcie_reg); }void ft_pcie_fixup (void *blob,bd_t *bd)
Signature · 1 line
1.7.2.3
PATCH 1/1 MPC837XEMDS: fix pci.c build error
Hi Wolfgang,
Quoted 10 lines · Wolfgang Denk
Commit 6aa3d3b "83xx: Remove warmboot parameter from PCI init functions" dropped the last argument to
mpc83xx_pcie_init(), but failed to fixboard/freescale/mpc837xemds/pci.cwhich resulted in the error:
pci.c: In function 'pci_init_board':
pci.c:141: error: too many arguments to function 'mpc83xx_pcie_init'Signed-off-by Wolfgang Denk <[email protected]>Cc Kim Phillips <[email protected]>
I believe Kim already submitted a patch titled "mpc83xx: fix 837x MDS PCI HOST build" to address this issue.
Best,
Peter
PATCH 1/1 MPC837XEMDS: fix pci.c build error
Dear Peter Tyser,
Quoted 3 lines · In message <1287364619.1733.1.camel@ptyser-laptop> you wrote:
Quoted 3 lines
pci.c: In function 'pci_init_board':
pci.c:141: error: too many arguments to function 'mpc83xx_pcie_init'
...
Quoted 2 lines
I believe Kim already submitted a patch titled "mpc83xx: fix 837x MDS PCI HOST build" to address this issue.
Indeed. Thanks for pointing out.
/me wonders why I didn't receive a mpc83xx pull request, then.
Best regards,
Wolfgang Denk
Signature · 6 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Chapter 1 -- The story so far: In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move.
PATCH 1/1 MPC837XEMDS: fix pci.c build error
In reply to Wolfgang DenkDear Wolfgang Denk,
Quoted 8 lines · In message <[email protected]> you wrote:
Commit 6aa3d3b "83xx: Remove warmboot parameter from PCI init functions" dropped the last argument to
mpc83xx_pcie_init(), but failed to fixboard/freescale/mpc837xemds/pci.cwhich resulted in the error:
pci.c: In function 'pci_init_board':
pci.c:141: error: too many arguments to function 'mpc83xx_pcie_init'
Quoted 6 lines
Signed-off-by Wolfgang Denk <[email protected]>Cc Kim Phillips <[email protected]>--- board/freescale/mpc837xemds/pci.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
Dumped. Applied Kim's "mpc83xx: fix 837x MDS PCI HOST build" patch instead.
Best regards,
Wolfgang Denk
Signature · 5 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de There are certain things men must do to remain men. -- Kirk, "The Ultimate Computer", stardate 4929.4