Browse Source

memory: emif: Add Kconfig dependency for TI EMIF controller

Make TI_EMIF depends on ARCH_OMAP2PLUS to avoid build breaks on other
architectures. In future if other TI non OMAP socs start using it, the
dependency can be extended.

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Reported-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Santosh Shilimkar 13 years ago
parent
commit
18e9a971c7
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/memory/Kconfig

+ 1 - 0
drivers/memory/Kconfig

@@ -9,6 +9,7 @@ if MEMORY
 
 config TI_EMIF
 	tristate "Texas Instruments EMIF driver"
+	depends on ARCH_OMAP2PLUS
 	select DDR
 	help
 	  This driver is for the EMIF module available in Texas Instruments