Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1446512

Re: [PATCH] mtd: add arch dependency for MTD_BCM47XXSFLASH symbol

From Kalle Valo <kvalo@codeaurora.org>
Newsgroups linux.kernel
Subject Re: [PATCH] mtd: add arch dependency for MTD_BCM47XXSFLASH symbol
Date 2016-07-19 16:20 +0200
Message-ID <rWE2l-54D-19@gated-at.bofh.it> (permalink)
References <rWxke-YG-33@gated-at.bofh.it> <rWxDA-15B-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Brian Norris <computersforpeace@gmail.com> writes:

> On Tue, Jul 19, 2016 at 09:08:32AM +0200, 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 <zajec5@gmail.com>
>> Cc: Brian Norris <computersforpeace@gmail.com>
>
> While I might prefer we have a better consistent set of portable I/O
> accessors (it's really a mess), it seems quite reasonable to restrict
> the damage to ARM and MIPS here if it saves some short-term hassle:
>
> Acked-by: Brian Norris <computersforpeace@gmail.com>
>
>> ---
>> That bcma commit breaking building landed in the wireless-drivers-next.
>> Is that possible to get this patch through the same tree?
>
> That's fine with me.

Great, thanks. I'm planning to apply this later tonight to fix the build
error.

-- 
Kalle Valo

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] mtd: add arch dependency for MTD_BCM47XXSFLASH symbol Rafał Miłecki <zajec5@gmail.com> - 2016-07-19 09:10 +0200
  Re: [PATCH] mtd: add arch dependency for MTD_BCM47XXSFLASH symbol Brian Norris <computersforpeace@gmail.com> - 2016-07-19 09:30 +0200
    Re: [PATCH] mtd: add arch dependency for MTD_BCM47XXSFLASH symbol Kalle Valo <kvalo@codeaurora.org> - 2016-07-19 16:20 +0200
  Re: mtd: add arch dependency for MTD_BCM47XXSFLASH symbol Kalle Valo <kvalo@codeaurora.org> - 2016-07-19 20:20 +0200

csiph-web