]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit28d28951efc37eec10decbda97d86d1db4fa8d24
treef635bfede7701e2e694793325c7859f372e69364
parent214b06890bc39e7513d9d8c4774adf379072891d
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