Browse Source

Blackfin: glue XIP/ROM kernel kconfigs

Different arches use different names, so make sure we define both so
common code (like MTD_XIP) "just works".

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger 15 years ago
parent
commit
56b4f07a08
1 changed files with 6 additions and 0 deletions
  1. 6 0
      arch/blackfin/Kconfig

+ 6 - 0
arch/blackfin/Kconfig

@@ -928,6 +928,12 @@ config ROMKERNEL
 
 endchoice
 
+# Common code uses "ROMKERNEL" or "XIP_KERNEL", so define both
+config XIP_KERNEL
+	bool
+	default y
+	depends on ROMKERNEL
+
 source "mm/Kconfig"
 
 config BFIN_GPTIMERS