summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorYork Sun <yorksun@freescale.com>2015-12-07 22:05:29 +0300
committerYork Sun <yorksun@freescale.com>2015-12-15 03:57:33 +0300
commitaabd7ddb889aec3c6c4139974f66a44e2ce46ba5 (patch)
tree994bb4cf82b7efd6c61866cfd551905859288d2f /lib
parentc107c0c05c988ac6cfba6de60c90f105bbea0e1e (diff)
downloadu-boot-aabd7ddb889aec3c6c4139974f66a44e2ce46ba5.tar.xz
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: York Sun <yorksun@freescale.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions