From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 06 Jan 2023 12:40:01 +0100 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1pDl4s-003Q5M-6V for lore@lore.pengutronix.de; Fri, 06 Jan 2023 12:40:01 +0100 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1pDl4q-0008Nk-5Y; Fri, 06 Jan 2023 12:40:00 +0100 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pDl4d-0008Nc-SX for distrokit@pengutronix.de; Fri, 06 Jan 2023 12:39:47 +0100 Received: from [2a0a:edc0:0:1101:1d::54] (helo=dude05.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1pDl4d-004CBR-8U for distrokit@pengutronix.de; Fri, 06 Jan 2023 12:39:47 +0100 Received: from mol by dude05.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1pDl4c-007aAL-Ds for distrokit@pengutronix.de; Fri, 06 Jan 2023 12:39:46 +0100 From: Michael Olbrich To: distrokit@pengutronix.de Date: Fri, 6 Jan 2023 12:39:46 +0100 Message-Id: <20230106113946.1775158-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20221212190606.GG30335@pengutronix.de> References: <20221212190606.GG30335@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [DistroKit] [PATCH] blspec-rpi4: move menu file to platforms/ X-BeenThere: distrokit@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: DistroKit Mailinglist List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "DistroKit" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: distrokit-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false The rule file is toplevel in rules/ so without this "ptxdist lint" reports for all other platforms: [...] Checking kconfig symbols in rule files ... Undefined symbol PTXCONF_BLSPEC_RPI4 used in 'DistroKit/rules/blspec-rpi4.make'. [...] Add some dependencies so it can only be selected on platforms where it makes sense and disable it on v8a for now. Signed-off-by: Michael Olbrich --- With this it can be enabled on v8a in the future but no other platform will show it in the menu. Michael configs/platform-v7a/platforms/blspec-rpi4.in | 5 ----- configs/platform-v8a/platformconfig | 1 + platforms/blspec-rpi4.in | 7 +++++++ 3 files changed, 8 insertions(+), 5 deletions(-) delete mode 100644 configs/platform-v7a/platforms/blspec-rpi4.in create mode 100644 platforms/blspec-rpi4.in diff --git a/configs/platform-v7a/platforms/blspec-rpi4.in b/configs/platform-v7a/platforms/blspec-rpi4.in deleted file mode 100644 index 0c0ce14f47bf..000000000000 --- a/configs/platform-v7a/platforms/blspec-rpi4.in +++ /dev/null @@ -1,5 +0,0 @@ -## SECTION=blspec - -config BLSPEC_RPI4 - tristate - prompt "/loader/entries/rpi4*.conf bootloader spec entries" diff --git a/configs/platform-v8a/platformconfig b/configs/platform-v8a/platformconfig index 36708d6aa47b..785a1a22e069 100644 --- a/configs/platform-v8a/platformconfig +++ b/configs/platform-v8a/platformconfig @@ -194,6 +194,7 @@ PTXCONF_BLSPEC_IMX8MM_EVK=y PTXCONF_BLSPEC_IMX8MP_EVK=y PTXCONF_BLSPEC_IMX8MQ_EVK=y PTXCONF_BLSPEC_ROCK3A=y +# PTXCONF_BLSPEC_RPI4 is not set # end of bootloader spec entries # diff --git a/platforms/blspec-rpi4.in b/platforms/blspec-rpi4.in new file mode 100644 index 000000000000..aa3e7aff5ae3 --- /dev/null +++ b/platforms/blspec-rpi4.in @@ -0,0 +1,7 @@ +## SECTION=blspec + +config BLSPEC_RPI4 + tristate + # make sure it's only visible on platforms, where it makes sense + depends on ARCH_ARM && ARCH_ARMV7_NEON || ARCH_ARM64 + prompt "/loader/entries/rpi4*.conf bootloader spec entries" -- 2.30.2