]> Git Repo - J-u-boot.git/commit
powerpc: spl: configure SYS_MALLOC_F_LEN independently for SPL and full U-Boot
authorAndy Yan <[email protected]>
Mon, 24 Jul 2017 09:47:27 +0000 (17:47 +0800)
committerPhilipp Tomsich <[email protected]>
Thu, 27 Jul 2017 12:59:03 +0000 (14:59 +0200)
commit2b71d098eefbd396771d19bc18c4ec36142976fa
tree409073b7d735e35e0053ec25210d37d685578e71
parentf5868a5da119421a5274a15a049f799dd60ef49a
powerpc: spl: configure SYS_MALLOC_F_LEN independently for SPL and full U-Boot

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 <[email protected]>
Acked-by: Philipp Tomsich <[email protected]>
Reviewed-by: Philipp Tomsich <[email protected]>
[fixed up commit-message:]
Signed-off-by: Philipp Tomsich <[email protected]>
arch/powerpc/cpu/mpc83xx/start.S
arch/powerpc/cpu/mpc85xx/start.S
This page took 0.036618 seconds and 4 git commands to generate.