]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
Default to bootm_size() when CONFIG_SYS_BOOTMAPSZ is not defined
authorGrant Likely <grant.likely@linaro.org>
Mon, 28 Mar 2011 09:58:43 +0000 (09:58 +0000)
committerGerald Van Baren <gvb@unssw.com>
Tue, 26 Apr 2011 01:11:20 +0000 (21:11 -0400)
commitc3624e6ed0a36f54aa0b3e7f32d30a6fde434f51
tree9a9de9718b28b0a526708466f5eb12782352607d
parent590d3cacb98cb377b127869b58507d2afe9c904a
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: Grant Likely <grant.likely@linaro.org>
README
arch/powerpc/lib/bootm.c
common/image.c
include/image.h