lib: Kconfig: fix PHANDLE_CHECK_SEQ position outside of menu

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>
This commit is contained in:
Eugen Hristev 2022-01-04 18:20:19 +02:00 committed by Tom Rini
parent f6f27be146
commit 97f2a749d5

View File

@ -837,11 +837,11 @@ config LMB_RESERVED_REGIONS
Define the number of supported reserved regions in the library logical Define the number of supported reserved regions in the library logical
memory blocks. memory blocks.
endmenu
config PHANDLE_CHECK_SEQ config PHANDLE_CHECK_SEQ
bool "Enable phandle check while getting sequence number" bool "Enable phandle check while getting sequence number"
help help
When there are multiple device tree nodes with same name, When there are multiple device tree nodes with same name,
enable this config option to distinguish them using enable this config option to distinguish them using
phandles in fdtdec_get_alias_seq() function. phandles in fdtdec_get_alias_seq() function.
endmenu