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 68AF7C678D4 for ; Thu, 2 Mar 2023 03:40:38 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 073FD85C2A; Thu, 2 Mar 2023 04:40:05 +0100 (CET) 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="K7Sw6xu+"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 6009285B7B; Thu, 2 Mar 2023 04:39:59 +0100 (CET) Received: from mail-io1-xd2f.google.com (mail-io1-xd2f.google.com [IPv6:2607:f8b0:4864:20::d2f]) (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 8017385B58 for ; Thu, 2 Mar 2023 04:39:56 +0100 (CET) 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-xd2f.google.com with SMTP id bf15so6258317iob.7 for ; Wed, 01 Mar 2023 19:39:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1677728395; 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=NauubDy/bcya44IqLzfN9AFIM52qgVR9/lVKUBrW3b4=; b=K7Sw6xu+6+SaWfPhhhkRBllY/XcmfE1P59RFwAceVz1EBJ7Ok8+v7n6h0tEwSqBZv+ 8mg9Q4tyxfgCmFosbf70hidJd0IlNsi3F/0eTaw6cqQ2YbiwngWQGSOBfMLVCIGpWtdo QfF80+FxqQTg6chYwDlViAiZcp+1bYLGfyXQ4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677728395; 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=NauubDy/bcya44IqLzfN9AFIM52qgVR9/lVKUBrW3b4=; b=B+KsxJZTG/GlToqf5q6agAX4ss/ZFapUrROcai6Ce6hEdv64VW2h9/pQXjn9NornXQ IbTElHVR3ybINUthNatifYqPMJkGdONyr2Bb2IWyFOXLNRuzu86WJLOlpMRWIOx5UoWs Rv+V4kB7lLC/Keqx3OSvb3Om3dcCJgQRJC9hece6Z+Vii3bNiEK8Fi7K6d0xLJI5o7Kj aopU0eeD6YybsTIdLLDtGJk0uq0zqhkPpSkpwz+WKq52T6qYpYt4AGJeh0jz5VeeYj/+ lGRBBmDWnrFAP9ms7+wCLaC9Dw57s2XohzGjR3y6QrkJkqOO2hh8MtuPGHTaWoXOv+HP X9ow== X-Gm-Message-State: AO0yUKUk8HX4EUreDf7hg1JruvzSmFWghOMy9VmDs086hfvWapS3yvWO aJB0IROlS0v0nkT0bdLUuEUtjmJgYNgxolHp X-Google-Smtp-Source: AK7set9N4dqv0TZ1YB6t7F/pFlCa6TK0OOXtOSBw1Deb38P+a1VqY+mIopvUCPC9Yxvve6ADK2chBg== X-Received: by 2002:a05:6602:2153:b0:74c:da5d:a0b5 with SMTP id y19-20020a056602215300b0074cda5da0b5mr6974410ioy.10.1677728394955; Wed, 01 Mar 2023 19:39:54 -0800 (PST) Received: from sjg1.lan (c-73-14-173-85.hsd1.co.comcast.net. [73.14.173.85]) by smtp.gmail.com with ESMTPSA id f4-20020a5ec704000000b0073fd8ca79c6sm4358169iop.9.2023.03.01.19.39.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Mar 2023 19:39:54 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , huang lin , Jeffy Chen , Simon Glass , Kever Yang , Philipp Tomsich , Vagrant Cascadian Subject: [PATCH v2 4/8] Move DISTRO_DEFAULTS into boot/ Date: Wed, 1 Mar 2023 20:39:25 -0700 Message-Id: <20230302033930.2546548-4-sjg@chromium.org> X-Mailer: git-send-email 2.40.0.rc0.216.gc4246ad0f0-goog In-Reply-To: <20230302033930.2546548-1-sjg@chromium.org> References: <20230302033930.2546548-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.6 at phobos.denx.de X-Virus-Status: Clean This relates to booting so move it in to that Kconfig file, before changing it. Signed-off-by: Simon Glass --- Changes in v2: - Add new patch to move DISTRO_DEFAULTS into boot/ Kconfig | 27 --------------------------- boot/Kconfig | 28 +++++++++++++++++++++++++++- 2 files changed, 27 insertions(+), 28 deletions(-) diff --git a/Kconfig b/Kconfig index a75cce7e28f..b8f65589f45 100644 --- a/Kconfig +++ b/Kconfig @@ -191,33 +191,6 @@ config XEN [1] - https://xenproject.org/ -config DISTRO_DEFAULTS - bool "Select defaults suitable for booting general purpose Linux distributions" - select AUTO_COMPLETE - select CMDLINE_EDITING - select CMD_BOOTI if ARM64 - select CMD_BOOTZ if ARM && !ARM64 - select CMD_DHCP if CMD_NET - select CMD_ENV_EXISTS - select CMD_EXT2 - select CMD_EXT4 - select CMD_FAT - select CMD_FS_GENERIC - select CMD_PART if PARTITIONS - select CMD_PING if CMD_NET - select CMD_PXE if NET - select CMD_SYSBOOT - select ENV_VARS_UBOOT_CONFIG - select HUSH_PARSER - select SUPPORT_RAW_INITRD - select SYS_LONGHELP - imply CMD_MII if NET - imply USB_STORAGE - imply USE_BOOTCOMMAND - help - Select this to enable various options and commands which are suitable - for building u-boot for booting general purpose Linux distributions. - config ENV_VARS_UBOOT_CONFIG bool "Add arch, board, vendor and soc variables to default environment" help diff --git a/boot/Kconfig b/boot/Kconfig index 8759b863b00..7815341ada7 100644 --- a/boot/Kconfig +++ b/boot/Kconfig @@ -408,7 +408,6 @@ if BOOTSTD config BOOTSTD_DEFAULTS bool "Select some common defaults for standard boot" - depends on BOOTSTD default y imply USE_BOOTCOMMAND # Bring in some defaults which are generally needed. Boards can drop @@ -821,6 +820,33 @@ config SYS_BOOT_RAMDISK_HIGH endmenu # Boot images +config DISTRO_DEFAULTS + bool "Select defaults suitable for booting general purpose Linux distributions" + select AUTO_COMPLETE + select CMDLINE_EDITING + select CMD_BOOTI if ARM64 + select CMD_BOOTZ if ARM && !ARM64 + select CMD_DHCP if CMD_NET + select CMD_ENV_EXISTS + select CMD_EXT2 + select CMD_EXT4 + select CMD_FAT + select CMD_FS_GENERIC + select CMD_PART if PARTITIONS + select CMD_PING if CMD_NET + select CMD_PXE if NET + select CMD_SYSBOOT + select ENV_VARS_UBOOT_CONFIG + select HUSH_PARSER + select SUPPORT_RAW_INITRD + select SYS_LONGHELP + imply CMD_MII if NET + imply USB_STORAGE + imply USE_BOOTCOMMAND + help + Select this to enable various options and commands which are suitable + for building u-boot for booting general purpose Linux distributions. + menu "Boot timing" config BOOTSTAGE -- 2.40.0.rc0.216.gc4246ad0f0-goog