fdt_support: Remove FDT_STATUS_FAIL_ERROR_CODE
Since no one uses this feature and I am not aware of any parsers of this in Linux, remove it. Signed-off-by: Marek Behún <marek.behun@nic.cz> Reviewed-by: Stefan Roese <sr@denx.de> Cc: Simon Glass <sjg@chromium.org> Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Cc: Pratyush Yadav <p.yadav@ti.com> Cc: Tim Harvey <tharvey@gateworks.com> Cc: Michael Walle <michael@walle.cc> Cc: Priyanka Jain <priyanka.jain@nxp.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
committed by
Stefan Roese
parent
76f5a72835
commit
2105cd0421
@@ -584,9 +584,9 @@ static void ft_pcie_rc_fix(void *blob, struct ls_pcie_rc *pcie_rc)
|
||||
return;
|
||||
|
||||
if (pcie_rc->enabled && pcie->mode == PCI_HEADER_TYPE_BRIDGE)
|
||||
fdt_set_node_status(blob, off, FDT_STATUS_OKAY, 0);
|
||||
fdt_set_node_status(blob, off, FDT_STATUS_OKAY);
|
||||
else
|
||||
fdt_set_node_status(blob, off, FDT_STATUS_DISABLED, 0);
|
||||
fdt_set_node_status(blob, off, FDT_STATUS_DISABLED);
|
||||
}
|
||||
|
||||
static void ft_pcie_ep_fix(void *blob, struct ls_pcie_rc *pcie_rc)
|
||||
@@ -600,9 +600,9 @@ static void ft_pcie_ep_fix(void *blob, struct ls_pcie_rc *pcie_rc)
|
||||
return;
|
||||
|
||||
if (pcie_rc->enabled && pcie->mode == PCI_HEADER_TYPE_NORMAL)
|
||||
fdt_set_node_status(blob, off, FDT_STATUS_OKAY, 0);
|
||||
fdt_set_node_status(blob, off, FDT_STATUS_OKAY);
|
||||
else
|
||||
fdt_set_node_status(blob, off, FDT_STATUS_DISABLED, 0);
|
||||
fdt_set_node_status(blob, off, FDT_STATUS_DISABLED);
|
||||
}
|
||||
|
||||
static void ft_pcie_ls_setup(void *blob, struct ls_pcie_rc *pcie_rc)
|
||||
|
||||
@@ -193,9 +193,9 @@ static void ft_pcie_ep_layerscape_gen4_fix(void *blob, struct ls_pcie_g4 *pcie)
|
||||
}
|
||||
|
||||
if (pcie->enabled && pcie->mode == PCI_HEADER_TYPE_NORMAL)
|
||||
fdt_set_node_status(blob, off, FDT_STATUS_OKAY, 0);
|
||||
fdt_set_node_status(blob, off, FDT_STATUS_OKAY);
|
||||
else
|
||||
fdt_set_node_status(blob, off, FDT_STATUS_DISABLED, 0);
|
||||
fdt_set_node_status(blob, off, FDT_STATUS_DISABLED);
|
||||
}
|
||||
|
||||
static void ft_pcie_rc_layerscape_gen4_fix(void *blob, struct ls_pcie_g4 *pcie)
|
||||
@@ -214,9 +214,9 @@ static void ft_pcie_rc_layerscape_gen4_fix(void *blob, struct ls_pcie_g4 *pcie)
|
||||
}
|
||||
|
||||
if (pcie->enabled && pcie->mode == PCI_HEADER_TYPE_BRIDGE)
|
||||
fdt_set_node_status(blob, off, FDT_STATUS_OKAY, 0);
|
||||
fdt_set_node_status(blob, off, FDT_STATUS_OKAY);
|
||||
else
|
||||
fdt_set_node_status(blob, off, FDT_STATUS_DISABLED, 0);
|
||||
fdt_set_node_status(blob, off, FDT_STATUS_DISABLED);
|
||||
}
|
||||
|
||||
static void ft_pcie_layerscape_gen4_setup(void *blob, struct ls_pcie_g4 *pcie)
|
||||
|
||||
Reference in New Issue
Block a user