From mboxrd@z Thu Jan 1 00:00:00 1970 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 2354DC433F5 for ; Mon, 14 Mar 2022 15:47:09 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id CF22683531; Mon, 14 Mar 2022 16:47:06 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="WpD3ll3G"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 71C4F8392F; Mon, 14 Mar 2022 16:47:04 +0100 (CET) Received: from mail-qv1-xf33.google.com (mail-qv1-xf33.google.com [IPv6:2607:f8b0:4864:20::f33]) (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 D31BF831D3 for ; Mon, 14 Mar 2022 16:47:00 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qv1-xf33.google.com with SMTP id kk16so12815924qvb.5 for ; Mon, 14 Mar 2022 08:47:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=VAHUMdiCZzgKLD+/Pz6Gxwv9XwZg9OkK7UmXI3UbS68=; b=WpD3ll3G102R1af83O6dMHAhWpZkZQqYQV2GvJBVfpUhOnlFQ7zJArdA25sC8FITtf M1TDwFK602EbSVf0lUq5iR+nlUCw2FT8tr0QWpc+bloCnAxaFC0FOymxZhhDghDqlXZh 8f036eNmNeHUT+Ms1HNqsWcaBRxwDIMOPy6ak= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=VAHUMdiCZzgKLD+/Pz6Gxwv9XwZg9OkK7UmXI3UbS68=; b=lhzMYM9yqpkx8kECQSDngU3WNlcXo51Ak1DNWgOgzG9KzEiYSycbTrxfSP/I6iPSY7 lyta/tjRZdP7y1ktfOokPd8OIU0uis4fKTnAHhiAaELdQzVvNhScn7Gy75bjmtVNDGS4 a57X6LJWslbEWFvbsXfgDN31UwI0CJ1I+hwAGTLGe8bqFJWDPEHBQhXQ+/sVmoIRj46U JmHE8TsBy10hFuRbX1BD4Q7K1AGKGytSNlnbJa7sOBCYl5UekZuZ0TsFIlv+O2+WlMX0 obfNM1flL3V0rlGNRE9F32kwQ3iR9xX9pp0GqQjtPmo3wCoVrZInFlyMtCgIGiVUIKPx 3YaQ== X-Gm-Message-State: AOAM530lCNqSnyQuF1225pTzQeS3YNSEfYWM9qV7wFeqg5s+QCIiItAj twsbtiSF0WqyKylz3kQQhkUjTQ== X-Google-Smtp-Source: ABdhPJzkd+1fX0ER4/O1Y2sMUy7DRZW5CnJZ6rJ4lPtVbPHel1BUCbslennTQTsVS8BvaMsYjLs68g== X-Received: by 2002:a0c:fe47:0:b0:42d:f798:3da5 with SMTP id u7-20020a0cfe47000000b0042df7983da5mr18220673qvs.77.1647272819575; Mon, 14 Mar 2022 08:46:59 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-2ef0-5dff-fedb-a8ba.res6.spectrum.com. [2603:6081:7b01:cbda:2ef0:5dff:fedb:a8ba]) by smtp.gmail.com with ESMTPSA id v12-20020a05622a130c00b002e1b3ccd9adsm9254234qtk.79.2022.03.14.08.46.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Mar 2022 08:46:58 -0700 (PDT) Date: Mon, 14 Mar 2022 11:46:56 -0400 From: Tom Rini To: Sean Anderson Cc: Simon Glass , U-Boot Mailing List , Oleh Kravchenko Subject: Re: [PATCH 2/2] Add option to use -Og Message-ID: <20220314154656.GA9986@bill-the-cat> References: <20220222171925.1324520-1-sean.anderson@seco.com> <20220222171925.1324520-2-sean.anderson@seco.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="lBR2yNlwcY132B3M" Content-Disposition: inline In-Reply-To: X-Clacks-Overhead: GNU Terry Pratchett 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.5 at phobos.denx.de X-Virus-Status: Clean --lBR2yNlwcY132B3M Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 14, 2022 at 11:36:54AM -0400, Sean Anderson wrote: >=20 >=20 > On 3/11/22 9:25 PM, Simon Glass wrote: > > On Tue, 22 Feb 2022 at 10:20, Sean Anderson wr= ote: > >> > >> This adds support for using -Og when building U-Boot. According to the > >> gcc man page: > >> > >> > -Og should be the optimization level of choice for the standard > >> > edit-compile-debug cycle, offering a reasonable level of optimization > >> > while maintaining fast compilation and a good debugging experience. > >> > >> This optimization level is roughly -O1 minus a few additional > >> optimizations. It provides a noticably better debugging experience, wi= th > >> many fewer variables . > >> > >> Signed-off-by: Sean Anderson > >> --- > >> > >> Kconfig | 6 ++++++ > >> Makefile | 4 ++++ > >> 2 files changed, 10 insertions(+) > >=20 > > Reviewed-by: Simon Glass > >=20 > > But how about an update in doc/ ? >=20 > What should be updated? As far as I can tell, optimization level is not > otherwise documented. IMO the Kconfig does a reasonable job of > documentation. A follow-up to note somewhere under doc/ about this would be good. I'll pick up the series for next soon. --=20 Tom --lBR2yNlwcY132B3M Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmIvY2YACgkQFHw5/5Y0 tyxL9wv/Ye9IGvtr2a348mmirvYPneacfWHoXSXfUc1aZJyu9m2f9XuHGXwYkiAG QzQ4jEHc7c68iBV0nxWDAqT5ASKUkbhPGsI+gqlzG05IL600EEYn/HypQ6CVeS73 SxKOl+VNh58xf6ghL51JOKZmvVhuyS7DXx4d+JG4gs54EBKWD2uEOKPHU1PubjZ8 j1VmNzLy57wre6aGm7RJeG5Jhc/Hnq3z9O5yZaxqfY0fa1b6RwvBMUIIZUQj/2pW WS2wcVQaZzTeuwrcVy3JiZbS5/wxapDALMLE4eWmSVOV/DUrr5LvNZ66OhPeDTyS UHy5OfOTRWm7R714EdLSIw7JzP7UPDufjeQe45QfSyyyQtc58XYX73QShnovgIAi aeHADQuZToh+jqaQe6LrjPFoY/94s9jv5PJ4147BZY5rNVX8Va1NnXszhB7VtJyu U5KkT2izG3wjMXobuYqdQkMkxtZadNkYcYl25wOowqriAIwp06t9xPP1Yf/lOZUr e4DV+nDg =x1W3 -----END PGP SIGNATURE----- --lBR2yNlwcY132B3M--