From patchwork Fri Oct 19 07:06:21 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 149240 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp2948365lji; Fri, 19 Oct 2018 00:06:32 -0700 (PDT) X-Google-Smtp-Source: ACcGV60jxDXjwnD3+f0uAREgRU5bxvQg98lQXZvaFWN50t/4X+hl0Dd0ccUvGx8QFJUa25+yzv8r X-Received: by 2002:a17:902:a717:: with SMTP id w23-v6mr32793516plq.24.1539932792426; Fri, 19 Oct 2018 00:06:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539932792; cv=none; d=google.com; s=arc-20160816; b=AIOD13ZncC1eYezDAjZiFWW9nJzHxyW8rXJ6CIHCABul9DuPzjQkpsbY+uIOgi5iT2 VVkFeU8iwTFMGB4yOlfTcka4/ogvMAL4tLaiV83oEfmgOQ7OhG8lg5k9+ndvzBxLzGmb sf/h/d3UPBvnQZ5fFGF0l2bi22TzBd+ek3QMIZG9O6KlVixe7nPL3H4hwfUWuYcRJIvZ Xg+hawMe8Q6BJK7DBi61V/LVOdqepTcrDKDkbjwNjDKDN/ZveZmBbo8WRScDxW2uxnbq oC4vdX67WBV4hya5Cs1sgFfh7ljCJFQfy70OuN/kiRPZBGEwLtwLhV3Cn4/+hV7vxGGj L4HA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=ap0OZ5j1N9CjR2H0fl5a5loJAmUZ0NLC8GZYUmVAU9Q=; b=Guix68dZl7DZ1jnZLa8Q2X+TCLEpIakOwnsVC5uG/KfhJ0cUQpHfIYSfCdi2bY+3Jd 23T9TxtEK5zmnwpcY3X1NDutpTgKVFViXWH1+w/Z1qQGN37Cm3TbX8jzfT/Jc1xq16YJ FJl0QCPQj9esO26zs9wbfWWH91G8a89w9dzVWWXKT5vyfKq0IahLUA5mox7keVwk49i+ /duvfDU05gZgs+lkmPcir9f3R2VunyI1cuh8GbYuE5L8ZxFkptsNvgnnxfkHbFVZGQVV roeP8lyqLfZgek/cMWSVCAeRGJd8h8GtSivo4L6mXs/Z1ssgqptKnslMWItYa4ccsg2s AbUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IOEyboW1; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t1-v6si23765139pgi.439.2018.10.19.00.06.31; Fri, 19 Oct 2018 00:06:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IOEyboW1; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726584AbeJSPLR (ORCPT + 6 others); Fri, 19 Oct 2018 11:11:17 -0400 Received: from mail-lj1-f195.google.com ([209.85.208.195]:44086 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726340AbeJSPLQ (ORCPT ); Fri, 19 Oct 2018 11:11:16 -0400 Received: by mail-lj1-f195.google.com with SMTP id v6-v6so29896181ljc.11 for ; Fri, 19 Oct 2018 00:06:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ap0OZ5j1N9CjR2H0fl5a5loJAmUZ0NLC8GZYUmVAU9Q=; b=IOEyboW1uDFx/d6VapJz0Y4LQQFAxKe12BRFV6s+zumlIxZZBz5n1TEiGUAqvzvKnq cNVDRv4wvFPdbJ62VbKORpm/mwuGims/fGBz6oMNKqvCMU0OLzpl8LavO5ztYWuMFrGk kiiW4h5YH1hRolKXn0ZDnnscoj9W/s0TBSAOc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=ap0OZ5j1N9CjR2H0fl5a5loJAmUZ0NLC8GZYUmVAU9Q=; b=I6Kq6SphfW9fFDM5nODCAfOBXRCNqzNRFVvGaWFumxGJG4NuKjZJ70wlk1jsvgzZPA WKRc6j/KXm93i3fQHPIWpGOu8R0fLWj05mPPJoKXooM+viwzKpgry0vxrZCx9loeisMJ va2nDzyKnMEQBsTpGHNuISyw8aSdn3KVRUMtqgMe38XT4MOJrBK+a2M08oveRmeBj019 wyb9pWe/qDSm6z6yhdCTafmYQUsqP0DZs5KeNiCHp831ZkzEeAZ/Uc5HH94yj/H7kNzR B2JG5F2o8/pWguqbFxDHAE40skexrBQxkRSMPYjTkjyLHCaEPrECGQS7U9ASCdVypCMd l09w== X-Gm-Message-State: ABuFfojL3kCjeCLwpZmApXrEO8KflHPhfI4GqaQTG2otjVD9ym7xjmG2 xqDEc6XFGK3HPmqe83svDFasMA== X-Received: by 2002:a2e:6c0c:: with SMTP id h12-v6mr8056033ljc.112.1539932788799; Fri, 19 Oct 2018 00:06:28 -0700 (PDT) Received: from localhost.bredbandsbolaget (c-ae7b71d5.014-348-6c756e10.bbcust.telenor.se. [213.113.123.174]) by smtp.gmail.com with ESMTPSA id m12-v6sm5537lfj.39.2018.10.19.00.06.27 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 19 Oct 2018 00:06:27 -0700 (PDT) From: Linus Walleij To: David Woodhouse , Brian Norris , Boris Brezillon , Marek Vasut , Richard Weinberger , linux-mtd@lists.infradead.org Cc: Linus Walleij , devicetree@vger.kernel.org Subject: [PATCH 2/3] mtd: partitions: Add RedBoot FIS DT bindings Date: Fri, 19 Oct 2018 09:06:21 +0200 Message-Id: <20181019070622.26661-2-linus.walleij@linaro.org> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20181019070622.26661-1-linus.walleij@linaro.org> References: <20181019070622.26661-1-linus.walleij@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This adds device tree bindings for the RedBoot FIS partition format. Cc: devicetree@vger.kernel.org Signed-off-by: Linus Walleij --- .../bindings/mtd/partitions/redboot-fis.txt | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Documentation/devicetree/bindings/mtd/partitions/redboot-fis.txt -- 2.17.2 Reviewed-by: Rob Herring diff --git a/Documentation/devicetree/bindings/mtd/partitions/redboot-fis.txt b/Documentation/devicetree/bindings/mtd/partitions/redboot-fis.txt new file mode 100644 index 000000000000..fd0ebe4e3415 --- /dev/null +++ b/Documentation/devicetree/bindings/mtd/partitions/redboot-fis.txt @@ -0,0 +1,27 @@ +RedBoot FLASH Image System (FIS) Partitions +=========================================== + +The FLASH Image System (FIS) directory is a flash description +format closely associated with the RedBoot boot loader. + +It uses one single flash eraseblock in the flash to store an index of +all images in the flash. + +This block size will vary depending on flash but is typically +32 KB in size. + +Required properties: +- compatible : (required) must be "redboot-fis" +- fis-index-block : (required) a index to the eraseblock containing + the FIS directory on this device. On a flash memory with 32KB + eraseblocks, 0 means the first eraseblock at 0x00000000, 1 means the + second eraseblock at 0x00008000 and so on. + +Example: + +flash@0 { + partitions { + compatible = "redboot-fis"; + fis-index-block = <0>; + }; +};