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 0AC93606A320 for ; Tue, 1 Dec 2026 19:18:40 +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=DxyrWH53; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=V0BqaEd7 Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id D7C6781EA8; Tue, 1 Dec 2026 19:18:39 +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 eBy5nfzjsCug; Tue, 1 Dec 2026 19:18:39 +0000 (UTC) ARC-Filter: OpenARC Filter v1.3.2 smtp1.osuosl.org 5F6C281E87 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=1796152718; b=rMYCEIY57Hd30L5sOBDWcfNY6fjfwpVI1ghI3RepgmshrWNcH32eD2jXno71kVZJ491a FdzLRN2zyOpX1rCr0CMqzG9JN1pQkoWEIT7+KSq/tCtmo2zmT63RsGLouVSnVQiAKX/oO RwAp7QozLoOW4Jtd2/1UOYQucBmuq4x+hByXZioiMdxRYef+BhF0l9Owx23L6oLP4mVPE uGw/1pqPFHXK5eKk9+HSz27CuV1iXTMKsFnvquKn6nPh6/yP5QIUQz8UbXeGNAZx6c37f WDMvogOXJDlZfDGKhy0jSvt0EC8LqkbQfoQEDb/y03eH3YU5S8AtZOA4jmrf+3sCy0g== ARC-Message-Signature: i=1; d=osuosl.org; s=arc; a=rsa-sha256; c=relaxed/relaxed; t=1796152718; 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=dKazpGhR0YJT904RdqvbPgWhWiy5Uz1uTq5iGa7Ih7U=; b=fYi/r4WFb4cn64VW6UCfyP2YvJE3CD9bwyXvu/7gE06B27xNsEWPe2nMhJhsjFOu30xJ EXXNXVYAlcalItnbMC2JXiczPWa1hIBD3SgfSx3BoTioWyc2iyh5fMM2DuGIxKrdZCcJL tdUK6uZCscyDEi02X9aD0WrIVnP/aCmWa8VK107DEfQjPUi/8qfKulb1L37uOhOktVnB5 RXsWFEBLZ9y1Ku+yPYcDCfGIj3jhEvyQtPEv/kWH3IYbuGKNNGKnNa1TgPvoY0KG4yTjD zK8j851YgRBUp80Z96iDS4/RQQJ+TN18VoQ1pvxN5tE17dNevEhthKJx9/RKqn4EOWw== 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=1796152718; bh=dKazpGhR0YJT904RdqvbPgWhWiy5Uz1uTq5iGa7Ih7U=; h=From:Date:Subject:References:In-Reply-To:To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=DxyrWH53jtRfCdC6IeMyLeqYEzJK8DbGmZpDIWjdoD7HbKldZpHi/2/Fba/t7h257 t9R+9xQQyK8gICxQvVL73ETxWz84LRUXWKvRIKaQ4BbjNoiKut185b3OkH8MzZsqZu 0eib/zAnlC5IwGEfrRITnvN3akbbOfxEnuTfcXaCswOpq4h4yqYGeawlNFCZRFvfED Kr8+WcX610G0kZC9QM4igPpe+wGJa3RR3F9mwKXIj1sRiNh8I2OlNH+/9n9I4yzqlF Ma/aNP87RTmYEt25+0Up+plwUqK2nFDers/gipluwt4DByUbPjnLcwRtK9jot5ZeLA sbZWRSq4g9CnA== Received: from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142]) by smtp1.osuosl.org (Postfix) with ESMTP id 5F6C281E87; Tue, 1 Dec 2026 19:18:38 +0000 (UTC) Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by lists1.osuosl.org (Postfix) with ESMTP id C1888472 for ; Tue, 1 Dec 2026 19:18:29 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id B356740395 for ; Tue, 1 Dec 2026 19:18:29 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id NIIBLgOeV2zw for ; Tue, 1 Dec 2026 19:18:29 +0000 (UTC) ARC-Filter: OpenARC Filter v1.3.2 smtp2.osuosl.org 9B0BC4038B Authentication-Results: smtp2.osuosl.org; arc=none smtp.remote-ip="2a00:1450:4864:20::32b" Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2a00:1450:4864:20::32b; helo=mail-wm1-x32b.google.com; envelope-from=massimo.pegorer+oss@gmail.com; receiver= Authentication-Results: smtp2.osuosl.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp2.osuosl.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=V0BqaEd7 Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by smtp2.osuosl.org (Postfix) with ESMTPS id 9B0BC4038B for ; Tue, 1 Dec 2026 19:18:28 +0000 (UTC) Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-4bb64c99d2fso108295495e9.3 for ; Tue, 01 Dec 2026 11:18:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1796152706; x=1796757506; 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=dKazpGhR0YJT904RdqvbPgWhWiy5Uz1uTq5iGa7Ih7U=; b=V0BqaEd7OC+z7ncXTLMIgAj3158G0lcLNS+J5SDyMgpFcFBikoaBCJoD6Fa9sFUEjA 8AphKEBJvx0AZnxGDFgnKTeQwtzRahwhuFTyjzmBGCL7TW1B1S2i74IQUzB74B6qvYc9 fJ5rSil3YawOiSqHZ0npTIyIyY1cAVmshS0DvEUxCxZC+9NQQrkhivpvhN/kEJ8kr/iW V1IA/KoQVLYmztq9/+eyGa9enM94yYkGIse+xPytBjznBs//Gw1yeH3lCpdG3bq7Y6Hw C+YbGfwVPQ6gAIl1ccV+Oadwro+9xdm6QDXG/AQ0fFueVr7hcyn2TJsE8shSu+gP0fhR uynA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796152706; x=1796757506; 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=dKazpGhR0YJT904RdqvbPgWhWiy5Uz1uTq5iGa7Ih7U=; b=T8gv6LMuQmzC3njP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WsRKMLaA== X-Received: by 2002:a05:600c:6749:b0:4a2:1867:10e8 with SMTP id 5b1f17b1804b1-4bb8881a294mr719747585e9.25.1796152706195; Tue, 01 Dec 2026 11:18:26 -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:23 +0100 Subject: [PATCH 6/7] configs: rockchip: Drop unneeded SPL_BOOTROM_SUPPORT option X-Archived-By: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20261201-brom-v1-6-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 Configurations that do not have SPL_ROCKCHIP_BACK_TO_BROM do not need SPL_BOOTROM_SUPPORT code: in this case, the spl_boot_device() does not return BOOT_DEVICE_BOOTROM, and the board_boot_order() does not allow BOOT_DEVICE_BOOTROM to be put in the spl_boot_list in any other way. This means SPL_BOOTROM_SUPPORT code is dead code. Drop the SPL_BOOTROM_SUPPORT option from evb-px5 and from all PX30-based boards defconfigs. Commit 259afb16922e ("rockchip: px5: update defconfig for TPL/SPL") added it to the evb-px5 defconfig. The evb-px30 one has included it since its first version, which followed previous commit. Subsequently, all other PX30-based boards defconfigs probably inherited it blindly. On the other hand, if the SPL_BOOTROM_SUPPORT code is built in, it causes the SPL_ROCKCHIP_BROM_HELPER code to be needed too, or build-time errors will arise. That is, further dead code if SPL_ROCKCHIP_BACK_TO_BROM is not selected. The SPL size decreases by 142 bytes. Signed-off-by: Massimo Pegorer --- configs/evb-px30_defconfig | 1 - configs/evb-px5_defconfig | 1 - configs/firefly-px30_defconfig | 1 - configs/odroid-go2_defconfig | 1 - configs/px30-core-ctouch2-of10-px30_defconfig | 1 - configs/px30-core-ctouch2-px30_defconfig | 1 - configs/px30-core-edimm2.2-px30_defconfig | 1 - configs/ringneck-px30_defconfig | 1 - 8 files changed, 8 deletions(-) diff --git a/configs/evb-px30_defconfig b/configs/evb-px30_defconfig index afc45308bee..ae37e1f8f5f 100644 --- a/configs/evb-px30_defconfig +++ b/configs/evb-px30_defconfig @@ -23,7 +23,6 @@ CONFIG_DEFAULT_FDT_FILE="rockchip/px30-evb.dtb" CONFIG_DISPLAY_BOARDINFO_LATE=y CONFIG_MISC_INIT_R=y CONFIG_SPL_MAX_SIZE=0x20000 -CONFIG_SPL_BOOTROM_SUPPORT=y # CONFIG_SPL_RAW_IMAGE_SUPPORT is not set CONFIG_SPL_ATF=y # CONFIG_TPL_FRAMEWORK is not set diff --git a/configs/evb-px5_defconfig b/configs/evb-px5_defconfig index af00e986b64..b2c98a9e28b 100644 --- a/configs/evb-px5_defconfig +++ b/configs/evb-px5_defconfig @@ -42,7 +42,6 @@ CONFIG_DEFAULT_FDT_FILE="rockchip/rk3368-px5-evb.dtb" # CONFIG_DISPLAY_CPUINFO is not set CONFIG_DISPLAY_BOARDINFO_LATE=y CONFIG_SPL_MAX_SIZE=0x40000 -CONFIG_SPL_BOOTROM_SUPPORT=y # CONFIG_SPL_RAW_IMAGE_SUPPORT is not set CONFIG_SPL_ATF=y CONFIG_SPL_ATF_NO_PLATFORM_PARAM=y diff --git a/configs/firefly-px30_defconfig b/configs/firefly-px30_defconfig index 316f960d32e..456e28548a9 100644 --- a/configs/firefly-px30_defconfig +++ b/configs/firefly-px30_defconfig @@ -24,7 +24,6 @@ CONFIG_DEFAULT_FDT_FILE="rockchip/px30-firefly.dtb" CONFIG_DISPLAY_BOARDINFO_LATE=y CONFIG_MISC_INIT_R=y CONFIG_SPL_MAX_SIZE=0x20000 -CONFIG_SPL_BOOTROM_SUPPORT=y # CONFIG_SPL_RAW_IMAGE_SUPPORT is not set CONFIG_SPL_ATF=y # CONFIG_TPL_FRAMEWORK is not set diff --git a/configs/odroid-go2_defconfig b/configs/odroid-go2_defconfig index dfdea66cd70..c189dc74cf4 100644 --- a/configs/odroid-go2_defconfig +++ b/configs/odroid-go2_defconfig @@ -33,7 +33,6 @@ CONFIG_DEFAULT_FDT_FILE="rockchip/rk3326-odroid-go2.dtb" CONFIG_BOARD_LATE_INIT=y CONFIG_MISC_INIT_R=y CONFIG_SPL_MAX_SIZE=0x40000 -CONFIG_SPL_BOOTROM_SUPPORT=y # CONFIG_SPL_RAW_IMAGE_SUPPORT is not set CONFIG_SPL_I2C=y CONFIG_SPL_POWER=y diff --git a/configs/px30-core-ctouch2-of10-px30_defconfig b/configs/px30-core-ctouch2-of10-px30_defconfig index 06b60483841..eb20d1f0b7b 100644 --- a/configs/px30-core-ctouch2-of10-px30_defconfig +++ b/configs/px30-core-ctouch2-of10-px30_defconfig @@ -23,7 +23,6 @@ CONFIG_DEFAULT_FDT_FILE="rockchip/px30-engicam-px30-core-ctouch2-of10.dtb" CONFIG_DISPLAY_BOARDINFO_LATE=y CONFIG_MISC_INIT_R=y CONFIG_SPL_MAX_SIZE=0x20000 -CONFIG_SPL_BOOTROM_SUPPORT=y # CONFIG_SPL_RAW_IMAGE_SUPPORT is not set CONFIG_SPL_ATF=y # CONFIG_TPL_FRAMEWORK is not set diff --git a/configs/px30-core-ctouch2-px30_defconfig b/configs/px30-core-ctouch2-px30_defconfig index aa6e44f5348..18cd31479fb 100644 --- a/configs/px30-core-ctouch2-px30_defconfig +++ b/configs/px30-core-ctouch2-px30_defconfig @@ -23,7 +23,6 @@ CONFIG_DEFAULT_FDT_FILE="rockchip/px30-engicam-px30-core-ctouch2.dtb" CONFIG_DISPLAY_BOARDINFO_LATE=y CONFIG_MISC_INIT_R=y CONFIG_SPL_MAX_SIZE=0x20000 -CONFIG_SPL_BOOTROM_SUPPORT=y # CONFIG_SPL_RAW_IMAGE_SUPPORT is not set CONFIG_SPL_ATF=y # CONFIG_TPL_FRAMEWORK is not set diff --git a/configs/px30-core-edimm2.2-px30_defconfig b/configs/px30-core-edimm2.2-px30_defconfig index fcc27ce8761..f9c35bc3144 100644 --- a/configs/px30-core-edimm2.2-px30_defconfig +++ b/configs/px30-core-edimm2.2-px30_defconfig @@ -23,7 +23,6 @@ CONFIG_DEFAULT_FDT_FILE="rockchip/px30-engicam-px30-core-edimm2.2.dtb" CONFIG_DISPLAY_BOARDINFO_LATE=y CONFIG_MISC_INIT_R=y CONFIG_SPL_MAX_SIZE=0x20000 -CONFIG_SPL_BOOTROM_SUPPORT=y # CONFIG_SPL_RAW_IMAGE_SUPPORT is not set CONFIG_SPL_ATF=y # CONFIG_TPL_FRAMEWORK is not set diff --git a/configs/ringneck-px30_defconfig b/configs/ringneck-px30_defconfig index 9979b60a9ba..34e2ff06f5a 100644 --- a/configs/ringneck-px30_defconfig +++ b/configs/ringneck-px30_defconfig @@ -28,7 +28,6 @@ CONFIG_MISC_INIT_R=y CONFIG_SPL_MAX_SIZE=0x20000 CONFIG_SPL_PAD_TO=0x38000 CONFIG_SPL_BOARD_INIT=y -CONFIG_SPL_BOOTROM_SUPPORT=y # CONFIG_SPL_RAW_IMAGE_SUPPORT is not set CONFIG_SPL_SYS_MALLOC=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x200 -- 2.34.1