mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-18 06:58:54 +00:00
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>
This commit is contained in:
parent
b8b71ffbc3
commit
bfadb17f69
1 changed files with 1 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue