]> git.sur5r.net Git - u-boot/commit
MIPS: add support for pre-relocation malloc
authorDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Sun, 18 Jan 2015 21:18:39 +0000 (22:18 +0100)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Wed, 21 Jan 2015 13:07:23 +0000 (14:07 +0100)
commite520023882c7187a7cbaecfea0726ea158440aef
tree7ba50ce088bccb2abacf79a2e3b710c32ff9c6ec
parentdd82128ef5e9fc660862a0a60423aa01a03de5d4
MIPS: add support for pre-relocation malloc

Implement MIPS specific setup of the gd_t structure to support
pre-relocation malloc. If CONFIG_SYS_MALLOC_F_LEN is specified,
a memory area will be reserved after the initial stack area and
the gd->malloc_base pointer will be initialized.

After this patch the new driver model can be used on MIPS.

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
arch/mips/cpu/mips32/start.S
arch/mips/cpu/mips64/start.S
arch/mips/include/asm/config.h