]> git.sur5r.net Git - u-boot/commit
mips: spl: configure SYS_MALLOC_F_LEN independently for SPL and full U-Boot
authorAndy Yan <andy.yan@rock-chips.com>
Mon, 24 Jul 2017 09:45:27 +0000 (17:45 +0800)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Thu, 27 Jul 2017 12:59:03 +0000 (14:59 +0200)
commitf5868a5da119421a5274a15a049f799dd60ef49a
tree36c8862e776d57c0fd53720958bf7490a15cdcab
parentf1896c45cb2f7d8dbed27e784a6459a129fc0762
mips: 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 <andy.yan@rock-chips.com>
Acked-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.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>
arch/mips/cpu/start.S