Skip to content
Snippets Groups Projects
Commit aabd7ddb authored by York Sun's avatar York Sun
Browse files

common: Rewrite hiding the end of memory


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: default avatarYork Sun <yorksun@freescale.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent c107c0c0
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment