From patchwork Sat Jun 27 16:25:43 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Fainelli X-Patchwork-Id: 6685301 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 0AE88C05AC for ; Sat, 27 Jun 2015 16:31:17 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 331BB2070C for ; Sat, 27 Jun 2015 16:31:16 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 55BC8206F0 for ; Sat, 27 Jun 2015 16:31:15 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Z8sxZ-0005HJ-RN; Sat, 27 Jun 2015 16:28:05 +0000 Received: from mail-pd0-x233.google.com ([2607:f8b0:400e:c02::233]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Z8sxL-0005Dp-De for linux-arm-kernel@lists.infradead.org; Sat, 27 Jun 2015 16:27:52 +0000 Received: by pdbep18 with SMTP id ep18so70232241pdb.1 for ; Sat, 27 Jun 2015 09:27:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=e4/G6nguW3C/f6aX0GEbRXHqBmcyTomOC+4C3OZ1Lgc=; b=RzszdN4d6tP59YHIvYe6iUnzUqfq7UoioBw47gQrJN2JPvL6XqBJuu7HZTHb3ZO2YQ MDzQTX8s5QDRTY94vIj+A3adVoWavb0kkBU1KlZnlbrgs1H0BEvcIHrTs0YXKzPkLGcF EUtX8lQUGt6ANFKa8HEILoX7E6bBTqNuHJmQEuTC4fKnRcGJ4zzNl7EzUhkYgJKdGZLG 7g3NxUqv/th3BA04pvYM4BP9kzTKSJnAszI/PNSGgaMMwwZWWX76rQF82M1IW4ctcXeQ ck1AslkW2PYqpw20Nvq2TFIWnCo35LLfyuLFybrX7foADoEoyCRbJCnKwjc6WU6Vqjut ce5w== X-Received: by 10.68.221.70 with SMTP id qc6mr14743786pbc.76.1435422450687; Sat, 27 Jun 2015 09:27:30 -0700 (PDT) Received: from fainelli-desktop.broadcom.com (5520-maca-inet1-outside.broadcom.com. [216.31.211.11]) by mx.google.com with ESMTPSA id y2sm22293783pdi.80.2015.06.27.09.27.28 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 27 Jun 2015 09:27:29 -0700 (PDT) From: Florian Fainelli To: arm@kernel.org Subject: [PATCH 1/2] ARM: BCM: Do not select CONFIG_MTD_NAND_BRCMNAND Date: Sat, 27 Jun 2015 09:25:43 -0700 Message-Id: <1435422344-31059-2-git-send-email-f.fainelli@gmail.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1435422344-31059-1-git-send-email-f.fainelli@gmail.com> References: <1435422344-31059-1-git-send-email-f.fainelli@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150627_092751_537394_7946B1D5 X-CRM114-Status: GOOD ( 11.81 ) X-Spam-Score: -2.7 (--) Cc: nbd@openwrt.org, Florian Fainelli , gregory.0xf0@gmail.com, sbranden@broadcom.com, arnd@arndb.de, khilman@kernel.org, hauke@hauke-m.de, zajec5@gmail.com, jonathar@broadcom.com, bcm-kernel-feedback-list@broadcom.com, jdzheng@broadcom.com, rjui@broadcom.com, olof@lixom.net, computersforpeace@gmail.com, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.5 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This reverts 7dc95b40f599293aedf30432749ad25b51549041 ("ARM: BCM: Enable NAND support for iProc SoCs") since it creates an unmet dependency for MTD_NAND_BRCMNAND which depends on MTD and MTD_NAND, this results in the following build failure for brcmnand: LD init/built-in.o drivers/built-in.o: In function `brcmnand_remove': /home/fainelli/dev/linux/drivers/mtd/nand/brcmnand/brcmnand.c:2234: undefined reference to `nand_release' drivers/built-in.o: In function `brcmnand_init_cs': /home/fainelli/dev/linux/drivers/mtd/nand/brcmnand/brcmnand.c:1933: undefined reference to `nand_scan_ident' /home/fainelli/dev/linux/drivers/mtd/nand/brcmnand/brcmnand.c:1958: undefined reference to `nand_scan_tail' Makefile:931: recipe for target 'vmlinux' failed make: *** [vmlinux] Error 1 Instead, select this driver an all dependencies on the multi_v7_defconfig. Signed-off-by: Florian Fainelli Acked-by: Brian Norris --- arch/arm/mach-bcm/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/mach-bcm/Kconfig b/arch/arm/mach-bcm/Kconfig index e9184feffc4e..0ac9e4b3b265 100644 --- a/arch/arm/mach-bcm/Kconfig +++ b/arch/arm/mach-bcm/Kconfig @@ -19,7 +19,6 @@ config ARCH_BCM_IPROC select ARCH_REQUIRE_GPIOLIB select ARM_AMBA select PINCTRL - select MTD_NAND_BRCMNAND help This enables support for systems based on Broadcom IPROC architected SoCs. The IPROC complex contains one or more ARM CPUs along with common