From patchwork Thu Oct 19 08:26: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: 116344 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp226611qgn; Thu, 19 Oct 2017 01:28:35 -0700 (PDT) X-Google-Smtp-Source: ABhQp+R3c6P3Oz08fBcBfpg0DU9B5hembrwvv6rZBkl6ZeLTy1rNuFsEtBbRKW0lhD3EupgXyy4y X-Received: by 10.80.164.196 with SMTP id x4mr1428180edb.191.1508401715778; Thu, 19 Oct 2017 01:28:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508401715; cv=none; d=google.com; s=arc-20160816; b=Bf96CSALEffEB7a1Ezr1hyfvOYPgcJ2ZMpS+31/3djbJ/JQ7JKiZHBvdtkEIu+RESN lASHsPuBDmjTE3VRUVrPaUddonMiit4rGogejf4xJzZ7LBbhzjX03QU+r6/myTKfY3g4 fJO309/O02M4EN1MJ7bjMuuOz8ijv8exP6Y8Aawq+yh0WoBSMbOyjpGjlDxBNS5ziRDN 1ymzsMFUX87iJWKw0k5Hr4xJVnDW0pQp2OKD8HQbKhRmjAB4s7fsg4U0k/vaBTivzLt/ eYPR+wzlfnOrAjVNyCvvI+RBHe0BEgK7jpy3DdKTXvEOnHMvBQ7/m7tr0onDzcQE/CZJ P30w== 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=jDX30K7ZG7o6d6eWt+CtIxDIs+rTkevlHqH6iaZ3ySs=; b=fDvQ+b4o324O9XiRreEpzzNYf/ZFrwIr0Qmo02aSdLdsexy+fY4Pe/dIF+O18YwWDS bOcgilyt8UgYI960V6KuOolW8Gmbsaaqz1YfzHr5aGMTLxv3zW2TEXgsTrUU+XbUckmP ylDvsuAlA7NlTLUyidDWGMr7plSvjaeD9YfcHFs9Rq28tOe8DL+xIOkfMddtPc2ybCTO Pe4C4ev7+wmsk3cy5AxEdzXTWBFemaso8MwBNDBa+rQixxMwn0/ZqoFcD9nXGuNMIaap QY0qF91UdDXwrp2YLqa4TkoYXumd8u5EhWwpXEx2b5xB7T6JDBDNTrvKrSogOHDI4fAy Yusg== 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 l9si4904718edf.545.2017.10.19.01.28.35; Thu, 19 Oct 2017 01:28:35 -0700 (PDT) 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 5F75FC21F44; Thu, 19 Oct 2017 08:27:55 +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 B22BDC21D90; Thu, 19 Oct 2017 08:27:21 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 01D75C21F44; Thu, 19 Oct 2017 08:27:11 +0000 (UTC) Received: from mail.free-electrons.com (mail.free-electrons.com [62.4.15.54]) by lists.denx.de (Postfix) with ESMTP id 759AEC21F34 for ; Thu, 19 Oct 2017 08:27:08 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 110) id ECA3120759; Thu, 19 Oct 2017 10:27:06 +0200 (CEST) Received: from localhost (unknown [185.94.189.190]) by mail.free-electrons.com (Postfix) with ESMTPSA id 7EE3E2084E; Thu, 19 Oct 2017 10:26:56 +0200 (CEST) From: Maxime Ripard To: Tom Rini Date: Thu, 19 Oct 2017 10:26:49 +0200 Message-Id: <20171019082649.27819-4-maxime.ripard@free-electrons.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171019082649.27819-1-maxime.ripard@free-electrons.com> References: <20171019082649.27819-1-maxime.ripard@free-electrons.com> Cc: u-boot@lists.denx.de, Maxime Ripard , Jagan Teki Subject: [U-Boot] [PATCH 3/3] efi_loader: Do not enable it by default 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 EFI loader support takes around 31kB on an ARMv7 board, which makes us trip across the size limit we've had on the U-Boot binary. Since it's not an essential feature, disable it by default for ARCH_SUNXI so that we get back some extra room for user customisations. Signed-off-by: Maxime Ripard --- lib/efi_loader/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/efi_loader/Kconfig b/lib/efi_loader/Kconfig index d2b6327119b4..a80a914b2fe8 100644 --- a/lib/efi_loader/Kconfig +++ b/lib/efi_loader/Kconfig @@ -1,7 +1,7 @@ config EFI_LOADER bool "Support running EFI Applications in U-Boot" depends on (ARM || X86) && OF_LIBFDT - default y + default y if !ARCH_SUNXI help Select this option if you want to run EFI applications (like grub2) on top of U-Boot. If this option is enabled, U-Boot will expose EFI