|
@@ -26,6 +26,11 @@
|
|
|
|
|
|
#include "pcie-designware.h"
|
|
|
|
|
|
+/* Parameters for the waiting for link up routine */
|
|
|
+#define LINK_WAIT_MAX_RETRIES 10
|
|
|
+#define LINK_WAIT_USLEEP_MIN 90000
|
|
|
+#define LINK_WAIT_USLEEP_MAX 100000
|
|
|
+
|
|
|
/* Synopsis specific PCIE configuration registers */
|
|
|
#define PCIE_PORT_LINK_CONTROL 0x710
|
|
|
#define PORT_LINK_MODE_MASK (0x3f << 16)
|