mirror of
https://github.com/MiSTer-devel/u-boot_MiSTer.git
synced 2026-05-17 03:05:04 +00:00
This function will be used by both SPL and U-Boot proper. So move it into a common place. Also change the #ifdef so that the early malloc() area is not set up in SPL if CONFIG_SYS_SPL_MALLOC_START is defined. In that case it would never actually be used, and just chews up stack space. Signed-off-by: Simon Glass <sjg@chromium.org>
7.6 KiB
7.6 KiB