aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMeenakshi Aggarwal2019-05-23 15:13:43 +0530
committerPrabhakar Kushwaha2019-08-22 09:07:35 +0530
commitcf0bbbd1ee7b7c5e40db81c6b61d82e853dd50fb (patch)
tree22b980b6c204495ecd6a60b278904b5af6ebc8e4 /include
parent1e60ccd94318fb86610e1e28512b2aaac5f4b069 (diff)
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>
Diffstat (limited to 'include')
-rw-r--r--include/fsl-mc/fsl_mc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/fsl-mc/fsl_mc.h b/include/fsl-mc/fsl_mc.h
index 0abd797cc46..a4d7d85fce7 100644
--- a/include/fsl-mc/fsl_mc.h
+++ b/include/fsl-mc/fsl_mc.h
@@ -55,6 +55,7 @@ void fdt_fsl_mc_fixup_iommu_map_entry(void *blob);
int get_mc_boot_status(void);
int get_dpl_apply_status(void);
int is_lazy_dpl_addr_valid(void);
+void fdt_fixup_mc_ddr(u64 *base, u64 *size);
#ifdef CONFIG_SYS_LS_MC_DRAM_AIOP_IMG_OFFSET
int get_aiop_apply_status(void);
#endif