Message ID | 20221213103809.1407187-1-w.egorov@phytec.de |
---|---|
State | Accepted |
Delegated to: | Kever Yang |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=phytec.de header.i=@phytec.de header.a=rsa-sha256 header.s=a4 header.b=KTmnCKah; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4NWZjC4Yyfz240J for <incoming@patchwork.ozlabs.org>; Tue, 13 Dec 2022 21:38:37 +1100 (AEDT) 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) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 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 <u-boot@lists.denx.de>; 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 <w.egorov@phytec.de> To: <u-boot@lists.denx.de> CC: <w.egorov@phytec.de>, <samuel@sholland.org>, <sjg@chromium.org> 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 <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean |
Series |
configs: phycore-rk3288: Enable CONFIG_LTO
|
expand
|
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
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 <w.egorov@phytec.de> --- configs/phycore-rk3288_defconfig | 1 + 1 file changed, 1 insertion(+)