|
@@ -539,10 +539,12 @@ void ssb_pcicore_init(struct ssb_pcicore *pc)
|
|
|
if (!pc->hostmode)
|
|
|
ssb_pcicore_init_clientmode(pc);
|
|
|
|
|
|
- /* Additional always once-executed workarounds */
|
|
|
- ssb_pcicore_serdes_workaround(pc);
|
|
|
- /* TODO: ASPM */
|
|
|
- /* TODO: Clock Request Update */
|
|
|
+ /* Additional PCIe always once-executed workarounds */
|
|
|
+ if (dev->id.coreid == SSB_DEV_PCIE) {
|
|
|
+ ssb_pcicore_serdes_workaround(pc);
|
|
|
+ /* TODO: ASPM */
|
|
|
+ /* TODO: Clock Request Update */
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
static u32 ssb_pcie_read(struct ssb_pcicore *pc, u32 address)
|