rpi: Set bootm_size to 512MB

Set this option so that all boot images stay within the bottom 512MB of
memory. This should allow us to drop the fdt_high and initrd_high
options.

Series-changes: 2
- Add new patch to set bootm_size

Series-changes: 3
- Add to the existing comment block

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
Suggested-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
Simon Glass
2024-12-09 10:08:12 -07:00
parent c8cbb34758
commit 3a5e3ed6eb

View File

@@ -60,7 +60,12 @@ dfu_alt_info+=zImage fat 0 1
* Even with the smallest possible CPU-GPU memory split of the CPU getting
* only 64M, the remaining 25M starting at 0x02700000 should allow quite
* large initrds before they start colliding with U-Boot.
*
* Limit bootm_size to 512MB so that all boot images stay within the bottom
* 512MB of memory
*/
bootm_size=0x20000000
#ifdef CONFIG_ARM64
fdt_high=ffffffffffffffff
initrd_high=ffffffffffffffff