From: Priyanka Jain <priyanka.jain@nxp.com>
Date: Tue, 29 Aug 2017 09:50:37 +0000 (+0530)
Subject: board/ls2080ardb: Add mcmemsize variable in default env
X-Git-Tag: v2025.01-rc5-pxa1908~5713^2~4
X-Git-Url: http://git.dujemihanovic.xyz/img/html/index.html?a=commitdiff_plain;h=8472d8765b39351680ea9189ecddf99864b13056;p=u-boot.git

board/ls2080ardb: Add mcmemsize variable in default env

For most of ls2080ardb use-cases, mc private DRAM block is required
to be of 1.75GB.

Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
[YS: this reservation needs to be reduced if memory is not enough]
Reviewed-by: York Sun <york.sun@nxp.com>
---

diff --git a/include/configs/ls2080ardb.h b/include/configs/ls2080ardb.h
index 8a89375a57..9e9979e1c7 100644
--- a/include/configs/ls2080ardb.h
+++ b/include/configs/ls2080ardb.h
@@ -387,6 +387,7 @@ unsigned long get_board_sys_clk(void);
 	"load_addr=0xa0000000\0"		\
 	"kernel_size=0x2800000\0"		\
 	"console=ttyAMA0,38400n8\0"		\
+	"mcmemsize=0x70000000\0"		\
 	MC_INIT_CMD				\
 	BOOTENV					\
 	"boot_scripts=ls2088ardb_boot.scr\0"	\