From mboxrd@z Thu Jan 1 00:00:00 1970 From: York Sun Date: Tue, 15 Dec 2015 09:03:17 +0800 Subject: [U-Boot] [PATCH v5 2/2] armv8: fsl-layerscale: Rewrite reserving memory for MC and debug server In-Reply-To: <1449524259-14683-2-git-send-email-yorksun@freescale.com> References: <1449524259-14683-1-git-send-email-yorksun@freescale.com> <1449524259-14683-2-git-send-email-yorksun@freescale.com> Message-ID: <566F66D5.3060109@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/08/2015 05:37 AM, York Sun wrote: > MC and debug server are not board-specific. Move reserving memory to SoC > file, using the new board_reserve_ram_top function. 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 v5: > Separated changes in board_f.c > > Changes in v4: > Rebase to current master branch > > Changes in v3: > Rename CONFIG_SYS_MC_RESERV_MEM_ALIGN to CONFIG_SYS_MC_RSV_MEM_ALIGN > Check for unused CONFIG_SYS_MEM_TOP_HIDE if board_reserve_ram_top is used > Use gd->ram_size = board_reserve_ram_top(gd->ram_size) format > Use phys_size_t instead of ulong for ram_size calculation > > Changes in v2: > Revise commit message. Applied to fsl-qoriq master. Awaiting upstream. York