From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bPZaM-00006Z-5S for linux-mtd@lists.infradead.org; Tue, 19 Jul 2016 18:17:41 +0000 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: mtd: add arch dependency for MTD_BCM47XXSFLASH symbol From: Kalle Valo In-Reply-To: <1468912123-14899-1-git-send-email-zajec5@gmail.com> To: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= Cc: linux-wireless@vger.kernel.org, =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= , Brian Norris , David Woodhouse , linux-mtd@lists.infradead.org (open list:MEMORY TECHNOLOGY DEVICES (MTD)), linux-kernel@vger.kernel.org (open list) Message-Id: <20160719181717.DA8AD61244@smtp.codeaurora.org> Date: Tue, 19 Jul 2016 18:17:17 +0000 (UTC) List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Rafał Miłecki wrote: > We dropped strict MIPS dependency for bcm47xxsflash driver in: > commit 5651d6aaf489 ("mtd: bcm47xxsflash: use ioremap_cache() instead of > KSEG0ADDR()") but using ioremap_cache still limits building it to few > selected architectures only. > > A recent commit 57d8f7dd2132 ("bcma: allow enabling serial flash support > on non-MIPS SoCs") automatically dropped MIPS dependency for > MTD_BCM47XXSFLASH which broke building e.g. on powerpc and cris. > > The bcma change is alright as it doesn't break building bcma code in any > way. MTD_BCM47XXSFLASH on the other hand should be limited to archs > which need it and can build it (by providing ioremap_cache). > > Fixes: 57d8f7dd2132 ("bcma: allow enabling serial flash support on non-MIPS SoCs") > Signed-off-by: Rafał Miłecki > Cc: Brian Norris > Acked-by: Brian Norris Thanks, 1 patch applied to wireless-drivers-next.git: efacc699139e mtd: add arch dependency for MTD_BCM47XXSFLASH symbol -- Sent by pwcli https://patchwork.kernel.org/patch/9236053/