Skip to content
Snippets Groups Projects
Commit c3624e6e authored by Grant Likely's avatar Grant Likely Committed by Gerald Van Baren
Browse files

Default to bootm_size() when CONFIG_SYS_BOOTMAPSZ is not defined


This patch adds a function getenv_bootm_mapsize() for obtaining the
size of the early mapped region accessible by the kernel during early
boot.  It defaults to CONFIG_SYS_BOOTMAPSZ, or if not defined,
defaults to getenv_bootm_size(), which in turn defaults to the size of
RAM.

getenv_bootm_mapsize() can also be overridden with a "bootm_mapsize"
environmental variable.

Signed-off-by: default avatarGrant Likely <grant.likely@linaro.org>
parent 590d3cac
No related branches found
No related tags found
Loading
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