projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'master' of git://git.denx.de/u-boot-mpc83xx
[oweals/u-boot.git]
/
arch
/
powerpc
/
cpu
/
mpc83xx
/
pcie.c
diff --git
a/arch/powerpc/cpu/mpc83xx/pcie.c
b/arch/powerpc/cpu/mpc83xx/pcie.c
index 09970b0589f9c29c9f422d85b3b5640bf3ceb982..28c25e5febba59176db4ebba14a5360b6156032d 100644
(file)
--- a/
arch/powerpc/cpu/mpc83xx/pcie.c
+++ b/
arch/powerpc/cpu/mpc83xx/pcie.c
@@
-299,6
+299,8
@@
static void mpc83xx_pcie_init_bus(int bus, struct pci_region *reg)
printf("PCIE%d: ", bus);
+#define PCI_LTSSM 0x404 /* PCIe Link Training, Status State Machine */
+#define PCI_LTSSM_L0 0x16 /* L0 state */
reg16 = in_le16(hose_cfg_base + PCI_LTSSM);
if (reg16 >= PCI_LTSSM_L0)
printf("link\n");