Message ID | 20181001182249.129565-18-sjg@chromium.org |
---|---|
State | Accepted |
Delegated to: | Simon Glass |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> 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=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=chromium.org Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 42PB3R0LTjz9sBJ for <incoming@patchwork.ozlabs.org>; Tue, 2 Oct 2018 04:42:26 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 99D1DC21EDC; Mon, 1 Oct 2018 18:33:16 +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=RCVD_IN_DNSWL_BLOCKED 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 B8078C22004; Mon, 1 Oct 2018 18:23:51 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 362BDC21FF1; Mon, 1 Oct 2018 18:23:43 +0000 (UTC) Received: from mail-io1-f73.google.com (mail-io1-f73.google.com [209.85.166.73]) by lists.denx.de (Postfix) with ESMTPS id 24759C21FD3 for <u-boot@lists.denx.de>; Mon, 1 Oct 2018 18:23:33 +0000 (UTC) Received: by mail-io1-f73.google.com with SMTP id c5-v6so14427577ioa.0 for <u-boot@lists.denx.de>; Mon, 01 Oct 2018 11:23:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=bYSdyT6lhcY4D8aygGAenn6Sn9AQsXJU7P6ddJb072o=; b=WQkkmIAK0rSjZMCgukGfFRTCyak5qDTn/2p1YYUEHIsGYx8d6iIIP/qRbYZ69Fo5Vi f3tRlTGJ+RONfJu8z+F8zklZSNo+OqWLkmWseoywMDrsloV26uIQ6sEr+cYikBkm7oUa p1gFoXoqr8/xKL+Kr9svw4oOIsOZYXJAv871t+vWTA0XRBAsJtJYW2jGbCUFEg92XKvF tA8LpysFB3YCM+QMVc+isxSrXgYnvLAdSZlaD/YpdWoFKtXHTTN4p22XeETKBcS0GCky gkEdC70TtvZxi+iQpv2kG4gIrOt7lgB6jsu302im4mXVcGbJLzaQ3I8XtF8F/EiYVuCv g/ng== X-Gm-Message-State: ABuFfoheo45Siy9dVjqKFvOwqzqnxFCTIsbnPo4iOwCWHbStfS64o54/ HPboQyERfoTMbVcPFT0zRBeh8FI= X-Google-Smtp-Source: ACcGV63XhbqZ00kTLHOXbyBWhH5uBQBbeX5E4fynGVlSj017/ug8Vgwn7XcThZ5fbd5WSbWTiq7hqmU= X-Received: by 2002:a24:5e93:: with SMTP id h141-v6mr11691112itb.19.1538418212218; Mon, 01 Oct 2018 11:23:32 -0700 (PDT) Date: Mon, 1 Oct 2018 12:22:21 -0600 In-Reply-To: <20181001182249.129565-1-sjg@chromium.org> Message-Id: <20181001182249.129565-18-sjg@chromium.org> Mime-Version: 1.0 References: <20181001182249.129565-1-sjg@chromium.org> X-Mailer: git-send-email 2.19.0.605.g01d371f741-goog From: Simon Glass <sjg@chromium.org> To: U-Boot Mailing List <u-boot@lists.denx.de> Cc: Jerry Van Baren <vanbaren@cideas.com> Subject: [U-Boot] [PATCH 17/45] fdt: Allow libfdt in TPL X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <http://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> |
Series |
Various fixes and improvements
|
expand
|
In some cases (e.g. sandbox with verified boot) it is useful to support
libfdt in TPL. Update the Kconfig to handle this.
Signed-off-by: Simon Glass <sjg@chromium.org>
---
lib/Kconfig | 10 ++++++++++
1 file changed, 10 insertions(+)
Applied to u-boot-dm
diff --git a/lib/Kconfig b/lib/Kconfig index b711d62d32f..ccab426e121 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -353,6 +353,16 @@ config SPL_OF_LIBFDT particular compatible nodes. The library operates on a flattened version of the device tree. +config TPL_OF_LIBFDT + bool "Enable the FDT library for TPL" + default y if TPL_OF_CONTROL + help + This enables the FDT library (libfdt). It provides functions for + accessing binary device tree images in memory, such as adding and + removing nodes and properties, scanning through the tree and finding + particular compatible nodes. The library operates on a flattened + version of the device tree. + config FDT_FIXUP_PARTITIONS bool "overwrite MTD partitions in DTS through defined in 'mtdparts'" depends on OF_LIBFDT
In some cases (e.g. sandbox with verified boot) it is useful to support libfdt in TPL. Update the Kconfig to handle this. Signed-off-by: Simon Glass <sjg@chromium.org> --- lib/Kconfig | 10 ++++++++++ 1 file changed, 10 insertions(+)