]> git.dujemihanovic.xyz Git - u-boot.git/commit
sunxi: Switch to using malloc_simple for the spl
authorHans de Goede <hdegoede@redhat.com>
Sun, 13 Sep 2015 10:31:24 +0000 (12:31 +0200)
committerHans de Goede <hdegoede@redhat.com>
Tue, 20 Oct 2015 16:40:27 +0000 (18:40 +0200)
commit6d0bdfdde58b4df825b67dc58b3a948deea268e0
treec2df1e931bde75ca5f9714e6d3396a9c1256f1d5
parentff42d107bfcf2205824d3809ccbc6a94d7646309
sunxi: Switch to using malloc_simple for the spl

common/dlmalloc.c is quite big, both in .text and .data usage. E.g. for a
Mele_M9 sun6i board build this reduces .text from 0x4214 to 0x3b94 bytes,
and .data from 0x54c to 0x144 bytes.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
Reviewed-by: Tom Rini <trini@konsulko.com>
arch/arm/Kconfig
arch/arm/cpu/armv7/sunxi/board.c
include/configs/sunxi-common.h