diff options
author | Yangbo Lu <yangbo.lu@nxp.com> | 2017-09-22 15:57:12 +0800 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2017-10-07 23:13:22 +0200 |
commit | 19951bbf57da87093f7bde25bad41571fbdaf4d9 (patch) | |
tree | 459e3c2b49cfa9bf34e124b2e45e14849a29fc21 /target/linux/layerscape/patches-4.4/8230-layerscape-pci-fix-linkup-issue.patch | |
parent | e3f47958dd16137ea903ca3733435862d9f602ae (diff) | |
download | upstream-19951bbf57da87093f7bde25bad41571fbdaf4d9.tar.gz upstream-19951bbf57da87093f7bde25bad41571fbdaf4d9.tar.bz2 upstream-19951bbf57da87093f7bde25bad41571fbdaf4d9.zip |
layerscape: drop linux 4.4 support
This patch is to drop linux 4.4 for layerscape.
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Diffstat (limited to 'target/linux/layerscape/patches-4.4/8230-layerscape-pci-fix-linkup-issue.patch')
-rw-r--r-- | target/linux/layerscape/patches-4.4/8230-layerscape-pci-fix-linkup-issue.patch | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/target/linux/layerscape/patches-4.4/8230-layerscape-pci-fix-linkup-issue.patch b/target/linux/layerscape/patches-4.4/8230-layerscape-pci-fix-linkup-issue.patch deleted file mode 100644 index f28776cba1..0000000000 --- a/target/linux/layerscape/patches-4.4/8230-layerscape-pci-fix-linkup-issue.patch +++ /dev/null @@ -1,37 +0,0 @@ -From 1b23a4e0f03063f823ea38065c1106f62a56b408 Mon Sep 17 00:00:00 2001 -From: Mingkai Hu <mingkai.hu@nxp.com> -Date: Mon, 7 Nov 2016 15:03:51 +0800 -Subject: [PATCH 230/238] layerscape/pci: fix linkup issue - -commit e6612d785198abbb39142e2acb63f9bff26ab718 -[context adjustment] - -Signed-off-by: Mingkai Hu <mingkai.hu@nxp.com> -Integrated-by: Zhao Qiang <qiang.zhao@nxp.com> ---- - drivers/pci/host/pci-layerscape.c | 13 +++++++++---- - 1 file changed, 9 insertions(+), 4 deletions(-) - ---- a/drivers/pci/host/pci-layerscape.c -+++ b/drivers/pci/host/pci-layerscape.c -@@ -158,11 +158,16 @@ static void ls1021_pcie_host_init(struct - static int ls_pcie_link_up(struct pcie_port *pp) - { - struct ls_pcie *pcie = to_ls_pcie(pp); -- u32 state; -+ u32 state, offset; - -- state = (ioread32(pcie->lut + pcie->drvdata->lut_dbg) >> -- pcie->drvdata->ltssm_shift) & -- LTSSM_STATE_MASK; -+ if (of_get_property(pp->dev->of_node, "fsl,lut_diff", NULL)) -+ offset = 0x407fc; -+ else -+ offset = PCIE_LUT_DBG; -+ -+ state = (ioread32(pcie->lut + offset) >> -+ pcie->drvdata->ltssm_shift) & -+ LTSSM_STATE_MASK; - - if (state < LTSSM_PCIE_L0) - return 0; |