U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: Simon Glass <sjg@chromium.org>
Cc: "Sverdlin, Alexander" <alexander.sverdlin@siemens.com>,
	"u-boot@lists.denx.de" <u-boot@lists.denx.de>,
	"joao.goncalves@toradex.com" <joao.goncalves@toradex.com>,
	"bmeng.cn@gmail.com" <bmeng.cn@gmail.com>,
	"peng.fan@nxp.com" <peng.fan@nxp.com>,
	"patrice.chotard@foss.st.com" <patrice.chotard@foss.st.com>,
	"vitor.soares@toradex.com" <vitor.soares@toradex.com>,
	"clamor95@gmail.com" <clamor95@gmail.com>,
	"sbabic@denx.de" <sbabic@denx.de>, "afd@ti.com" <afd@ti.com>,
	"ion@agorria.com" <ion@agorria.com>,
	"marex@denx.de" <marex@denx.de>,
	"r-gunasekaran@ti.com" <r-gunasekaran@ti.com>,
	"a-bhatia1@ti.com" <a-bhatia1@ti.com>,
	"sean.anderson@seco.com" <sean.anderson@seco.com>,
	"noreply@example.com" <noreply@example.com>,
	"Leto, Enrico" <enrico.leto@siemens.com>,
	"mkorpershoek@baylibre.com" <mkorpershoek@baylibre.com>,
	"mk7.kang@samsung.com" <mk7.kang@samsung.com>,
	"devarsht@ti.com" <devarsht@ti.com>,
	"yangshiji66@outlook.com" <yangshiji66@outlook.com>,
	"jonas@kwiboo.se" <jonas@kwiboo.se>,
	"danishanwar@ti.com" <danishanwar@ti.com>,
	"francis.laniel@amarulasolutions.com"
	<francis.laniel@amarulasolutions.com>, "nm@ti.com" <nm@ti.com>,
	"matthias.schiffer@ew.tq-group.com"
	<matthias.schiffer@ew.tq-group.com>,
	"xypron.glpk@gmx.de" <xypron.glpk@gmx.de>,
	"festevam@gmail.com" <festevam@gmail.com>,
	"raymond.mao@linaro.org" <raymond.mao@linaro.org>,
	"uboot-imx@nxp.com" <uboot-imx@nxp.com>
Subject: Re: [PATCH 12/35] global_data: Convert have_console into a flag
Date: Thu, 29 Aug 2024 08:28:30 -0600	[thread overview]
Message-ID: <20240829142830.GY2479150@bill-the-cat> (raw)
In-Reply-To: <CAFLszThiF=rbpCgVEc+D+R2xqP9jX2i_BiaRwdc2MkaNBDf2fQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1897 bytes --]

