diff options
author | Anton Vorontsov <avorontsov@ru.mvista.com> | 2009-06-09 20:25:38 (GMT) |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-07-16 20:47:10 (GMT) |
commit | bfadb17f69c256196620c32164775f063a59c34f (patch) | |
tree | 413a47fc7b352dd97114501486bef47057bb75b5 /board | |
parent | b8b71ffbc35fde6905e65ffdbf4e4b87efc26b7e (diff) | |
download | u-boot-fsl-qoriq-bfadb17f69c256196620c32164775f063a59c34f.tar.xz |
mpc83xx: MPC837xEMDS: Use hwconfig instead of pci_external_arbiter variable
Since we have simple hwconfig interface now, we don't need
pci_external_arbiter variable any longer.
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Acked-by: Kim Phillips <kim.phillips@freescale.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/freescale/mpc837xemds/mpc837xemds.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/board/freescale/mpc837xemds/mpc837xemds.c b/board/freescale/mpc837xemds/mpc837xemds.c index b0289c0..9d8b18d 100644 --- a/board/freescale/mpc837xemds/mpc837xemds.c +++ b/board/freescale/mpc837xemds/mpc837xemds.c @@ -292,10 +292,9 @@ int board_pci_host_broken(void) { struct immap __iomem *im = (struct immap __iomem *)CONFIG_SYS_IMMR; const u32 rcw_mask = HRCWH_PCI1_ARBITER_ENABLE | HRCWH_PCI_HOST; - const char *pci_ea = getenv("pci_external_arbiter"); /* It's always OK in case of external arbiter. */ - if (pci_ea && !strcmp(pci_ea, "yes")) + if (hwconfig_subarg_cmp("pci", "arbiter", "external")) return 0; if ((in_be32(&im->reset.rcwh) & rcw_mask) != rcw_mask) |