From 4f11086738999c35edfe5d4d093f6f0ce875dade Mon Sep 17 00:00:00 2001 From: Joseph Chen Date: Thu, 21 Feb 2019 15:18:49 +0800 Subject: [PATCH] Kconfig: disable SYS_MALLOC_CLEAR_ON_INIT for rockchip It really saves a lot of boot time. Change-Id: I22b1259c865f91816f54f87fe7b3d893d8c70522 Signed-off-by: Joseph Chen --- Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kconfig b/Kconfig index 03153dd933..082dab44ea 100644 --- a/Kconfig +++ b/Kconfig @@ -133,7 +133,7 @@ menuconfig EXPERT if EXPERT config SYS_MALLOC_CLEAR_ON_INIT bool "Init with zeros the memory reserved for malloc (slow)" - default y + default y if !ARCH_ROCKCHIP help This setting is enabled by default. The reserved malloc memory is initialized with zeros, so first malloc calls