On Thu, Aug 29, 2024 at 08:05:35AM -0600, Simon Glass wrote:
> Hi Alexander,
> 
> On Fri, 16 Aug 2024 at 07:08, Sverdlin, Alexander
> <alexander.sverdlin@siemens.com> wrote:
> >
> > Hi Simon,
> >
> > On Wed, 2024-07-24 at 09:08 -0600, Simon Glass wrote:
> > > We don't need a full word for this boolean value. Convert it into a flag
> > > to save space in global_data.
> > >
> > > Signed-off-by: Simon Glass <sjg@chromium.org>
> > > ---
> > >
> > >  arch/arm/cpu/arm926ejs/mxs/spl_boot.c |  2 +-
> > >  arch/arm/mach-exynos/spl_boot.c       |  2 +-
> > >  arch/arm/mach-k3/common.c             |  2 +-
> > >  arch/arm/mach-k3/r5/sysfw-loader.c    |  2 +-
> > >  board/siemens/common/board_am335x.c   |  2 +-
> > >  common/board_f.c                      |  2 +-
> > >  common/console.c                      | 14 +++++++-------
> > >  common/spl/spl.c                      |  2 +-
> > >  include/asm-generic/global_data.h     | 17 +++++++----------
> > >  9 files changed, 21 insertions(+), 24 deletions(-)
> > >
> > > diff --git a/arch/arm/cpu/arm926ejs/mxs/spl_boot.c b/arch/arm/cpu/arm926ejs/mxs/spl_boot.c
> > > index 76a69d7f958..dd748328293 100644
> > > --- a/arch/arm/cpu/arm926ejs/mxs/spl_boot.c
> > > +++ b/arch/arm/cpu/arm926ejs/mxs/spl_boot.c
> >
> > [...]
> >
> > > @@ -219,7 +210,7 @@ struct global_data {
> > >  #endif
> > >  #ifdef CONFIG_TIMER
> > >       /**
> > > -      * @timer: timer instance for Driver Model
> > > +s     * @timer: timer instance for Driver Model
> >
> > an unintentional change?
> >
> > >        */
> > >       struct udevice *timer;
> > >  #endif
> >
> > the rest looks good to me and you can add my
> > Reviewed-by: if you remove the above chunk.
> >
> 
> Thank you. I'm not sure where that came from, but it seems to be gone now.

I fixed this up manually when applying (and added the tag).

-- 
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]

  reply	other threads:[~2024-08-29 14:28 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-24 15:08 [PATCH 00/35] global_data: Reduce size of struct global_data Simon Glass
2024-07-24 15:08 ` [PATCH 01/35] global_data: Move pci_clk to m68k and powerpc Simon Glass
2024-07-29  7:57   ` Acked Angelo Dureghello
2024-07-24 15:08 ` [PATCH 02/35] x86: Drop use of global_data fb_base Simon Glass
2024-07-24 15:08 ` [PATCH 03/35] video: Add a function to obtain the framebuffer address Simon Glass
2024-07-24 15:08 ` [PATCH 04/35] video: mxc: Avoid setting global_data fb_base Simon Glass
2024-07-24 15:08 ` [PATCH 05/35] video: mxs: " Simon Glass
2024-07-24 15:08 ` [PATCH 06/35] arm: friendlyarm: Avoid accessing " Simon Glass
2024-07-29 17:57   ` Stefan Bosch
2024-07-24 15:08 ` [PATCH 07/35] arm: ronetix: " Simon Glass
2024-07-24 15:08 ` [PATCH 08/35] zynqmp: Avoid setting the framebuffer address Simon Glass
2024-07-24 15:08 ` [PATCH 09/35] video: Avoid setting global_data fb_base from SPL handoff Simon Glass
2024-07-24 15:08 ` [PATCH 10/35] video: Avoid setting global_data fb_base in video setup Simon Glass
2024-07-24 15:08 ` [PATCH 11/35] global_data: Drop fb_base Simon Glass
2024-07-24 15:08 ` [PATCH 12/35] global_data: Convert have_console into a flag Simon Glass
2024-08-16 13:08   ` Sverdlin, Alexander
2024-08-29 14:05     ` Simon Glass
2024-08-29 14:28       ` Tom Rini [this message]
2024-08-29 15:01         ` Simon Glass
2024-07-24 15:09 ` [PATCH 13/35] global_data: Remove pci_ram_top Simon Glass
2024-07-24 15:09 ` [PATCH 14/35] global_data: Drop global_data hose Simon Glass
2024-07-24 15:09 ` [PATCH 15/35] global_data: Drop pci_bootdelay Simon Glass
2024-07-24 15:09 ` [PATCH 16/35] global_data: Use less space for environment fields Simon Glass
2024-07-24 15:09 ` [PATCH 17/35] board_f: Add a new struct to hold pre-relocation info Simon Glass
2024-07-24 15:09 ` [PATCH 18/35] board_f: Move fdt_size to board Simon Glass
2024-07-24 15:09 ` [PATCH 19/35] board_f: Move new_bootstage to boardf Simon Glass
2024-07-24 15:09 ` [PATCH 20/35] board_f: Move new_bloblist " Simon Glass
2024-07-24 15:09 ` [PATCH 21/35] global_data: Drop spl_handoff Simon Glass
2024-07-24 15:09 ` [PATCH 22/35] global_data: Collect common fields at the top Simon Glass
2024-07-24 15:09 ` [PATCH 23/35] global_data: Reduce the size of bus_clk and mem_clk Simon Glass
2024-07-24 15:09 ` [PATCH 24/35] global_data: Reduce the size of mon_len Simon Glass
2024-07-24 15:09 ` [PATCH 25/35] global_data: log: Reorder and shrink fields Simon Glass
2024-07-24 15:09 ` [PATCH 26/35] global_data: Reduce size of early-malloc vars Simon Glass
2024-07-24 15:09 ` [PATCH 27/35] global_data: Move baud_rate field lower Simon Glass
2024-07-24 15:09 ` [PATCH 28/35] global_data: Move env_addr field higher Simon Glass
2024-07-24 15:09 ` [PATCH 29/35] global_data: Put phys_addr fields near the top Simon Glass
2024-07-24 15:09 ` [PATCH 30/35] global_data: Move ulong fields together Simon Glass
2024-07-24 15:09 ` [PATCH 31/35] global_data: Move pointer members together Simon Glass
2024-07-24 15:09 ` [PATCH 32/35] global_data: Remove jump table in SPL Simon Glass
2024-07-24 15:09 ` [PATCH 33/35] global_data: Remove environment members if not used Simon Glass
2024-07-24 15:09 ` [PATCH 34/35] doc: Move generic-board documentation into rst Simon Glass
2024-07-24 15:09 ` [PATCH 35/35] doc: Add some guidelines about global data Simon Glass
2024-07-24 23:07 ` [PATCH 00/35] global_data: Reduce size of struct global_data Tom Rini
2024-08-21  0:48 ` Tom Rini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240829142830.GY2479150@bill-the-cat \
    --to=trini@konsulko.com \
    --cc=a-bhatia1@ti.com \
    --cc=afd@ti.com \
    --cc=alexander.sverdlin@siemens.com \
    --cc=bmeng.cn@gmail.com \
    --cc=clamor95@gmail.com \
    --cc=danishanwar@ti.com \
    --cc=devarsht@ti.com \
    --cc=enrico.leto@siemens.com \
    --cc=festevam@gmail.com \
    --cc=francis.laniel@amarulasolutions.com \
    --cc=ion@agorria.com \
    --cc=joao.goncalves@toradex.com \
    --cc=jonas@kwiboo.se \
    --cc=marex@denx.de \
    --cc=matthias.schiffer@ew.tq-group.com \
    --cc=mk7.kang@samsung.com \
    --cc=mkorpershoek@baylibre.com \
    --cc=nm@ti.com \
    --cc=noreply@example.com \
    --cc=patrice.chotard@foss.st.com \
    --cc=peng.fan@nxp.com \
    --cc=r-gunasekaran@ti.com \
    --cc=raymond.mao@linaro.org \
    --cc=sbabic@denx.de \
    --cc=sean.anderson@seco.com \
    --cc=sjg@chromium.org \
    --cc=u-boot@lists.denx.de \
    --cc=uboot-imx@nxp.com \
    --cc=vitor.soares@toradex.com \
    --cc=xypron.glpk@gmx.de \
    --cc=yangshiji66@outlook.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox