Some platforms have very limited SRAM to run SPL code, so there may not be the same amount space for a malloc pool before relocation in the SPL stage as the normal U-Boot stage. Make SPL and (the full) U-Boot stage use independent SYS_MALLOC_F_LEN, so the size of pre-relocation malloc pool can be configured memory space independently. Signed-off-by: Andy Yan <andy.yan@rock-chips.com> Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> [fixed up commit-message:] Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> |
||
|---|---|---|
| .. | ||
| Makefile | ||
| cache.c | ||
| exception.c | ||
| interrupts.c | ||
| irq.S | ||
| spl.c | ||
| start.S | ||
| timer.c | ||
| u-boot-spl.lds | ||
| u-boot.lds | ||