Hi Tomas

> static struct early_heap_header *def_early_brk(size_t bytes)
> {
>         struct early_heap_header *h;
>
>         if(gd->early_heap_first)
>                 return NULL;
>
>         /* The default implementation allocates all of the reserved space */
>         bytes = CONFIG_SYS_EARLY_HEAP_SIZE;
>         gd->early_heap_first = bytes;

Oops

gd->early_heap_first = CONFIG_SYS_EARLY_HEAP_ADDR;

Regards,

Graeme
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to