From patchwork Wed Nov 15 10:11:49 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 118929 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp4119291qgn; Wed, 15 Nov 2017 02:14:22 -0800 (PST) X-Google-Smtp-Source: AGs4zMbiA0ZtZQQaq/SWRhzhFFMlsHiXB9e7jg+85KmeJUI41VNZkunHWutXVk5Y1fOdcypH4Y4h X-Received: by 10.80.206.79 with SMTP id k15mr21581357edj.145.1510740861917; Wed, 15 Nov 2017 02:14:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510740861; cv=none; d=google.com; s=arc-20160816; b=AVBNBOkcpypMoEX4suaUm4R9vVjiU4FSa4q1nqg9pE1RRshEou1Oe1qtK63bAJekVN qQKmBndy+nFu22rvXOZHNFCfBkdXE/vImKjcNrLK9N2BFDB4qq4TDzJ0NmUXv6540U0B 8E2yAiqqmEebsII4ngHYKbLrCZSUjqp7p7hwayjT5o1sV0gk2T4KvCYKoo64jKHlrPyw ynhMTrfVxY3NZlFy3iSlc2TTvjTmN4Spnqp4v7jRcrlxglrJGngTuBG+NTIMrjl+wr4N aO20YoluF1O9zXZLCmYli2gDx8qjRWoymJPQFd7Ca2msr+8B29ziurCD0vT42Rq7Cx1g WJGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:references:in-reply-to:message-id :date:to:from:arc-authentication-results; bh=R/BBonIxsQNvsgA6siXmsLrrHjJYWG3nw18dtkYQz9E=; b=QlEmfZwbWeiDw5mfSkb1LVT1qz3/5f212+ILWhDJqt1pbyXCKh6R3aXSDq5MxYL0wT XbkYxzGZUHR/neKFfWlwEg0B/RfmZ//s3nGFOYZpoFnZzJQbRKC/8Tak2rebvJNyEhvU 3PpdRdNiiYs4kmLwFCxo3irIsmsbwMLxfM5YLoa1zkL/sGy3EuRudq2xbWFczCtc83zj uQUjDYnRrjRX2cyVbMVH7OYTksuWWeoV+IqotpwQV4OBPxevOIqDL39xIdzj29oyoo39 0abfwuNhyouoqcwdB+hOwDV3sIpK1D/cDyINo0YrRB2L5A9pgcGb7NF0hGbkpKiJCpmQ 9Bkw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id p28si1725260eda.49.2017.11.15.02.14.21; Wed, 15 Nov 2017 02:14:21 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by lists.denx.de (Postfix, from userid 105) id 8FFF4C21DA2; Wed, 15 Nov 2017 10:12:47 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 7795CC21D88; Wed, 15 Nov 2017 10:12:37 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id BCFD2C21D80; Wed, 15 Nov 2017 10:12:20 +0000 (UTC) Received: from mail.free-electrons.com (mail.free-electrons.com [62.4.15.54]) by lists.denx.de (Postfix) with ESMTP id 45262C21D93 for ; Wed, 15 Nov 2017 10:12:16 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 110) id 376BC20810; Wed, 15 Nov 2017 11:12:15 +0100 (CET) Received: from localhost (unknown [185.94.189.188]) by mail.free-electrons.com (Postfix) with ESMTPSA id A789A212A2; Wed, 15 Nov 2017 11:11:55 +0100 (CET) From: Maxime Ripard To: Tom Rini Date: Wed, 15 Nov 2017 11:11:49 +0100 Message-Id: <20171115101151.11382-3-maxime.ripard@free-electrons.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20171115101151.11382-1-maxime.ripard@free-electrons.com> References: <20171115101151.11382-1-maxime.ripard@free-electrons.com> Cc: Andre Przywara , agraf@suse.de, u-boot@lists.denx.de, Maxime Ripard , Jagan Teki Subject: [U-Boot] [PATCH 2/4] part: efi: Add default number of partition entries for sunxi X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" The SPL must be located at 8kB (16 sectors) offset. That's right in the middle of the GPT, so we need to define a smaller amount of partitions to accomodate for that location. Signed-off-by: Maxime Ripard --- disk/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/disk/Kconfig b/disk/Kconfig index f82beef6e689..0446bb63ca7e 100644 --- a/disk/Kconfig +++ b/disk/Kconfig @@ -81,6 +81,7 @@ config EFI_PARTITION config EFI_PARTITION_ENTRIES_NUMBERS int "Number of the EFI partition entries" depends on EFI_PARTITION + default 56 if ARCH_SUNXI default 128 help Specify the number of partition entries in the GPT. This is