[U-Boot] [PATCH v5 1/2] common: Rewrite hiding the end of memory

Simon Glass sjg at chromium.org
Tue Dec 8 20:35:12 CET 2015


On 7 December 2015 at 14:37, York Sun <yorksun at freescale.com> 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 <yorksun at freescale.com>
>
> ---
>
> Changes in v5:
>   Separated as a new patch
>
> Changes in v4: None
> Changes in v3: None
> Changes in v2: None
>
>  README           |    2 +-
>  common/board_f.c |   23 +++++++++++++++--------
>  2 files changed, 16 insertions(+), 9 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list