]> git.baikalelectronics.ru Git - uboot.git/commit
xilinx: common: Change bootm_size variable setting
authorMichal Simek <michal.simek@xilinx.com>
Wed, 12 Aug 2020 10:17:53 +0000 (12:17 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 20 Aug 2020 07:58:16 +0000 (09:58 +0200)
commiteb5cf610efecd7356d8eea70ddf397012c9a0029
treeaa0e6c1b675f4b68315f2bc54abc76e224fd9d4d
parente77e75adb78a71a6183ddb4b11e11b5bd8a84da9
xilinx: common: Change bootm_size variable setting

Linux kernel for arm32 requires dtb and initrd to be placed in low memory
to work properly. This requirement is described in chapter 4b) and 5) in
Linux documentation (Documentation/arm/booting.rst).

There is an issue on arm32 with 2GB of memory that bootm_size is bigger
than Linux lowmem (for example with VMSPLIT_3G). That's why limit bootm
size on these systems not to be above 768MB.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
board/xilinx/common/board.c