From patchwork Fri Sep 11 02:21:27 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1362200 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=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256 header.s=google header.b=GOqN5zPB; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4Bnfjb6rvFz9sTK for ; Fri, 11 Sep 2020 12:25:07 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 5F84082371; Fri, 11 Sep 2020 04:22:11 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="GOqN5zPB"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3580682340; Fri, 11 Sep 2020 04:21:55 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-io1-xd41.google.com (mail-io1-xd41.google.com [IPv6:2607:f8b0:4864:20::d41]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 6057082338 for ; Fri, 11 Sep 2020 04:21:52 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-io1-xd41.google.com with SMTP id j2so9433801ioj.7 for ; Thu, 10 Sep 2020 19:21:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=t9Re+86doeRrpatQjJSrgSw+YR6m51mMxyviZpdnO5M=; b=GOqN5zPBro4PAdk2qwDEelmAqccNe9+d+iK+K/LSI4BKQbz6Rw8D4OheEohbeSnr5F noN0sikmOvffb2rNC7gxUWhS4k/qAej++6rXHA6z+VQ+/qdkxJ2RR4mhwyoeAcA8xZfE feWTvUmyehR6jcdD9Ofyn46dlFtS/ciPMkyhM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=t9Re+86doeRrpatQjJSrgSw+YR6m51mMxyviZpdnO5M=; b=R7VkUIMhn9apKnkHPXs8kMxjsJY56S4ri22n3Sx/JC7l84jrYLY0rtS9Zr62C3q6vf /QAs6QdV/VUDFG/OSh2yxJ7BWXsaZMOPJx+7QxXkqCsBU28WvB6abDK86kLZAdpRUQ0L 0tyMZJ/KpwJHLWqJOhLrJn1tfdHGtCNJtJyw5e8S9K77f142k0KIzUh2Q2cMmizaUkuv xzmlSNPuFbD+XsKZtYflMBnQjwhSn6GDmFjcekTQvDNQvUfDI2QaaFHp4wAkUTOr20Ql AKTSbh4ggbYjI5bCldYcUvB1CVIm7ZpIenBB6eJF0pJMGTrUGWM4IZ3TiVmo7dOLk2bW QVwg== X-Gm-Message-State: AOAM530OA8KwAzmjJ+RsTlNDwqe0jQXRjFK7gYAJHeRJq1t7D+2a+rub c6hfT3L3HzDES49x2vCk3IQ4nM3FenO+Iv0C X-Google-Smtp-Source: ABdhPJwF/4W4OY3i/UbvmlfliXdWHgWFDDIHxhqv4JHY3Dsj5agpoKIVnxxAHHRRNg98LeLmp3hBYA== X-Received: by 2002:a5d:8846:: with SMTP id t6mr27297ios.123.1599790911171; Thu, 10 Sep 2020 19:21:51 -0700 (PDT) Received: from localhost.localdomain (c-73-14-175-90.hsd1.co.comcast.net. [73.14.175.90]) by smtp.gmail.com with ESMTPSA id m7sm440078ili.26.2020.09.10.19.21.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Sep 2020 19:21:50 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Masahiro Yamada , Marek Vasut , Tom Rini , Simon Glass , Anatolij Gustschin , Baruch Siach , Heinrich Schuchardt , Jean-Jacques Hiblot , Michal Simek , Ovidiu Panait , Peng Fan , Reuben Dowle , Sean Anderson , Walter Lozano Subject: [PATCH 16/16] Kconfig: Create a new tools menu Date: Thu, 10 Sep 2020 20:21:27 -0600 Message-Id: <20200910202100.16.I146b4a2edc3ed5ae15e8dbe5a5cc2c0ace526104@changeid> X-Mailer: git-send-email 2.28.0.618.gf4bc123cb7-goog In-Reply-To: <20200911022127.3451713-1-sjg@chromium.org> References: <20200911022127.3451713-1-sjg@chromium.org> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.3 at phobos.denx.de X-Virus-Status: Clean At present MKIMAGE_DTC_PATH is in the devicetree menu but not within 'devicetree control' since it does not relate to that. As a result it shows up in the top menu. It actually relates to the mkimage tool, so create a new tools menu for it and move it there. Signed-off-by: Simon Glass --- Kconfig | 2 ++ dts/Kconfig | 9 --------- tools/Kconfig | 12 ++++++++++++ 3 files changed, 14 insertions(+), 9 deletions(-) create mode 100644 tools/Kconfig diff --git a/Kconfig b/Kconfig index aa979a7dcf9..6731bed2bc0 100644 --- a/Kconfig +++ b/Kconfig @@ -445,3 +445,5 @@ source "fs/Kconfig" source "lib/Kconfig" source "test/Kconfig" + +source "tools/Kconfig" diff --git a/dts/Kconfig b/dts/Kconfig index 046a54a1736..86ea8ce8875 100644 --- a/dts/Kconfig +++ b/dts/Kconfig @@ -377,12 +377,3 @@ config TPL_OF_PLATDATA declarations for each node. See of-plat.txt for more information. endmenu - -config MKIMAGE_DTC_PATH - string "Path to dtc binary for use within mkimage" - default "dtc" - help - The mkimage host tool will, in order to generate FIT images make - calls to the dtc application in order to create the output. In - some cases the system dtc may not support all required features - and the path to a different version should be given here. diff --git a/tools/Kconfig b/tools/Kconfig new file mode 100644 index 00000000000..b2f5012240c --- /dev/null +++ b/tools/Kconfig @@ -0,0 +1,12 @@ +menu "Tools options" + +config MKIMAGE_DTC_PATH + string "Path to dtc binary for use within mkimage" + default "dtc" + help + The mkimage host tool will, in order to generate FIT images make + calls to the dtc application in order to create the output. In + some cases the system dtc may not support all required features + and the path to a different version should be given here. + +endmenu