]> git.karo-electronics.de Git - karo-tx-uboot.git/commitdiff
microblaze: spl: Do not call mem_malloc_init and use early alloc
authorMichal Simek <michal.simek@xilinx.com>
Tue, 3 Feb 2015 15:24:48 +0000 (16:24 +0100)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 10:59:17 +0000 (12:59 +0200)
This patch has some parts connected together:
- Use _gd in bss section which is automatically cleared
  Location at SPL_MALLOC_END wasn't cleared at all
- Use MALLOC_F_LEN(early alloc) instead of FULL MALLOC
  (mem_malloc_init is not called at all)
- Simplify malloc and stack init.
  At the end of SPL addr is malloc area and below is stack

Signed-off-by: Michal Simek <michal.simek@xilinx.com>

No differences found