Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753903AbbLEKP5 (ORCPT ); Sat, 5 Dec 2015 05:15:57 -0500 Received: from mail-oi0-f46.google.com ([209.85.218.46]:36682 "EHLO mail-oi0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753452AbbLEKPy (ORCPT ); Sat, 5 Dec 2015 05:15:54 -0500 MIME-Version: 1.0 In-Reply-To: <1449292763-129421-1-git-send-email-computersforpeace@gmail.com> References: <1449292763-129421-1-git-send-email-computersforpeace@gmail.com> Date: Sat, 5 Dec 2015 11:15:54 +0100 X-Google-Sender-Auth: 1iyCMHv7YUBX6VZtRKL272BOjzg Message-ID: Subject: Re: [RFC PATCH 0/7] mtd: partitions: add of_match_table support From: Geert Uytterhoeven To: Brian Norris Cc: MTD Maling List , "linux-kernel@vger.kernel.org" , Boris Brezillon , Linus Walleij , Geert Uytterhoeven , Simon Arlott , Jason Gunthorpe , Jonas Gorski , "devicetree@vger.kernel.org" , devicetree-spec@vger.kernel.org, Rob Herring , =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= , Hauke Mehrtens , Arnd Bergmann , David Hendricks Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1611 Lines: 35 On Sat, Dec 5, 2015 at 6:19 AM, Brian Norris wrote: > There have been several discussions [1] about adding a device tree binding for > associating flash devices with the partition parser(s) that are used on the > flash. There are a few reasons: > > (1) drivers shouldn't have to be encoding platform knowledge by listing what > parsers might be used on a given system (this is the currently all that's > supported) > (2) we can't just scan for all supported parsers (like the block system does), since > there is a wide diversity of "formats" (no standardization), and it is not > always safe or efficient to attempt to do so, particularly since many of > them allow their data structures to be placed anywhere on the flash, and > so require scanning the entire flash device to find them. I read the second reason, but would it be useful to (partially) merge block/partitions/ and drivers/mtd/partitions/, so I can use e.g. msdos partitions on an mtd device?? Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds -- 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/