From patchwork Mon Nov 27 12:57:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Uvarov X-Patchwork-Id: 747567 Delivered-To: patch@linaro.org Received: by 2002:a5d:6706:0:b0:32d:baff:b0ca with SMTP id o6csp3137938wru; Mon, 27 Nov 2023 05:07:47 -0800 (PST) X-Google-Smtp-Source: AGHT+IHNBljInSy21J958+kH8F3cV3mp/kwgRa/0UOPWqhVa9F7/Z1VOnKI2IQSjTjHEBG0b4Msa X-Received: by 2002:a05:600c:3590:b0:409:4e8f:4b27 with SMTP id p16-20020a05600c359000b004094e8f4b27mr8116220wmq.33.1701090467749; Mon, 27 Nov 2023 05:07:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701090467; cv=none; d=google.com; s=arc-20160816; b=a4ZsAolB4h8IvbP4Gjp7L+9Pp1MwKfM4v0OY0QLOyCkCC9a6o6tg+Ft26TFneo5CrU v6nmFtEONh4xb5Cx6HAGWvwIOSsb+FZCSbfq5n2VpKEBiWwcgHaMnhIpFr7gCiMQBmKC uB4w6d8xZG6Q1+lhArd0cMfv/P7yZawVCw51oE8vKnPVLuVP08CSI61qFNOZoEMaXnEK FgdYaQrVDdGFdZSY1Qoexh3aSAdcC1YcaUml3gKDXQcE7XXvD2iiiZAT5qikC56zw1c5 XzBU/JXDvs4f054zxzH3HcmdIuPWTUbA7OoNcFTySXijB20maBHcLHnxWBI48QaWP/z2 kRuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=Tgd9XSl1RgBYi1BvtIQ5IaQT26RUcbOejhnA8d5hUVI=; fh=QyNHqymfSLfpkarWtc7IKVRHBXLRqHmsXw8S5qDkAYI=; b=M2hlip3scZv86IIBE6YOueFv3A8O/KJL/D5B91khoHUGLtrKJ2391BF32EHXJJ5d97 FFB6mAEwRHbvqFHrcnMHAtsGPckmUVqLokm7/kVAga3ragHJaS3Er/0Wn6z/eDq5UAMw 2Ek9yrBX3JGIdzsiuwIyAYmNAuukl4RqUTVG07FKqjz5bqYjPb4G0wzI/8o/lFsGROSV Rga14XhS3DO2Y78qc2xF0D6XGCxsw4xXqav3YCqnHlnBw5jpQFMd7J26jcNY7bxt9BjJ Owxc+oKMqZdeQdBu4s/yF9ZrPnQylY96A6X+O/HIVLWwXEDH8E7IpnV2r2loCXR4gMPq /xGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WCdx7oi5; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id q19-20020a05600c46d300b004085ade385fsi5727925wmo.60.2023.11.27.05.07.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Nov 2023 05:07:47 -0800 (PST) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WCdx7oi5; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 2393087774; Mon, 27 Nov 2023 14:01:26 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="WCdx7oi5"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 10B8D8773A; Mon, 27 Nov 2023 14:01:24 +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_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 215E187762 for ; Mon, 27 Nov 2023 14:01:22 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=maxim.uvarov@linaro.org Received: by mail-lf1-x12c.google.com with SMTP id 2adb3069b0e04-507e85ebf50so5618650e87.1 for ; Mon, 27 Nov 2023 05:01:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701090081; x=1701694881; darn=lists.denx.de; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Tgd9XSl1RgBYi1BvtIQ5IaQT26RUcbOejhnA8d5hUVI=; b=WCdx7oi5EYJ03I1iFaVRH7VNBAkJrmFpYkgWBRO1rQOtyWkA2HMSHP1YvwFShLlifb Y97Mv0ThRB6zcQK2qQ/rK68EhEsPzl5QTCz2sCFsJslPNBU9dd8njNUddiYolXw79jmh oWeB62xNrR1DIoPe8rsU47A/kVEpytvvpZfKpKEOgPjyRR6kNFnsrsHwhXDV77Cs1NN7 UCLcdJ/X46kZDsgwLG3XHUZhKKVTBMUqovVkRN/8DgIv/qd4zUSOjx5tpmkRsvIoclFK 1F2AiKkEBAeGE9KI+TxOc8yWTxJhXhn848BlMdlaJKZrQ3tz/PvjXga19N9qV7Wf04dN nLLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701090081; x=1701694881; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Tgd9XSl1RgBYi1BvtIQ5IaQT26RUcbOejhnA8d5hUVI=; b=lJpjX3YL9wu9Do4cD/4wGpE9LAbqTSaPnbNzXJA5sHw+A5Y5QSn8NzRMhBufQFeSFd AhqaGMqAzDnNsk7DJKMb3GjF2B03iDXsp6oMWU0lHAoB33FeYGMVRGOfuGQOBYK0UQmU xttqMf/hTFywH1y8Tz1MR0mPYg0rGwRx6pS9vHJJ/yWzrQzBMtKWsq8ioL9JC/RMmk3Y aOvRJnhXuRt7Jl5QbxSfzzAvIFtZpxxgq/gTdMlQ9pjmxhLsfhrvFpB8XYaaAN0+0OlR a3T2bUmdOT7fa6cGmlhJyJT+/Y8frNY2Ks4fmTbdz1eysMOhLs8nvCwSyUJ1LJWQKvVF DXXg== X-Gm-Message-State: AOJu0Yy3aOaoByVRUCGvIPAlIZycB4XjJkJsf1Mlw2JyCdqkeD7pDd32 vEuFh2+MoCoFuzarNw2wzIIuOPrOjqS2/pBh2g8cTQ== X-Received: by 2002:a19:a408:0:b0:509:4bd1:6b63 with SMTP id q8-20020a19a408000000b005094bd16b63mr6966161lfc.16.1701090081107; Mon, 27 Nov 2023 05:01:21 -0800 (PST) Received: from localhost.localdomain ([45.82.14.220]) by smtp.gmail.com with ESMTPSA id f16-20020a19ae10000000b005092b887ba2sm1482489lfc.201.2023.11.27.05.01.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Nov 2023 05:01:20 -0800 (PST) From: Maxim Uvarov To: u-boot@lists.denx.de Cc: pbrobinson@gmail.com, ilias.apalodimas@linaro.org, trini@konsulko.com, goldsimon@gmx.de, Maxim Uvarov Subject: [PATHv11 31/43] configs/lschlv2_defconfig: enable LTO and inc size Date: Mon, 27 Nov 2023 18:57:14 +0600 Message-Id: <20231127125726.3735-32-maxim.uvarov@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20231127125726.3735-1-maxim.uvarov@linaro.org> References: <20231127125726.3735-1-maxim.uvarov@linaro.org> MIME-Version: 1.0 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.8 at phobos.denx.de X-Virus-Status: Clean Increase allowed binary size to fit lwip code. Signed-off-by: Maxim Uvarov --- configs/lschlv2_defconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configs/lschlv2_defconfig b/configs/lschlv2_defconfig index d7c77f8a88..7e0c70c6ea 100644 --- a/configs/lschlv2_defconfig +++ b/configs/lschlv2_defconfig @@ -19,7 +19,7 @@ CONFIG_DEFAULT_DEVICE_TREE="kirkwood-lschlv2" CONFIG_IDENT_STRING=" LS-CHLv2" CONFIG_SYS_LOAD_ADDR=0x800000 CONFIG_HAS_BOARD_SIZE_LIMIT=y -CONFIG_BOARD_SIZE_LIMIT=393216 +CONFIG_BOARD_SIZE_LIMIT=409600 # CONFIG_BOOTSTD is not set CONFIG_DISTRO_DEFAULTS=y CONFIG_SHOW_BOOT_PROGRESS=y @@ -67,3 +67,4 @@ CONFIG_DM_SPI=y CONFIG_KIRKWOOD_SPI=y CONFIG_USB=y CONFIG_USB_EHCI_HCD=y +CONFIG_LTO=y