]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
sunxi: Set SYS_MALLOC_CLEAR_ON_INIT to n
authorHans de Goede <hdegoede@redhat.com>
Tue, 5 May 2015 10:49:36 +0000 (12:49 +0200)
committerHans de Goede <hdegoede@redhat.com>
Tue, 19 May 2015 16:37:30 +0000 (18:37 +0200)
We don't need this on sunxi, as we always use calloc or memset when
initialised memory is required. Clearing this shaves some time of our
boot time.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
board/sunxi/Kconfig

index 5b6cc5c82f33733913d592a0934f80e6b1913f3f..012f9a4cefc0706f36d1283015bf5ae1c89aaf3d 100644 (file)
@@ -544,6 +544,9 @@ config GMAC_TX_DELAY
        ---help---
        Set the GMAC Transmit Clock Delay Chain value.
 
+config SYS_MALLOC_CLEAR_ON_INIT
+       default n
+
 config NET
        default y