All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: Sughosh Ganu <sughosh.ganu@linaro.org>
Cc: Simon Glass <sjg@chromium.org>,
	U-Boot Mailing List <u-boot@lists.denx.de>,
	Heinrich Schuchardt <xypron.glpk@gmx.de>,
	Brandon Maier <brandon.maier@collins.com>,
	Ilias Apalodimas <ilias.apalodimas@linaro.org>,
	Kautuk Consul <kconsul@ventanamicro.com>,
	Leo Yu-Chi Liang <ycliang@andestech.com>,
	Oleksandr Suvorov <oleksandr.suvorov@foundries.io>,
	Patrick Delaunay <patrick.delaunay@foss.st.com>
Subject: Re: [PATCH 06/19] FMU: Avoid showing an unselectable menu option
Date: Fri, 25 Aug 2023 10:55:45 -0400	[thread overview]
Message-ID: <20230825145545.GJ3953269@bill-the-cat> (raw)
In-Reply-To: <CADg8p96y_rM7eMWzTD+4zNzjw4B-M-S9ja=rTO5Cw6iY1eFx7g@mail.gmail.com>

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

On Fri, Aug 25, 2023 at 05:30:17PM +0530, Sughosh Ganu wrote:
> On Fri, 25 Aug 2023 at 01:29, Simon Glass <sjg@chromium.org> wrote:
> >
> > Use a menuconfig to avoid showing a menu which cannot be selected in many
> > cases.
> >
> > This option should really go with the other 'Update support'.
> >
> > Perhaps we should even consider a top-level update/ directory?
> >
> > Signed-off-by: Simon Glass <sjg@chromium.org>
> > ---
> 
> nit: s/FMU/FWU in the commit header.
> 
> Acked-by: Sughosh Ganu <sughosh.ganu@linaro.org>
> 
> -sughosh
> 
> >
> >  lib/Kconfig             | 4 ----
> >  lib/fwu_updates/Kconfig | 6 +++++-
> >  2 files changed, 5 insertions(+), 5 deletions(-)
> >
> > diff --git a/lib/Kconfig b/lib/Kconfig
> > index 9addcfab3734..bfab2f3165a7 100644
> > --- a/lib/Kconfig
> > +++ b/lib/Kconfig
> > @@ -1118,8 +1118,4 @@ config PHANDLE_CHECK_SEQ
> >
> >  endmenu
> >
> > -menu "FWU Multi Bank Updates"
> > -
> >  source lib/fwu_updates/Kconfig
> > -
> > -endmenu
> > diff --git a/lib/fwu_updates/Kconfig b/lib/fwu_updates/Kconfig
> > index 71f34793d926..be35ad29fa32 100644
> > --- a/lib/fwu_updates/Kconfig
> > +++ b/lib/fwu_updates/Kconfig
> > @@ -1,4 +1,4 @@
> > -config FWU_MULTI_BANK_UPDATE
> > +menuconfig FWU_MULTI_BANK_UPDATE
> >         bool "Enable FWU Multi Bank Update Feature"
> >         depends on EFI_CAPSULE_ON_DISK
> >         select PARTITION_TYPE_GUID
> > @@ -10,6 +10,8 @@ config FWU_MULTI_BANK_UPDATE
> >           multiple banks(copies) of the firmware images. One of the
> >           bank is selected for updating all the firmware components
> >
> > +if FWU_MULTI_BANK_UPDATE
> > +
> >  config FWU_NUM_BANKS
> >         int "Number of Banks defined by the platform"
> >         depends on FWU_MULTI_BANK_UPDATE

Looks like the rest of this Kconfig needs to be updated to not have
depends on FWU_MULTI_BANK_UPDATE if it's all guarded with an if on that.

-- 
Tom

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

  reply	other threads:[~2023-08-25 14:55 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-24 19:58 [PATCH 00/19] Kconfig: Tidy up some options Simon Glass
2023-08-24 19:58 ` [PATCH 01/19] lib: rational: Move the Kconfigs into the correct place Simon Glass
2023-08-24 19:58 ` [PATCH 02/19] Kconfig: Move API into general setup Simon Glass
2023-08-24 19:58 ` [PATCH 03/19] video: Hide the BMP options Simon Glass
2023-08-24 19:58 ` [PATCH 04/19] video: Move BMP options and code to video directory Simon Glass
2023-08-31  6:00   ` Devarsh Thakkar
2023-08-24 19:58 ` [PATCH 05/19] net: Move SYS_RX_ETH_BUFFER into the network menu Simon Glass
2023-08-24 19:58 ` [PATCH 06/19] FMU: Avoid showing an unselectable menu option Simon Glass
2023-08-25 12:00   ` Sughosh Ganu
2023-08-25 14:55     ` Tom Rini [this message]
2023-08-24 19:58 ` [PATCH 07/19] test: Move POST under a renamed Testing section Simon Glass
2023-08-24 19:58 ` [PATCH 08/19] boot: Move fdt_support to boot/ Simon Glass
2023-08-31  6:02   ` Devarsh Thakkar
2023-09-04 16:48     ` Simon Glass
2023-08-24 19:59 ` [PATCH 09/19] Move fdt_simplefb " Simon Glass
2023-08-31  6:12   ` Devarsh Thakkar
2023-08-24 19:59 ` [PATCH 10/19] boot: Move some other fdt-fixup options to the same menu Simon Glass
2023-08-24 19:59 ` [PATCH 11/19] boot: Rename Android-boot text Simon Glass
2023-08-24 19:59 ` [PATCH 12/19] Kconfig: Create a menu for FIT Simon Glass
2023-08-24 19:59 ` [PATCH 13/19] Kconfig: Move SPL_FIT under FIT Simon Glass
2023-08-24 19:59 ` [PATCH 14/19] spl: Tidy up load address in spl_ram Simon Glass
2023-08-24 19:59 ` [PATCH 15/19] boot: Make standard boot a menu Simon Glass
2023-08-24 19:59 ` [PATCH 16/19] Kconfig: Move TEXT_BASE et al under general setup Simon Glass
2023-08-24 19:59 ` [PATCH 17/19] Make DISTRO_DEFAULTS as deprecated Simon Glass
2023-08-28 14:41   ` Mark Kettenis
2023-08-28 14:57     ` Tom Rini
2023-08-24 19:59 ` [PATCH 18/19] boot: Join FDT_FIXUP_PARTITIONS with related options Simon Glass
2023-08-24 19:59 ` [PATCH 19/19] boot: Join ARCH_FIXUP_FDT_MEMORY " Simon Glass

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=20230825145545.GJ3953269@bill-the-cat \
    --to=trini@konsulko.com \
    --cc=brandon.maier@collins.com \
    --cc=ilias.apalodimas@linaro.org \
    --cc=kconsul@ventanamicro.com \
    --cc=oleksandr.suvorov@foundries.io \
    --cc=patrick.delaunay@foss.st.com \
    --cc=sjg@chromium.org \
    --cc=sughosh.ganu@linaro.org \
    --cc=u-boot@lists.denx.de \
    --cc=xypron.glpk@gmx.de \
    --cc=ycliang@andestech.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.