From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 86432606A31A for ; Tue, 1 Dec 2026 19:18:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.u-boot-project.org header.i=@lists.u-boot-project.org header.a=rsa-sha256 header.s=default header.b=wTnrsITZ; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=ak98d1vj Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 5F69381E89; Tue, 1 Dec 2026 19:18:37 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id R_wr1-Jnu6Jw; Tue, 1 Dec 2026 19:18:36 +0000 (UTC) ARC-Filter: OpenARC Filter v1.3.2 smtp1.osuosl.org A4ED181E92 Authentication-Results: smtp1.osuosl.org; arc=none smtp.remote-ip=140.211.166.142 ARC-Seal: i=1; d=osuosl.org; s=arc; a=rsa-sha256; cv=none; t=1796152716; b=IcaB63yb6CGnAdpL7nSOokQcN6UgsGB4gvyAPd5HI4dbHE1KQ2Fz6vAFWBpDCcaXKjMQ 4bGFLRk4vNPxdWAH7hfEGPb7gvXWG/dK5fxFjXtDPHid14L18Obf5658SqQAW8ozvA/g9 /NO5ExY0CovDAQ1KhiUJ3oGiihkymYsOrYpCuQv+l/24xLOTRkSYAmxDObuAg0JcATy5a ZHnU3q3zj+bhERYrRdDml7ef71+0OaAvzh9CT6wN+akqyzdjiRw+BBSDy1H0ymf9Ealdd G7lNQviAM/5or5eef8b5MJZEuagvc0shqYMX25Khe8ea5mOCSwyFqOzsJnrQGiicewQ== ARC-Message-Signature: i=1; d=osuosl.org; s=arc; a=rsa-sha256; c=relaxed/relaxed; t=1796152716; h=X-Comment:DKIM-Signature:X-Original-To:Delivered-To:Received: Received:X-Virus-Scanned:X-Spam-Flag:X-Spam-Score:X-Spam-Level: X-Spam-Status:Received:ARC-Filter:Received-SPF:Received:Received: DKIM-Signature:X-Google-DKIM-Signature:X-Gm-Message-State:X-Gm-Gg: X-Received:Received:Sender:From:Date:Subject:MIME-Version: Content-Type:Content-Transfer-Encoding:Message-Id:References: In-Reply-To:To:Cc:X-Mailer:X-BeenThere:X-Mailman-Version:Precedence: List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help: List-Subscribe:Errors-To; bh=Ze0s/M2p8QEDKe8nkI7d6F7AgqCtvCXMsBTTTOpcDJY=; b=cXBE8tFXnjC5L0OQej99U2sv5fHyuCRjpya5pmTqRueie5iUyBDmVrqQK+TrKecy/PpY 6EAJgsNQ0kscdeYkZWEodeeuXfFFhxk41IIohBkfDw4lliKZ4AoQ3oALA6deW2usuqzjG 3lbIaNMeK45c85cz9ObRlVcCBrvQxP2NihFUCdLgHjBx8I1MNFmchcSeuZ3Qv9p6oBp0O Nb6Hhtb6IXTlyvjeZjWJsHNjLE+q1LaWf3fr8qiEH/Ry0bi/CwNBEBx3B3kanwCxDGi0R hjdswf/GwqHw2P4WOZCFpmbFIjBhCr+E1q81KkfYvEwevIji/MiUbkpe6Qz/qzY1EwQ== ARC-Authentication-Results: i=1; smtp1.osuosl.org; arc=none smtp.remote-ip=140.211.166.142 X-Comment: SPF check N/A for local connections - client-ip=140.211.166.142; helo=lists1.osuosl.org; envelope-from=u-boot-bounces@lists.u-boot-project.org; receiver= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lists.u-boot-project.org; s=default; t=1796152716; bh=Ze0s/M2p8QEDKe8nkI7d6F7AgqCtvCXMsBTTTOpcDJY=; h=From:Date:Subject:References:In-Reply-To:To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=wTnrsITZpms8wW+o8VWjUqFbeNEPAC+7KEH6YIauXXl4lZpOwoUBlmTZDmgQXsTVs aMjtvu3IswZyrwQoj8WvP4xvWlj2FikiNDdf2JywQfhd+DGcexzjz2J2qvMDX0Iuyq kZE2zdhSRgGIlfzz28zWxfBkN4vE8bZSr4fvFN3KRs+xAt+0BAW2nrkZL/WM0FsQCY /1XsI7hXTn0FSoN1MXgUr2CotCkRtak64hMzHzsxRUpXSARvdGbaqRSMgLZkeiQx0A gjc3OT+IfBB9AdN5IoqetzU5nQDsZI2rYhXK6T9pA4m5vwL6CILw7pRij+EvUKb1/O 1KJfUWa4cZ8rQ== Received: from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142]) by smtp1.osuosl.org (Postfix) with ESMTP id A4ED181E92; Tue, 1 Dec 2026 19:18:36 +0000 (UTC) Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by lists1.osuosl.org (Postfix) with ESMTP id CC6664E0 for ; Tue, 1 Dec 2026 19:18:28 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id BE1BE4067A for ; Tue, 1 Dec 2026 19:18:28 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id BDdeRP4ykIxJ for ; Tue, 1 Dec 2026 19:18:28 +0000 (UTC) ARC-Filter: OpenARC Filter v1.3.2 smtp4.osuosl.org D02BC40672 Authentication-Results: smtp4.osuosl.org; arc=none smtp.remote-ip="2a00:1450:4864:20::32e" Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2a00:1450:4864:20::32e; helo=mail-wm1-x32e.google.com; envelope-from=massimo.pegorer+oss@gmail.com; receiver= Authentication-Results: smtp4.osuosl.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp4.osuosl.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=ak98d1vj Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by smtp4.osuosl.org (Postfix) with ESMTPS id D02BC40672 for ; Tue, 1 Dec 2026 19:18:27 +0000 (UTC) Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-4a214c5c4c0so117231675e9.3 for ; Tue, 01 Dec 2026 11:18:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1796152705; x=1796757505; darn=lists.u-boot-project.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:sender:from:to:cc :subject:date:message-id:reply-to:content-type; bh=Ze0s/M2p8QEDKe8nkI7d6F7AgqCtvCXMsBTTTOpcDJY=; b=ak98d1vjQppY6jNWnPQzH3M2Epn3s/iI3rCpsTR3sZ99bZJpXR5rDCabgScZaTx6D+ /NMi5/c0AibWyqxY1ooykVOTevjhRx8lSFA78xy2hw33QMYN7Je/co4S0TihM2IEp/c5 fRMVCJ3hgjrDZ+vc1FeHFDZ27qRFwrZsYGRn1jT/agTZvARO2VGBGs7HWNPN75WDqu1Z h0B6qvUwJ3p1cyjA7xhNM3NF52hLDZXqycElAFMfT6gNlbvl696CwdCIUv1u+ORt2j3g XKNdt52/4xebTXiYArohiFeE7E1SJiO55zJXvINqB+32OC3kTtKAgl69uD6qT/U0mjaJ KWVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796152705; x=1796757505; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:sender:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=Ze0s/M2p8QEDKe8nkI7d6F7AgqCtvCXMsBTTTOpcDJY=;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RqYQ3MA7 v44qvirCxfEpo1rHdS+csERFtjVAREzYJla++dMo X-Received: by 2002:a05:600c:5246:b0:4bb:60ba:49e0 with SMTP id 5b1f17b1804b1-4bb88930707mr797022985e9.26.1796152705492; Tue, 01 Dec 2026 11:18:25 -0800 (PST) Received: from [127.0.1.1] ([151.71.134.126]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4bb884ab091sm1400773815e9.11.2026.12.01.11.18.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Dec 2026 11:18:25 -0800 (PST) Sender: Massimo Pegorer From: Massimo Pegorer Date: Tue, 01 Dec 2026 20:18:22 +0100 Subject: [PATCH 5/7] mach-rockchip: Kconfig: Select xPL_BOOTROM_SUPPORT only if needed X-Archived-By: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20261201-brom-v1-5-06f157a269fd@gmail.com> References: <20261201-brom-v1-0-06f157a269fd@gmail.com> In-Reply-To: <20261201-brom-v1-0-06f157a269fd@gmail.com> To: u-boot@lists.u-boot-project.org, Quentin Schulz , Jonas Karlman Cc: Tom Rini , Ilias Apalodimas , Johan Jonker , Massimo Pegorer X-Mailer: b4 0.15.2 X-BeenThere: u-boot@lists.u-boot-project.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: U-Boot discussion List-Archive: List-Post: List-Help: List-Subscribe: , X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 If xPL_FRAMEWORK is not selected, the selection of xPL_BOOTROM_SUPPORT has no effect on the xPL build process. However, in the Kconfig layout, the xPL_BOOTROM_SUPPORT config option does not depend on xPL_FRAMEWORK one, therefore it ends up in the .config file, causing the qconfig.py tool to report it as used even if it is really not. The PX30 TPL does not use the TPL_FRAMEWORK infrastructure and returns to BootROM without relying on the TPL_BOOTROM_SUPPORT code: avoid the TPL_ROCKCHIP_BACK_TO_BROM config option to select TPL_BOOTROM_SUPPORT if TPL_FRAMEWORK is not selected. The RK3036 does not use the SPL_FRAMEWORK infrastructure and returns to BootROM without relying on the SPL_BOOTROM_SUPPORT code: avoid the SPL_ROCKCHIP_BACK_TO_BROM config option to select SPL_BOOTROM_SUPPORT if SPL_FRAMEWORK is not selected. Signed-off-by: Massimo Pegorer --- arch/arm/mach-rockchip/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-rockchip/Kconfig b/arch/arm/mach-rockchip/Kconfig index 0f8a88dbb8d..18ab21ad38e 100644 --- a/arch/arm/mach-rockchip/Kconfig +++ b/arch/arm/mach-rockchip/Kconfig @@ -604,7 +604,7 @@ config ROCKCHIP_USB_UART config SPL_ROCKCHIP_BACK_TO_BROM bool "SPL returns to boot ROM" select ROCKCHIP_BROM_HELPER - select SPL_BOOTROM_SUPPORT + select SPL_BOOTROM_SUPPORT if SPL_FRAMEWORK depends on SPL help Rockchip SoCs have the ability to load a second loader binary @@ -615,7 +615,7 @@ config TPL_ROCKCHIP_BACK_TO_BROM bool "TPL returns to boot ROM" default y select ROCKCHIP_BROM_HELPER if !ROCKCHIP_RK3066 - select TPL_BOOTROM_SUPPORT + select TPL_BOOTROM_SUPPORT if TPL_FRAMEWORK depends on TPL help Rockchip SoCs have the ability to load a second loader binary -- 2.34.1