From patchwork Sat Feb 4 00:25:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1737379 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.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: legolas.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=G109B4G/; 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 ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4P7tm56jxjz23hn for ; Sat, 4 Feb 2023 11:33:09 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 60B4486072; Sat, 4 Feb 2023 01:29:44 +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="G109B4G/"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id BB67A86059; Sat, 4 Feb 2023 01:29:28 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE, SPF_PASS,UPPERCASE_50_75 autolearn=no autolearn_force=no version=3.4.2 Received: from mail-io1-xd33.google.com (mail-io1-xd33.google.com [IPv6:2607:f8b0:4864:20::d33]) (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 1E5D386009 for ; Sat, 4 Feb 2023 01:28:50 +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-xd33.google.com with SMTP id e2so2593130iot.11 for ; Fri, 03 Feb 2023 16:28:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; 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=XRNHBt3EPrUq9VCX82IXftQmq90rXB5D8CgeUHcaIAc=; b=G109B4G/ZUKUBkFaIyMrzXirMxNUTKn2YSZD0XavDDBj9tsJdrdUvU6HA6TJjBEfc8 Rhmgca4gXo1VXDlzbYXm38ECsp+bGgmi2/GqGk8dxePm1iq68FpyYFX6DZgq4DGd8grq IfM1M3KR1rNDX0Dh38WbLYHpuYYm75veuLtH4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=XRNHBt3EPrUq9VCX82IXftQmq90rXB5D8CgeUHcaIAc=; b=XJKGDsAyLp/2I3Mp/QJ+EIQrQ1ntOwsg+PcBs/JT+G+Qr8aghRJuZAI15K9ZYay9wq dX6JpyP8dhqTCNCAEmgvKCoGjqnJYVjCBgxEpGT6E6NemEV3914w9pSV4GAv+srUcVzD NJgbzgq5KI+eVN3lfgvZi3UIpbq6Z40suLZRFqFDBDQNzDUmqoAy327DC7ZAkSN5tfXb /2FAsmhkcxFS31Rp/fGaku3/pEZvOwHXdyBaGBogAtZAq6fSdPIWgC2+bY/ZQlNkVfeO C8Jg+5OdbdCLQ62WimrfF5HEYxR55S4oul/phXFXMSH8Ecp/E+5lKJRSdTzHB8Rigeo8 Q7tA== X-Gm-Message-State: AO0yUKUUsWgytxdOh+/xKYOEaiZnPuY9TKOEzhsctVN2j5NlRKQE1w+3 nD/j3jAXNI7zhMRFsdQ0Fni1DF9nWmCocQqf X-Google-Smtp-Source: AK7set9qtrBXojC3+d5fG20RjJrJKoQRuCx6dTx0jKJp8VNFnjkt70RjJ0H5wQiM9Iuh0y6K6TOAcw== X-Received: by 2002:a05:6602:168f:b0:70a:a1d4:74ce with SMTP id s15-20020a056602168f00b0070aa1d474cemr10718467iow.8.1675470497788; Fri, 03 Feb 2023 16:28:17 -0800 (PST) Received: from kea.bld.corp.google.com ([2620:15c:183:200:5b65:12f1:51b7:8157]) by smtp.gmail.com with ESMTPSA id j12-20020a02cc6c000000b003adab954c5asm1270255jaq.153.2023.02.03.16.28.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Feb 2023 16:28:17 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Simon Glass , Masahiro Yamada Subject: [RFC PATCH v2 24/56] kconfig: Add a configuration file for nospl Date: Fri, 3 Feb 2023 17:25:47 -0700 Message-Id: <20230204002619.938387-25-sjg@chromium.org> X-Mailer: git-send-email 2.39.1.519.gcb327c4b5f-goog In-Reply-To: <20230204002619.938387-1-sjg@chromium.org> References: <20230204002619.938387-1-sjg@chromium.org> MIME-Version: 1.0 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 file indicates which options are not for use in U-Boot SPL. It allows the kconfig tool to correctly generate its output. It was generated with ./tools/move_config.py --scan-source -u Note that this only produces sensible results when used with the current source code, as of this patch. Following patches adjust the code, e.g. to drop use of CONFIG_IS_ENABLED(), so the program will not produce anything useful when run on that version of the code. Signed-off-by: Simon Glass --- (no changes since v1) scripts/conf_nospl | 91 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 91 insertions(+) create mode 100644 scripts/conf_nospl diff --git a/scripts/conf_nospl b/scripts/conf_nospl new file mode 100644 index 00000000000..f35f276c608 --- /dev/null +++ b/scripts/conf_nospl @@ -0,0 +1,91 @@ +# Options which are never enabled in SPL. + +Generally, options which have no SPL_ prefix (e.g. CONFIG_FOO) apply to all +SPL build phases. This allows things like ARCH_ARM to propagate to all builds +without the hassle of generating a separate SPL version fo each phase. But in +some cases this is not wanted. + +This file lists options which don't have an SPL equivalent, but still should not +be enabled in SPL builds. It is necessary since kconfig cannot tell (just by +looking at the Kconfig description) whether it applies to Proper builds only, +or to all builds. + +ACPI_PMC_SANDBOX +BINMAN_FDT +CLK_INTEL +CMD_MMC_RPMB +CMD_MMC_SWRITE +DFU_MMC +DFU_MTD +DFU_NAND +DFU_SF +DFU_SF_PART +DFU_WRITE_ALT +DMA_LEGACY +DM_DMA +DM_EVENT +DM_REGULATOR_ANATOP +DM_REGULATOR_PBIAS +DM_REGULATOR_STM32_VREFBUF +DM_STDIO +DWC_AHSATA_AHCI +EFI_DT_FIXUP +EFI_EBBR_2_1_CONFORMANCE +EFI_SCROLL_ON_CLEAR_SCREEN +EFI_UNICODE_CAPITALIZATION +ENV_APPEND +EVENT_DEBUG +EXYNOS7870 +EXYNOS7880 +FASTBOOT_UUU_SUPPORT +FRED +FRU_SC +INTEL_GENERIC_WIFI +LOG_SYSLOG +LS2_SFP +MALTA +MEMSIZE_IN_BYTES +MIPS_BOOT_CMDLINE_LEGACY +MIPS_BOOT_ENV_LEGACY +MIPS_BOOT_FDT +MMC_HW_PARTITIONING +MMC_VERBOSE +MSCODE_PARSER +MUX_MMIO +NAND_CS_INIT +NO_FB_CLEAR +OFNODE_MULTI_TREE +PCF8575_GPIO +PHY_J721E_WIZ +PKCS7_MESSAGE_PARSER +PKCS7_VERIFY +PLATDATA +PRE_CONSOLE_BUFFER +REGULATOR_RK8XX +RESTORE_EXCEPTION_VECTOR_BASE +ROCKCHIP_RK8XX_DISABLE_BOOT_ON_POWERON +SERIAL_PUTS +SERIAL_RX_BUFFER +SHA512_HW_ACCEL +SILENT_CONSOLE_UPDATE_ON_RELOC +SILENT_CONSOLE_UPDATE_ON_SET +SIMPLE_BUS_CORRECT_RANGE +SMC911X_32_BIT +SPI_DIRMAP +SPI_NOR_BOOT_SOFT_RESET_EXT_INVERT +STM32_ETZPC +SYSRESET_AT91 +SYSRESET_X86 +SYS_DEVICE_NULLDEV +SYS_WHITE_ON_BLACK +TARGET_DENEB +TARGET_EVB_RK3399 +TARGET_GIEDI +TARGET_ST_STM32MP15X +TURRIS_OMNIA_MCU +USB_GADGET_OS_DESCRIPTORS +UT_DM +UT_UNICODE +X509_CERTIFICATE_PARSER +XILINX_MICROBLAZE0_DELAY_SLOT_EXCEP +XILINX_MICROBLAZE0_USR_EXCEP