drivers:net:fsl-mc: Update MC address calculation
authorPriyanka Jain <priyanka.jain@nxp.com>
Thu, 24 Aug 2017 11:12:43 +0000 (16:42 +0530)
committerYork Sun <york.sun@nxp.com>
Mon, 11 Sep 2017 14:55:36 +0000 (07:55 -0700)
commit033c538e567aca5f0876f2504b5e278c2a0f83a8
treee905505666a6f0ad1bd55a75c8dae50746514e0f
parentc055cee1951a01a3306f54f20bcfb85adf28721a
drivers:net:fsl-mc: Update MC address calculation

Update MC address calculation as per MC design requirement of address
as least significant 512MB address of MC private allocated memory,
i.e. address should point to end address masked with 512MB offset in
private DRAM block.

Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
Signed-off-by: Ashish Kumar <ashish.kumar@nxp.com>
[YS: reformatted commit message]
Reviewed-by: York Sun <york.sun@nxp.com>
drivers/net/fsl-mc/mc.c