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


Groups > linux.kernel > #1292010

Re: [RFC PATCH 3/7] doc: dt: mtd: partition: add on-flash format binding

Path csiph.com!eternal-september.org!feeder.eternal-september.org!weretis.net!feeder1.news.weretis.net!feeder4.news.weretis.net!storethat.news.telefonica.de!telefonica.de!news.panservice.it!bofh.it!news.nic.it!robomod
From Geert Uytterhoeven <geert@linux-m68k.org>
Newsgroups linux.kernel
Subject Re: [RFC PATCH 3/7] doc: dt: mtd: partition: add on-flash format binding
Date Tue, 15 Dec 2015 11:10:03 +0100
Message-ID <qFUIr-2DP-25@gated-at.bofh.it> (permalink)
References <qCdqi-4oQ-11@gated-at.bofh.it> <qCdqi-4oQ-13@gated-at.bofh.it> <qCjvI-vV-37@gated-at.bofh.it> <qCsIG-6mL-3@gated-at.bofh.it> <qCUlz-7fn-1@gated-at.bofh.it> <qEgk1-2GK-5@gated-at.bofh.it> <qEO2m-8hM-11@gated-at.bofh.it> <qFyyf-4PE-33@gated-at.bofh.it> <qFUyJ-2kW-1@gated-at.bofh.it>
X-Original-To David Gibson <david@gibson.dropbear.id.au>
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=aKU/K5Ad+P3IWXS5XKfJO4ScV0CrbfL6mbLhrcHVno0=; b=zxQfEas79cug4+12V4sT6DVcnksNdj72yuZoGLdEVoriRqN1tO+QuakkfKW5qRl/11 NiYGZLDGM3DZlGbWoI2wcttH45vOvwIlKspwznNVCpTKmyICG9/xreq0CbNfq1P0wZk4 q2slH4i80knqUeKAxSY+jjrihrPmruxTZ8zWQnGFmSkOP+V+RCU38cKrp5+m7o5hG7kC TkFTX4gvB54+0opvYK41HP8vNVvAK1JLMHfGm6SOCOje3FBa67MJPBiHKqa+8Xl9tzVh nfLw2Qx4jsKHmocxXbQrw8VgOTf5WqGla4QEJf/oGvW7iglB1D+4sCNlfko0tT3LTpS8 S4Mw==
MIME-Version 1.0
X-Received by 10.202.75.195 with SMTP id y186mr21984934oia.43.1450173828540; Tue, 15 Dec 2015 02:03:48 -0800 (PST)
X-Google-Sender-Auth uQ29CbvWtXZZqMtHpgNikCUNzTI
Content-Type text/plain; charset=UTF-8
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 38
Organization linux.* mail to news gateway
X-Original-Cc Brian Norris <computersforpeace@gmail.com>, Michal Suchanek <hramrach@gmail.com>, Jonas Gorski <jogo@openwrt.org>, Boris Brezillon <boris.brezillon@free-electrons.com>, Arnd Bergmann <arnd@arndb.de>, Geert Uytterhoeven <geert+renesas@glider.be>, "devicetree@vger.kernel.org" <devicetree@vger.kernel.org>, devicetree-spec@vger.kernel.org, Simon Arlott <simon@fire.lp0.eu>, Linus Walleij <linus.walleij@linaro.org>, Rafał Miłecki <zajec5@gmail.com>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>, Jason Gunthorpe <jgunthorpe@obsidianresearch.com>, Rob Herring <robh+dt@kernel.org>, MTD Maling List <linux-mtd@lists.infradead.org>, Hauke Mehrtens <hauke@hauke-m.de>
X-Original-Date Tue, 15 Dec 2015 11:03:48 +0100
X-Original-Message-ID <CAMuHMdVUMHEAGSwF=nvbncHEj6Co9f6CofeVqZbrWzhaprBvGQ@mail.gmail.com>
X-Original-References <1449292763-129421-1-git-send-email-computersforpeace@gmail.com> <1449292763-129421-4-git-send-email-computersforpeace@gmail.com> <CAOiHx=nz2bdA_R610ozsQHhccdcrHVVCamTtne5ReHrA-FcaaQ@mail.gmail.com> <CAOMqctTbUNd0GtY07YJuxem9HkU1WZ-NtO556=Yg2QrsF49Xjw@mail.gmail.com> <20151207013628.GC20139@voom.fritz.box> <20151210204324.GK144338@google.com> <20151212055105.GA17011@voom.fritz.box> <CAMuHMdXA4-BZpvtCM8_9fYWLzoVsuCXDqvF3G4cVd50Cqsfv0g@mail.gmail.com> <20151215060056.GB3011@voom.redhat.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1292010

Show key headers only | View raw


Hi David,

On Tue, Dec 15, 2015 at 7:00 AM, David Gibson
<david@gibson.dropbear.id.au> wrote:
>> If the only property needed is the partition table offset, it can be encoded
>> in the unit-address, and the "reg" property:
>>
>>         partitions {
>>
>>                 partition-table@xxxx {
>>                         reg = <0xxxx ...>;
>>                         ...
>>                 };
>>
>>                 ...
>>         };
>
> Urgh.. and that's abusing the unit address.

Why? The partition is part of the FLASH. In this respect, it doesn't differ
from other hardcoded partitions using the same DT syntax.
It would just have a compatible value indicating it's a partition table.

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/

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


Thread

Re: [RFC PATCH 3/7] doc: dt: mtd: partition: add on-flash format  binding David Gibson <david@gibson.dropbear.id.au> - 2015-12-12 09:50 +0100
  Re: [RFC PATCH 3/7] doc: dt: mtd: partition: add on-flash format binding Geert Uytterhoeven <geert@linux-m68k.org> - 2015-12-14 11:30 +0100
    Re: [RFC PATCH 3/7] doc: dt: mtd: partition: add on-flash format binding Michal Suchanek <hramrach@gmail.com> - 2015-12-14 13:30 +0100
    Re: [RFC PATCH 3/7] doc: dt: mtd: partition: add on-flash format  binding David Gibson <david@gibson.dropbear.id.au> - 2015-12-15 11:00 +0100
      Re: [RFC PATCH 3/7] doc: dt: mtd: partition: add on-flash format binding Geert Uytterhoeven <geert@linux-m68k.org> - 2015-12-15 11:10 +0100
        Re: [RFC PATCH 3/7] doc: dt: mtd: partition: add on-flash format  binding David Gibson <david@gibson.dropbear.id.au> - 2015-12-17 02:10 +0100

csiph-web