diff mbox series

[1/5] omap3: Make SPL_OMAP3_ID_NAND depend on NAND_OMAP_GPMC

Message ID 20240110184610.3909763-1-trini@konsulko.com
State Accepted
Commit fee9e48c8996483ae62bf3ee63f2aa129e8c9172
Delegated to: Tom Rini
Headers show
Series [1/5] omap3: Make SPL_OMAP3_ID_NAND depend on NAND_OMAP_GPMC | expand

Commit Message

Tom Rini Jan. 10, 2024, 6:46 p.m. UTC
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 <trini@konsulko.com>
---
 arch/arm/mach-omap2/omap3/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Tom Rini Jan. 22, 2024, 8:39 p.m. UTC | #1
On Wed, 10 Jan 2024 13:46:06 -0500, Tom Rini wrote:

> 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.
> 
> 

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/arch/arm/mach-omap2/omap3/Kconfig b/arch/arm/mach-omap2/omap3/Kconfig
index bd524f8c9f95..850ee76746ee 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.