]> git.kernelconcepts.de Git - karo-tx-uboot.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)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:29:27 +0000 (22:29 +0200)
commit9fdab3a5992d21d940896aa668730605d26ddd6c
treeb92045d6ef770f7e7d54602bbd1b3831f59ed6a1
parent44f41099c019eb04327d7a0778185ce35382813b
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