Skip to content
Commit ca7d2266 authored by Michal Simek's avatar Michal Simek
Browse files

microblaze: spl: Do not call mem_malloc_init and use early alloc



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: default avatarMichal Simek <michal.simek@xilinx.com>
parent 405e651d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment