]> git.dujemihanovic.xyz Git - u-boot.git/commit
drivers: net: mc: Report extra memory to Linux
authorMeenakshi Aggarwal <meenakshi.aggarwal@nxp.com>
Thu, 23 May 2019 09:43:43 +0000 (15:13 +0530)
committerPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
Thu, 22 Aug 2019 03:37:35 +0000 (09:07 +0530)
commitcf0bbbd1ee7b7c5e40db81c6b61d82e853dd50fb
tree22b980b6c204495ecd6a60b278904b5af6ebc8e4
parent1e60ccd94318fb86610e1e28512b2aaac5f4b069
drivers: net: mc: Report extra memory to Linux

MC firmware need to be aligned to 512M, so minimum 512MB DDR is reserved.
But MC support to work with 128MB or 256MB DDR memory also, in this
case, rest of the memory is not usable.
So reporting this extra memory to Linux through dtb memory fixup.

Signed-off-by: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com>
Reviewed-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
board/freescale/ls1088a/ls1088a.c
board/freescale/ls2080ardb/ls2080ardb.c
board/freescale/lx2160a/lx2160a.c
drivers/net/fsl-mc/mc.c
include/fsl-mc/fsl_mc.h