]> git.dujemihanovic.xyz Git - u-boot.git/commit
pci/layerscape: fix link and class issues to support ls2085a
authorMinghuan Lian <Minghuan.Lian@freescale.com>
Thu, 12 Mar 2015 02:58:49 +0000 (10:58 +0800)
committerYork Sun <yorksun@freescale.com>
Tue, 21 Apr 2015 17:19:19 +0000 (10:19 -0700)
commit0070459048919f2b14b9281441ae96a0a12301e3
tree58b63a57f7d7a3c163d59dafa77262a097fc487e
parentd42bd3453af5dc81b6907be1b066b34ba0a0c979
pci/layerscape: fix link and class issues to support ls2085a

1. LS2085a provides PCIE_LUT_DBG register rather than PCIE_LDBG
   to show the link status, so the patch fixes it.
2. Increase the delay time to make sure that link training
   has finished.
3. Return invalid value when accessing multi-function device
4. For LS2085a DBI_RO_WR_EN bit is cleared as default, so we
   must set this bit before change DBI register value.

Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
Signed-off-by: Minghuan Lian <Minghuan.Lian@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
drivers/pci/pcie_layerscape.c