Re: [U-Boot] [PATCH v2] malloc_simple: Add support for switching to DRAM heap

2015-09-15 Thread Tom Rini
On Mon, Sep 14, 2015 at 04:29:21PM +0200, Hans de Goede wrote: > malloc_simple uses a part of the stack as heap, initially it uses > SYS_MALLOC_F_LEN bytes which typically is quite small as the initial > stacks sits in SRAM and we do not have that much SRAM to work with. > > When DRAM becomes ava

[U-Boot] [PATCH v2] malloc_simple: Add support for switching to DRAM heap

2015-09-14 Thread Hans de Goede
malloc_simple uses a part of the stack as heap, initially it uses SYS_MALLOC_F_LEN bytes which typically is quite small as the initial stacks sits in SRAM and we do not have that much SRAM to work with. When DRAM becomes available we may switch the stack from SRAM to DRAM to give use more room. Th