From: Tom Rini Date: Wed, 10 Jan 2024 18:46:06 +0000 (-0500) Subject: omap3: Make SPL_OMAP3_ID_NAND depend on NAND_OMAP_GPMC X-Git-Url: http://git.dujemihanovic.xyz/img/%7B%7B%20.RelPermalink%20%7D%7D?a=commitdiff_plain;h=fee9e48c8996483ae62bf3ee63f2aa129e8c9172;p=u-boot.git omap3: Make SPL_OMAP3_ID_NAND depend on NAND_OMAP_GPMC This specific bit logic is used to determine what NAND chip is present on a board in order to then know what revision of the board we have and so what DDR chips are present. We can only do this if we have a NAND chip, and so we will have NAND_OMAP_GPMC enabled. Signed-off-by: Tom Rini --- diff --git a/arch/arm/mach-omap2/omap3/Kconfig b/arch/arm/mach-omap2/omap3/Kconfig index bd524f8c9f..850ee76746 100644 --- a/arch/arm/mach-omap2/omap3/Kconfig +++ b/arch/arm/mach-omap2/omap3/Kconfig @@ -144,6 +144,7 @@ endchoice config SPL_OMAP3_ID_NAND bool "Support OMAP3-specific ID and MFR function" + depends on NAND_OMAP_GPMC help Support for an OMAP3-specific set of functions to return the ID and MFR of the first attached NAND chip, if present.