This commit is contained in:
Andy Ritger
2022-11-10 08:39:33 -08:00
parent 7c345b838b
commit 758b4ee818
1323 changed files with 262135 additions and 60754 deletions

View File

@@ -375,3 +375,20 @@ soeWaitForInitAck_HAL
return pSoe->base.pHal->waitForInitAck(device, pSoe);
}
NvlStatus
soeI2CAccess_HAL
(
nvswitch_device *device,
NVSWITCH_CTRL_I2C_INDEXED_PARAMS *pParams
)
{
PSOE pSoe = (PSOE)device->pSoe;
if (pSoe->base.pHal->i2cAccess == NULL)
{
NVSWITCH_ASSERT(0);
return 0;
}
return pSoe->base.pHal->i2cAccess(device, pParams);
}

View File

@@ -179,6 +179,10 @@ soeSetupHal
{
soeSetupHal_LR10(pSoe);
}
else if (nvswitch_is_ls10_device_id(pci_device_id))
{
soeSetupHal_LS10(pSoe);
}
else
{
// we're on a device which doesn't support SOE