From patchwork Fri Mar 22 16:37:49 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 1061381 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=konsulko.com Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 44QqB33GdFz9sCJ for ; Sat, 23 Mar 2019 03:39:23 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 0E034C2210F; Fri, 22 Mar 2019 16:38:51 +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 755ECC220DD; Fri, 22 Mar 2019 16:38:29 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 30C62C220D8; Fri, 22 Mar 2019 16:38:22 +0000 (UTC) Received: from mail-ed1-f68.google.com (mail-ed1-f68.google.com [209.85.208.68]) by lists.denx.de (Postfix) with ESMTPS id 923E2C220AF for ; Fri, 22 Mar 2019 16:38:18 +0000 (UTC) Received: by mail-ed1-f68.google.com with SMTP id q14so2211222edr.5 for ; Fri, 22 Mar 2019 09:38:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=lMnxDwEtX5N285VvQuV1ff/Hn9X3WTR5J6wn93wP2Qg=; b=RcRclGg2Yhi26UTj6WKueseYXfNAILL5QlQDyzz7ix3sE5d0bkZgSZg4kE6B6M/Qb8 O9JGgSpiPRTyfpIH9rR60ptBfvZc2Nhrxge1EbLcDHe3w/A/6RXZrsWZ5gRm6x30sL9Y +W8h7HNJ78AggfbgleQ+RkBQEmqQZ3sisHg8bXz6xq/UKMzfKu1N2JBjTOUnkhnKrCWb K2fKJzbjfSHRrKgsQvVL8mK3kH18Xj0U2sIjhekw8Z7siEnAVw4KvqIxvIOxcrwhnON1 oYvXbxJVPi8dZ8lsXs1mZnt0LQWCNUznoZqPnk6ByqTAGZ5auVDzc6PwnTzTUcVGYzew H9Dw== X-Gm-Message-State: APjAAAUU1BasWmdtMIJ61YOIXXN/Vj/yvWWVIOvfeStMqpqOIE5VJFyP R2K5nrStGV1rr5pDdQdSrHSxoNc= X-Google-Smtp-Source: APXvYqzW1554NUwxkS42xXL8vSGyFXBArnQ14Z/GfFceqJ3OnCTv2Wd9JenB4GbbdPair0ObHTnM9Q== X-Received: by 2002:a17:906:15db:: with SMTP id l27mr4939160ejd.242.1553272697962; Fri, 22 Mar 2019 09:38:17 -0700 (PDT) Received: from bill-the-cat.local (cpe-65-184-134-105.ec.res.rr.com. [65.184.134.105]) by smtp.gmail.com with ESMTPSA id c6sm1151214edl.5.2019.03.22.09.38.16 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 22 Mar 2019 09:38:17 -0700 (PDT) From: Tom Rini To: u-boot@lists.denx.de Date: Fri, 22 Mar 2019 12:37:49 -0400 Message-Id: <1553272669-12639-3-git-send-email-trini@konsulko.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1553272669-12639-1-git-send-email-trini@konsulko.com> References: <1553272669-12639-1-git-send-email-trini@konsulko.com> Subject: [U-Boot] [PATCH 3/3] SPL: Default to disabling legacy image support when using FIT 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" When we have a FIT image being used by SPL by default that means the most common case is that we'll never run into a legacy image. Disable legacy image support by default in that case to reclaim space. Signed-off-by: Tom Rini --- common/spl/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/spl/Kconfig b/common/spl/Kconfig index aef7c5b01465..65d19ebff771 100644 --- a/common/spl/Kconfig +++ b/common/spl/Kconfig @@ -94,7 +94,7 @@ config SPL_RAW_IMAGE_SUPPORT config SPL_IMAGE_FORMAT_LEGACY bool "Support SPL loading and booting of Legacy images" - default y if !TI_SECURE_DEVICE + default y if !TI_SECURE_DEVICE && !SPL_LOAD_FIT help SPL will support loading and booting Legacy images when this option is y. If this is not set, SPL will move on to other available