From cf0bbbd1ee7b7c5e40db81c6b61d82e853dd50fb Mon Sep 17 00:00:00 2001 From: Meenakshi Aggarwal Date: Thu, 23 May 2019 15:13:43 +0530 Subject: 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 Reviewed-by: Prabhakar Kushwaha --- include/fsl-mc/fsl_mc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/fsl-mc/fsl_mc.h b/include/fsl-mc/fsl_mc.h index 0abd797cc4..a4d7d85fce 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 -- cgit