From mboxrd@z Thu Jan 1 00:00:00 1970 From: York Sun Date: Tue, 15 Dec 2015 09:02:54 +0800 Subject: [U-Boot] [PATCH v5 1/2] common: Rewrite hiding the end of memory In-Reply-To: <1449524259-14683-1-git-send-email-yorksun@freescale.com> References: <1449524259-14683-1-git-send-email-yorksun@freescale.com> Message-ID: <566F66BE.2080900@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: > As the name may be confusing, the CONFIG_SYS_MEM_TOP_HIDE reserves > some memory from the end of ram, tracked by gd->ram_size. It is not > always the top of u-boot visible memory. Rewrite the macro with a > weak function to provide flexibility for complex calcuation. Legacy > use of this macro is still supported. > > Signed-off-by: York Sun > > --- > > Changes in v5: > Separated as a new patch > > Changes in v4: None > Changes in v3: None > Changes in v2: None Applied to fsl-qoriq master. Awaiting upstream. York