linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Dead Kconfig Option OMAP4_ERRATA_I688
@ 2015-02-25 17:10 Stefan Hengelein
  2015-02-25 17:14 ` Tony Lindgren
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Hengelein @ 2015-02-25 17:10 UTC (permalink / raw)
  To: tony, linux, linux-arm-kernel, linux-omap, linux-kernel, Greg KH

[-- Attachment #1: Type: text/plain, Size: 940 bytes --]

During the research for my masters thesis i came across the
OMAP4_ERRATA_I688 option and realized, it is never possible to enable
this option.

The a62a6e98 commit added the "&& !ARCH_MULTIPLATFORM" dependency to
disable this option for multiplatforms. However, because of enclosing
dependencies, this option isn't available for non-MULTIPLATFORM
configurations either.

CONFIG_OMAP4_ERRATA_I688 is defined in the menu "TI OMAP/AM/DM/DRA
Family" which depends on ARCH_MULTI_V6 || ARCH_MULTI_V7. (in
arch/arm/mach-omap2/Kconfig)

ARCH_MULTI_V6 and ARCH_MULTI_V7 however are defined in the menu
"Multiple platform selection" which depends on ARCH_MULTIPLATFORM (in
arch/arm/Kconfig)

Which is a contradiction.

There are no selects on OMAP4_ERRATA_I688, which would ignore
dependencies, either.

The question is:
Was disabling this option for non-MULTIPLATFORM configurations also intentional?

i have added a minimal example of the problem.

[-- Attachment #2: Kconfig.minimal --]
[-- Type: application/octet-stream, Size: 955 bytes --]

config MMU
	bool "MMU-based Paged Memory Management Support"
	default y

choice
	prompt "ARM system type"
	default ARCH_MULTIPLATFORM if MMU

config ARCH_MULTIPLATFORM
	bool "Allow multiple platforms to be selected"
	depends on MMU

endchoice

menu "Multiple platform selection"
	depends on ARCH_MULTIPLATFORM

comment "CPU Core family selection"

config ARCH_MULTI_V6
	bool "ARMv6 based platforms (ARM11)"

config ARCH_MULTI_V7
	bool "ARMv7 based platforms (Cortex-A, PJ4, Scorpion, Krait)"
	default y

endmenu


menu "TI OMAP/AM/DM/DRA Family"
	depends on ARCH_MULTI_V6 || ARCH_MULTI_V7

config SOC_OMAP5
	bool "TI OMAP5"
	depends on ARCH_MULTI_V7
	select ARCH_OMAP2PLUS

config ARCH_OMAP4
	bool "TI OMAP4"
	depends on ARCH_MULTI_V7
	select ARCH_OMAP2PLUS

config ARCH_OMAP2PLUS
	bool

if ARCH_OMAP2PLUS

config OMAP4_ERRATA_I688
	bool "OMAP4 errata: Async Bridge Corruption"
	depends on (ARCH_OMAP4 || SOC_OMAP5) && !ARCH_MULTIPLATFORM

endif

endmenu

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-02-25 17:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-25 17:10 Dead Kconfig Option OMAP4_ERRATA_I688 Stefan Hengelein
2015-02-25 17:14 ` Tony Lindgren
2015-02-25 17:24   ` santosh shilimkar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).