diff mbox

[U-Boot,1/2] sunxi: Set SYS_MALLOC_CLEAR_ON_INIT to n

Message ID 1430824867-10682-1-git-send-email-hdegoede@redhat.com
State Accepted
Delegated to: Hans de Goede
Headers show

Commit Message

Hans de Goede May 5, 2015, 11:21 a.m. UTC
We don't need this on sunxi, and not having is shaves some time of out boot
time.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 board/sunxi/Kconfig | 3 +++
 1 file changed, 3 insertions(+)

Comments

Ian Campbell May 9, 2015, 1:48 p.m. UTC | #1
On Tue, 2015-05-05 at 13:21 +0200, Hans de Goede wrote:
> We don't need this on sunxi,

Please say why here. I assume something like "we always use calloc or
memset when initialised memory is required"?

>  and not having is shaves some time of out boot
> time.
> 
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>

With that added:
        Acked-by: Ian Campbell <ijc@hellion.org.uk>
diff mbox

Patch

diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig
index bd1e988..940b6c7 100644
--- a/board/sunxi/Kconfig
+++ b/board/sunxi/Kconfig
@@ -549,6 +549,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