From patchwork Tue Nov 28 10:34:39 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 119836 Delivered-To: patch@linaro.org Received: by 10.80.225.132 with SMTP id k4csp2921431edl; Tue, 28 Nov 2017 02:41:52 -0800 (PST) X-Google-Smtp-Source: AGs4zMb25CiPSvUXyWvoJ8sNCxCGzRF18GZaviS8HO9rCSI2oRjzp2YXqsIapYyeKDeT5QjIxhnz X-Received: by 10.80.245.26 with SMTP id t26mr1949529edm.301.1511865712700; Tue, 28 Nov 2017 02:41:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511865712; cv=none; d=google.com; s=arc-20160816; b=YMkLwcLzNaiO69pXtXu2j+uD++Qty0m3pH2HdbcZGM2yJYoeqhNa4kJmvJPrRx8fFT U3xZF9cHu28j//xw0NuQpwMwiAuvM0UNHEgYygkB5MyM9Blt517QaJaJeol+txM3YImQ YsQ+ZQCHtz5+ZPhBD7d/BcUZEzHO7HFHyucQ1slnFlOkA2t7UoEvU3VEZdgolM6k6ARX SjDAulyduKne0scPuVd05uFGSrQexYMpbfXzqoLHAchNug3RzXydBVhm9rMBHbt6ERcC G6n2/8P9etIa37TABUXxOgNtwuGCu8qXz0cHYiLnv4PyASb0TzbkDJk1s61/TyaWLykR 68hw== 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:references :in-reply-to:message-id:date:to:from:arc-authentication-results; bh=Y0HAAHHpBIHIsplxrKXanEC6sznLQcFkl03PE4fDb1c=; b=fD6B1Z4KS4YZdDi7HeDN11TNTCkeBdaO9rZtUT0hIgX1RVwL2C5ZTHZDKMthBCPykQ XxoBEg+dvflJ1qxrloCHxmIrty/ye7mJlXHmwfswRkUWU7a1++9CgQU6QzEQBAmXtkDJ PFQEDrRbYwVPydzbc0izjoJ4ZcERe0mg+4/Y/hBVxgodtHo04WG3uuTKOCBp4v2A+iFB Pc2CjnSFpfPAVwOHcgfwc1yZQFFChOJzrPSwEnk9R8ucx3UQLJfvKYrGIqKSXAF+J/Te SDhhVy1KUbtWUAo330yO906/z2hsfXJLYJTFICTmY73eEvo5wveE37QvoUf/uV/arAGN Q2Kw== 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 w24si2714644edl.471.2017.11.28.02.41.52; Tue, 28 Nov 2017 02:41:52 -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 59CD6C21E90; Tue, 28 Nov 2017 10:39:01 +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 70B8AC21E18; Tue, 28 Nov 2017 10:38:58 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 3E21AC21DA5; Tue, 28 Nov 2017 10:34:45 +0000 (UTC) Received: from mail.free-electrons.com (mail.free-electrons.com [62.4.15.54]) by lists.denx.de (Postfix) with ESMTP id 9C972C21E1E for ; Tue, 28 Nov 2017 10:34:44 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 110) id F053020742; Tue, 28 Nov 2017 11:34:43 +0100 (CET) Received: from localhost (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr [90.63.216.87]) by mail.free-electrons.com (Postfix) with ESMTPSA id CDA4F20373; Tue, 28 Nov 2017 11:34:43 +0100 (CET) From: Maxime Ripard To: Tom Rini Date: Tue, 28 Nov 2017 11:34:39 +0100 Message-Id: <37a595033868e6633ac50c6190e5636e3462db8a.1511865262.git-series.maxime.ripard@free-electrons.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: References: In-Reply-To: References: 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 Reviewed-by: Andre Przywara --- 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