fsl/fman: don't touch liodn base regs reserved on non-PAMU SoCs
authorLaurentiu Tudor <laurentiu.tudor@nxp.com>
Wed, 23 Oct 2019 09:08:40 +0000 (12:08 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 24 Oct 2019 22:21:57 +0000 (15:21 -0700)
commit9b56beed1e8adc6b7b142bed5cf89531b9cf4a91
treef635bfede7701e2e694793325c7859f372e69364
parentfb8d1d7e3d345006dceaf9efecc72681cc53633f
fsl/fman: don't touch liodn base regs reserved on non-PAMU SoCs

The liodn base registers are specific to PAMU based NXP systems and are
reserved on SMMU based ones. Don't access them unless PAMU is compiled in.

Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Signed-off-by: Madalin Bucur <madalin.bucur@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/fman/fman.c