Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753114AbbBYRKM (ORCPT ); Wed, 25 Feb 2015 12:10:12 -0500 Received: from mail-yh0-f54.google.com ([209.85.213.54]:35830 "EHLO mail-yh0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751963AbbBYRKK (ORCPT ); Wed, 25 Feb 2015 12:10:10 -0500 MIME-Version: 1.0 Date: Wed, 25 Feb 2015 18:10:08 +0100 X-Google-Sender-Auth: Ae_2uzxAYQgfVh9NFRIW9LYd0Iw Message-ID: Subject: Dead Kconfig Option OMAP4_ERRATA_I688 From: Stefan Hengelein To: tony@atomide.com, linux@arm.linux.org.uk, linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org, Greg KH Content-Type: multipart/mixed; boundary=089e0160ac7a233448050fecb524 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2802 Lines: 59 --089e0160ac7a233448050fecb524 Content-Type: text/plain; charset=UTF-8 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. --089e0160ac7a233448050fecb524 Content-Type: application/octet-stream; name="Kconfig.minimal" Content-Disposition: attachment; filename="Kconfig.minimal" Content-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nIEFSQ0hfT01BUDJQTFVTCglib29sCgppZiBBUkNIX09N QVAyUExVUwoKY29uZmlnIE9NQVA0X0VSUkFUQV9JNjg4Cglib29sICJPTUFQNCBlcnJhdGE6IEFz eW5jIEJyaWRnZSBDb3JydXB0aW9uIgoJZGVwZW5kcyBvbiAoQVJDSF9PTUFQNCB8fCBTT0NfT01B UDUpICYmICFBUkNIX01VTFRJUExBVEZPUk0KCmVuZGlmCgplbmRtZW51Cg== --089e0160ac7a233448050fecb524-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/