From: Hans de Goede <hdegoede@redhat.com>
Date: Tue, 5 May 2015 10:49:36 +0000 (+0200)
Subject: sunxi: Set SYS_MALLOC_CLEAR_ON_INIT to n
X-Git-Tag: v2025.01-rc5-pxa1908~12890
X-Git-Url: http://git.dujemihanovic.xyz/img/static/git-logo.png?a=commitdiff_plain;h=f9b08fbf11add614f1773c5378a9026cd3d5c75f;p=u-boot.git

sunxi: Set SYS_MALLOC_CLEAR_ON_INIT to n

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>
---

diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig
index 5b6cc5c82f..012f9a4cef 100644
--- a/board/sunxi/Kconfig
+++ b/board/sunxi/Kconfig
@@ -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