aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2024-01-10 13:46:06 -0500
committerTom Rini <trini@konsulko.com>2024-01-22 14:17:35 -0500
commitfee9e48c8996483ae62bf3ee63f2aa129e8c9172 (patch)
tree307a60160acf7f0351e7f16b2b8363f4c380eae4
parent33e06dcbe57a16e4f8b5b94dd8a3f89b87db2487 (diff)
downloadu-boot-fee9e48c8996483ae62bf3ee63f2aa129e8c9172.zip
u-boot-fee9e48c8996483ae62bf3ee63f2aa129e8c9172.tar.gz
u-boot-fee9e48c8996483ae62bf3ee63f2aa129e8c9172.tar.bz2
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 <trini@konsulko.com>
-rw-r--r--arch/arm/mach-omap2/omap3/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/omap3/Kconfig b/arch/arm/mach-omap2/omap3/Kconfig
index bd524f8..850ee76 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.