From mboxrd@z Thu Jan 1 00:00:00 1970 From: York Sun Date: Mon, 7 Dec 2015 11:16:58 -0800 Subject: [U-Boot] [PATCH v4] armv8: fsl-layerscale: Rewrite reserving memory for MC and debug server In-Reply-To: References: <1449511697-11428-1-git-send-email-yorksun@freescale.com> Message-ID: <5665DB2A.1070705@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 12/07/2015 10:20 AM, Simon Glass wrote: > On 7 December 2015 at 11:08, York Sun wrote: >> MC and debug server are not board-specific. Instead of reserving >> memory in each board file, a weak function is introduced in board_f.c >> to replace macro CONFIG_SYS_MEM_TOP_HIDE for more flexibility. >> Legacy use of this macro is still supported. Move the reservation >> calculation to SoC file. Reduce debug server memory by 2MB to >> make room for secure memory. >> >> In the system with MC and debug server, the top of u-boot memory >> is not the end of memory. PRAM is not used for this reservation. >> >> Signed-off-by: York Sun >> >> --- >> >> Changes in v4: >> Rebase to current master branch > > Reviewed-by: Simon Glass > > If for any reason you issue a v5 can you please move the common change > (board_f.c) to a separate patch? Right. It makes sense to separate the change. I will send v5. York