Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8FC94C27C40 for ; Thu, 24 Aug 2023 20:02:01 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id DA7C486A9C; Thu, 24 Aug 2023 21:59:43 +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="W430nN6Z"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B9FA4868B8; Thu, 24 Aug 2023 21:59:42 +0200 (CEST) Received: from mail-io1-xd2e.google.com (mail-io1-xd2e.google.com [IPv6:2607:f8b0:4864:20::d2e]) (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 C26C1869A1 for ; Thu, 24 Aug 2023 21:59:38 +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-xd2e.google.com with SMTP id ca18e2360f4ac-79277cfc73bso7839939f.1 for ; Thu, 24 Aug 2023 12:59:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1692907177; x=1693511977; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=lklG9Mva/SkwZNcTSiLTDx6LvZm07ICDslJipHqVZJM=; b=W430nN6ZoKakDFBWjvQeXCa8aujk9LMhF4Z4IqATFTJtLVBf/qabPlOYGXL6aWP+C+ XeGE4J13JLDEbqx69HSslUbmniDVUOMPpCh0I1TdChPBa1kMZNLGeBbp9czOYauOuOxQ LyVMTRnueWk+TGdlrqG4wTpWkjR0TinGA+tCc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692907177; x=1693511977; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=lklG9Mva/SkwZNcTSiLTDx6LvZm07ICDslJipHqVZJM=; b=edV3C+gtpxc/0cGRyXLOIFcGQlDwV6ojP/oMDEYJok4EfgzDtEOaRNkXoiZW33EI+W EcbfTDwCfdZD5cugs7z9G9YBmwzD7G2WiT6Q9joiXIsErhvX9FZTVw8zHe5Vd9ELitxH btwo3FA15moKPl03W+b80hwpznLuvGG1GEroOlv3Uowmu+8vo0/WqV4HA7TpFn3SAS81 J/gZtzfbwRWJI2LcAeK2F/g3qd5VTRJwGB2S/2RuPNOVf0L9klp/y6qOxSbLPgKcWbA2 qpfE7kgwS9nsVxhHtSX3CJ5C4L/MrheD/xKVzwAqp6VcyZo1RGSYyONO0pqZa+4xc/Ip TAkQ== X-Gm-Message-State: AOJu0YwdZNL8pAVJtUbgI66OE6PycstneKj7XJFnspuwarFnbxb6s2IH u4rLXzWtKF5DNH8C22aTTlUHlGG8ijfGcX2uyWw= X-Google-Smtp-Source: AGHT+IGWgyvyCG52l+XHJ519e+3ei211WLziAivcHiIzgkd7XTCZGESyvnRKbBkkN/kUZR4pY/Ghsg== X-Received: by 2002:a5d:930c:0:b0:790:fab3:2052 with SMTP id l12-20020a5d930c000000b00790fab32052mr6816322ion.5.1692907177349; Thu, 24 Aug 2023 12:59:37 -0700 (PDT) Received: from sjg1.lan (c-73-14-173-85.hsd1.co.comcast.net. [73.14.173.85]) by smtp.gmail.com with ESMTPSA id c11-20020a5e8f0b000000b00786fe5039b8sm9744iok.46.2023.08.24.12.59.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Aug 2023 12:59:37 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Heinrich Schuchardt , Simon Glass Subject: [PATCH 10/19] boot: Move some other fdt-fixup options to the same menu Date: Thu, 24 Aug 2023 13:59:01 -0600 Message-ID: <20230824195917.1687886-11-sjg@chromium.org> X-Mailer: git-send-email 2.42.0.rc1.204.g551eb34607-goog In-Reply-To: <20230824195917.1687886-1-sjg@chromium.org> References: <20230824195917.1687886-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.103.8 at phobos.denx.de X-Virus-Status: Clean Move more options relating to fixing up a device tree into the new devicetree-fixup menu. Signed-off-by: Simon Glass --- boot/Kconfig | 55 +++++++++++++++++++++++++--------------------------- 1 file changed, 26 insertions(+), 29 deletions(-) diff --git a/boot/Kconfig b/boot/Kconfig index 1b2ac7451a61..daec68034c72 100644 --- a/boot/Kconfig +++ b/boot/Kconfig @@ -693,35 +693,6 @@ config SUPPORT_RAW_INITRD address of the initrd must be augmented by it's size, in the following format: ":". -config OF_BOARD_SETUP - bool "Set up board-specific details in device tree before boot" - depends on OF_LIBFDT - help - This causes U-Boot to call ft_board_setup() before booting into - the Operating System. This function can set up various - board-specific information in the device tree for use by the OS. - The device tree is then passed to the OS. - -config OF_SYSTEM_SETUP - bool "Set up system-specific details in device tree before boot" - depends on OF_LIBFDT - help - This causes U-Boot to call ft_system_setup() before booting into - the Operating System. This function can set up various - system-specific information in the device tree for use by the OS. - The device tree is then passed to the OS. - -config OF_STDOUT_VIA_ALIAS - bool "Update the device-tree stdout alias from U-Boot" - depends on OF_LIBFDT - help - This uses U-Boot's serial alias from the aliases node to update - the device tree passed to the OS. The "linux,stdout-path" property - in the chosen node is set to point to the correct serial node. - This option currently references CONFIG_CONS_INDEX, which is - incorrect when used with device tree as this option does not - exist / should not be used. - config HAVE_TEXT_BASE bool depends on !NIOS2 && !XTENSA @@ -1539,6 +1510,32 @@ if OF_LIBFDT menu "Devicetree fixup" +config OF_BOARD_SETUP + bool "Set up board-specific details in device tree before boot" + help + This causes U-Boot to call ft_board_setup() before booting into + the Operating System. This function can set up various + board-specific information in the device tree for use by the OS. + The device tree is then passed to the OS. + +config OF_SYSTEM_SETUP + bool "Set up system-specific details in device tree before boot" + help + This causes U-Boot to call ft_system_setup() before booting into + the Operating System. This function can set up various + system-specific information in the device tree for use by the OS. + The device tree is then passed to the OS. + +config OF_STDOUT_VIA_ALIAS + bool "Update the device-tree stdout alias from U-Boot" + help + This uses U-Boot's serial alias from the aliases node to update + the device tree passed to the OS. The "linux,stdout-path" property + in the chosen node is set to point to the correct serial node. + This option currently references CONFIG_CONS_INDEX, which is + incorrect when used with device tree as this option does not + exist / should not be used. + config FDT_SIMPLEFB bool "FDT tools for simplefb support" help -- 2.42.0.rc1.204.g551eb34607-goog