Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A5021C4332F for ; Tue, 13 Dec 2022 10:38:31 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id C1B6585207; Tue, 13 Dec 2022 11:38:28 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=phytec.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=phytec.de header.i=@phytec.de header.b="KTmnCKah"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 87EB985306; Tue, 13 Dec 2022 11:38:26 +0100 (CET) Received: from mickerik.phytec.de (mickerik.phytec.de [91.26.50.163]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 30FB8851BC for ; Tue, 13 Dec 2022 11:38:24 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=phytec.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=W.Egorov@phytec.de DKIM-Signature: v=1; a=rsa-sha256; d=phytec.de; s=a4; c=relaxed/simple; q=dns/txt; i=@phytec.de; t=1670927903; x=1673519903; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:CC:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=f07UWFEFUVOm1ySrbxqHUXuJBZ26MCetRgo4I3MSgo4=; b=KTmnCKahgPdf6LNhYzY+10eLnrOOnxVXG6ySDtMjj4XTjB0U7WSXosgCCOg0cjXP ThoVPjgBKb7hYzzxkPSN9sHGf54EpcAq5qmMGrcI74T9Y0VuN6paqSMjjniSE1yo TNrZlRIqSHLd8FM8rFPZEjxXTAVGF9YkvHuowkuhRmA=; X-AuditID: ac14000a-83bf370000003940-3e-6398561fb78b Received: from berlix.phytec.de (Unknown_Domain [172.25.0.12]) (using TLS with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mickerik.phytec.de (PHYTEC Mail Gateway) with SMTP id D1.45.14656.F1658936; Tue, 13 Dec 2022 11:38:23 +0100 (CET) Received: from augenblix2.phytec.de (172.25.0.11) by Berlix.phytec.de (172.25.0.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.18; Tue, 13 Dec 2022 11:38:23 +0100 From: Wadim Egorov To: CC: , , Subject: [PATCH] configs: phycore-rk3288: Enable CONFIG_LTO Date: Tue, 13 Dec 2022 11:38:09 +0100 Message-ID: <20221213103809.1407187-1-w.egorov@phytec.de> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.25.0.11] X-ClientProxiedBy: Florix.phytec.de (172.25.0.13) To Berlix.phytec.de (172.25.0.12) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrHLMWRmVeSWpSXmKPExsWyRpKBR1c+bEaywfLnQhbPH3WyWXzbso3R 4u3eTnYHZo/ZDRdZPM7e2cHo8errXMYA5igum5TUnMyy1CJ9uwSujKlvVrAXrGer2NX4mq2B 8RBrFyMnh4SAicTyzxsZuxi5OIQEFjNJLFzwAcp5wijxfspXZpAqNgF1iTsbvoF1iAhISbzs 3AgWZxZwlngzcREjiC0sYC2x8NdasDiLgKrEtGtT2UBsXgFLiX93ZzJCbJOXmHnpOztEXFDi 5MwnLBBz5CWat86GmikhcfDFCzBbCCj+4tJyFpjeaedeM0PYoRJHNq1mmsAoMAvJqFlIRs1C MmoBI/MqRqHczOTs1KLMbL2CjMqS1GS9lNRNjKAwFWHg2sHYN8fjECMTB+MhRgkOZiURXlWN aclCvCmJlVWpRfnxRaU5qcWHGKU5WJTEee/3MCUKCaQnlqRmp6YWpBbBZJk4OKUaGEVPTM7c Ocf4TfKZSe1R1z86xf3aP/UQi2J74HKPV+cPyAhx8z99/6bhuxBHR/TNlft70o1iTHY+Ttqy wuBsPUd7Usi/xWkv+zm29a1eOGHurP+LPqcXLso6KPVUMlTacnrGoTwV6Rlb/Oebbzn3YXf3 Gm7tT0qyO4V+Sq9PjSy/uS758BZ3B2UlluKMREMt5qLiRABDh7ShQQIAAA== X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean The phycore-rk3288 SPL binary is reaching the limits of 32KB very often. Enable CONFIG_LTO to reduce the size of the SPL and make the board more future proof for changes increasing the SPL size. Signed-off-by: Wadim Egorov --- configs/phycore-rk3288_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/phycore-rk3288_defconfig b/configs/phycore-rk3288_defconfig index 8a274187d0..aa015c5502 100644 --- a/configs/phycore-rk3288_defconfig +++ b/configs/phycore-rk3288_defconfig @@ -15,6 +15,7 @@ CONFIG_DEBUG_UART_BASE=0xff690000 CONFIG_DEBUG_UART_CLOCK=24000000 CONFIG_SYS_LOAD_ADDR=0x800800 CONFIG_DEBUG_UART=y +CONFIG_LTO=y CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x100000 CONFIG_SYS_MONITOR_LEN=614400 -- 2.34.1