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

2015-09-22 Thread Hans de Goede
Hi, Thanks for all the reviews. On 22-09-15 06:00, Simon Glass wrote: Hi Hans, On 13 September 2015 at 09:42, 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

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

2015-09-21 Thread Simon Glass
Hi Hans, On 13 September 2015 at 09:42, 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 avail

[U-Boot] [PATCH 4/7] malloc_simple: Add support for switching to DRAM heap

2015-09-13 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