All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] lib: Kconfig: fix PHANDLE_CHECK_SEQ position outside of menu
@ 2022-01-04 16:20 Eugen Hristev
  2022-01-05 10:15 ` Aswath Govindraju
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Eugen Hristev @ 2022-01-04 16:20 UTC (permalink / raw)
  To: a-govindraju, u-boot; +Cc: sjg, Eugen Hristev

CONFIG_PHANDLE_CHECK_SEQ is outside of the menu 'Library routines'
thus it's invisible in menuconfig and cannot be selected.
Fix this by moving the 'endmenu' after the PHANDLE_CHECK_SEQ definition

Fixes: c589132a1d ("fdt: Use phandle to distinguish DT nodes with same name")
Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
---
 lib/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/Kconfig b/lib/Kconfig
index 807a4c6ade..652a11a154 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -827,11 +827,11 @@ config LMB_RESERVED_REGIONS
 	  Define the number of supported reserved regions in the library logical
 	  memory blocks.
 
-endmenu
-
 config PHANDLE_CHECK_SEQ
 	bool "Enable phandle check while getting sequence number"
 	help
 	  When there are multiple device tree nodes with same name,
           enable this config option to distinguish them using
 	  phandles in fdtdec_get_alias_seq() function.
+
+endmenu
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] lib: Kconfig: fix PHANDLE_CHECK_SEQ position outside of menu
  2022-01-04 16:20 [PATCH] lib: Kconfig: fix PHANDLE_CHECK_SEQ position outside of menu Eugen Hristev
@ 2022-01-05 10:15 ` Aswath Govindraju
  2022-01-05 14:03 ` Simon Glass
  2022-01-15 12:38 ` Tom Rini
  2 siblings, 0 replies; 4+ messages in thread
From: Aswath Govindraju @ 2022-01-05 10:15 UTC (permalink / raw)
  To: Eugen Hristev, u-boot; +Cc: sjg

Hi Eugen,

On 04/01/22 9:50 pm, Eugen Hristev wrote:
> CONFIG_PHANDLE_CHECK_SEQ is outside of the menu 'Library routines'
> thus it's invisible in menuconfig and cannot be selected.
> Fix this by moving the 'endmenu' after the PHANDLE_CHECK_SEQ definition
> 
> Fixes: c589132a1d ("fdt: Use phandle to distinguish DT nodes with same name")
> Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>

Thank you for fixing this :)

Reviewed-by: Aswath Govindraju <a-govindraju@ti.com>

Thanks,
Aswath
> ---
>  lib/Kconfig | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/lib/Kconfig b/lib/Kconfig
> index 807a4c6ade..652a11a154 100644
> --- a/lib/Kconfig
> +++ b/lib/Kconfig
> @@ -827,11 +827,11 @@ config LMB_RESERVED_REGIONS
>  	  Define the number of supported reserved regions in the library logical
>  	  memory blocks.
>  
> -endmenu
> -
>  config PHANDLE_CHECK_SEQ
>  	bool "Enable phandle check while getting sequence number"
>  	help
>  	  When there are multiple device tree nodes with same name,
>            enable this config option to distinguish them using
>  	  phandles in fdtdec_get_alias_seq() function.
> +
> +endmenu
> 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] lib: Kconfig: fix PHANDLE_CHECK_SEQ position outside of menu
  2022-01-04 16:20 [PATCH] lib: Kconfig: fix PHANDLE_CHECK_SEQ position outside of menu Eugen Hristev
  2022-01-05 10:15 ` Aswath Govindraju
@ 2022-01-05 14:03 ` Simon Glass
  2022-01-15 12:38 ` Tom Rini
  2 siblings, 0 replies; 4+ messages in thread
From: Simon Glass @ 2022-01-05 14:03 UTC (permalink / raw)
  To: Eugen Hristev; +Cc: Aswath Govindraju, U-Boot Mailing List

On Tue, 4 Jan 2022 at 09:20, Eugen Hristev <eugen.hristev@microchip.com> wrote:
>
> CONFIG_PHANDLE_CHECK_SEQ is outside of the menu 'Library routines'
> thus it's invisible in menuconfig and cannot be selected.
> Fix this by moving the 'endmenu' after the PHANDLE_CHECK_SEQ definition
>
> Fixes: c589132a1d ("fdt: Use phandle to distinguish DT nodes with same name")
> Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
> ---
>  lib/Kconfig | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Simon Glass <sjg@chromium.org>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] lib: Kconfig: fix PHANDLE_CHECK_SEQ position outside of menu
  2022-01-04 16:20 [PATCH] lib: Kconfig: fix PHANDLE_CHECK_SEQ position outside of menu Eugen Hristev
  2022-01-05 10:15 ` Aswath Govindraju
  2022-01-05 14:03 ` Simon Glass
@ 2022-01-15 12:38 ` Tom Rini
  2 siblings, 0 replies; 4+ messages in thread
From: Tom Rini @ 2022-01-15 12:38 UTC (permalink / raw)
  To: Eugen Hristev; +Cc: a-govindraju, u-boot, sjg

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

On Tue, Jan 04, 2022 at 06:20:19PM +0200, Eugen Hristev wrote:

> CONFIG_PHANDLE_CHECK_SEQ is outside of the menu 'Library routines'
> thus it's invisible in menuconfig and cannot be selected.
> Fix this by moving the 'endmenu' after the PHANDLE_CHECK_SEQ definition
> 
> Fixes: c589132a1d ("fdt: Use phandle to distinguish DT nodes with same name")
> Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
> Reviewed-by: Aswath Govindraju <a-govindraju@ti.com>
> Reviewed-by: Simon Glass <sjg@chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-01-15 12:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-04 16:20 [PATCH] lib: Kconfig: fix PHANDLE_CHECK_SEQ position outside of menu Eugen Hristev
2022-01-05 10:15 ` Aswath Govindraju
2022-01-05 14:03 ` Simon Glass
2022-01-15 12:38 ` Tom Rini

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.