From patchwork Tue Dec 5 15:56: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: 120708 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp5918789qgn; Tue, 5 Dec 2017 07:59:24 -0800 (PST) X-Google-Smtp-Source: AGs4zMZjoHTTWyyzdxYNewfyo9gPdcXeiZ1/Qbph7dNqHiPju/f3cW32cCejGEzaQgyy6878QS4I X-Received: by 10.80.151.178 with SMTP id e47mr35897122edb.196.1512489564757; Tue, 05 Dec 2017 07:59:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512489564; cv=none; d=google.com; s=arc-20160816; b=QGLnff3Z7gQqhUpSOQDRAfE+eq2QzyKdhKr8imXx3TkyCx1itvhtcAgQHAydThvWyy IyZO3TZiJbnv57WHXylV7lfaCYFNme6aVFSA9DidOIKLGal8KzyCdnD07phEGUcf6Npa 0zPU/8HZustLSNgqm7fGrtyVA8tTW+26cRYhNtBLiYnLyrfnnkEijtdi0psBmluAtpRK YAQC8YDGlTLAJCWp4efPJp/7fDhr4zrul0XDtw4C49nVBk9cnu07vDAMWslYIFi6OaMR Ck6iQjSMaxJHO/7SC2LrkCeN1YL5Qe96OABgNAc6uIA4uEESsGE7P46OYTgQkoR3deuI LNag== 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=4P4IIi93EHFy/AIRd4tuu7lYKNjEST8I5CWZhKeGot8=; b=US913Dfk6WTdkkHgl6Vw17xK9hmwRsHpkOAzjZtnI+SyOEvyr0JwXans4AT/8dEsBr 8t/0EH8ntbNa3oqo5nW7Cbr3flC00aMg1PA2LnR/ddJXnEg10wly0CQEkb7/t858ydCO sv7CNTL3ap+ytc/2SA8+TFAz5XVkht9RDWYMIT+PDoa2UV5ne9kn/GRS22fr9u88H7d1 GapVD4NOLm8TRkDeOKoCJPNpSqo89YwNjeHYqnl6kDLdG+t+iCiDOnZ83jIFhhvn8haK IbDWbmW0a3K8YVtRXMPBEDXVuGFyWugHj+DqBJeivm9bsXnq48y2sQryTs4yJIhEzpwP S9xA== 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 36si446267edf.548.2017.12.05.07.59.24; Tue, 05 Dec 2017 07:59:24 -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 5E927C21E85; Tue, 5 Dec 2017 15:57:34 +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 BAFB5C21FE2; Tue, 5 Dec 2017 15:56:58 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 9C1B7C21F45; Tue, 5 Dec 2017 15:56:55 +0000 (UTC) Received: from mail.free-electrons.com (mail.free-electrons.com [62.4.15.54]) by lists.denx.de (Postfix) with ESMTP id 4DF73C21EDE for ; Tue, 5 Dec 2017 15:56:55 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 110) id 8DF7E20741; Tue, 5 Dec 2017 16:56:54 +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 4DAB020750; Tue, 5 Dec 2017 16:56:44 +0100 (CET) From: Maxime Ripard To: Tom Rini Date: Tue, 5 Dec 2017 16:56:39 +0100 Message-Id: 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 v2 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. Reviewed-by: Andre Przywara 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