From patchwork Fri May 31 09:25:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Quentin Schulz X-Patchwork-Id: 44444 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 aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7364DC41513 for ; Fri, 31 May 2024 09:25:54 +0000 (UTC) Received: from smtp-bc0b.mail.infomaniak.ch (smtp-bc0b.mail.infomaniak.ch [45.157.188.11]) by mx.groups.io with SMTP id smtpd.web11.7550.1717147543810921010 for ; Fri, 31 May 2024 02:25:44 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: 0leil.net, ip: 45.157.188.11, mailfrom: foss+yocto@0leil.net) Received: from smtp-4-0001.mail.infomaniak.ch (smtp-4-0001.mail.infomaniak.ch [10.7.10.108]) by smtp-4-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4VrHm62SdvzvLs; Fri, 31 May 2024 11:25:42 +0200 (CEST) Received: from unknown by smtp-4-0001.mail.infomaniak.ch (Postfix) with ESMTPA id 4VrHm554HkzWVY; Fri, 31 May 2024 11:25:41 +0200 (CEST) From: Quentin Schulz Date: Fri, 31 May 2024 11:25:08 +0200 Subject: [PATCH meta-rockchip master scarthgap v3 01/16] rk3588/rk3588s: add SOC_FAMILY MIME-Version: 1.0 Message-Id: <20240531-rk3588-family-v3-1-629586621c5d@cherry.de> References: <20240531-rk3588-family-v3-0-629586621c5d@cherry.de> In-Reply-To: <20240531-rk3588-family-v3-0-629586621c5d@cherry.de> To: yocto-patches@lists.yoctoproject.org Cc: Quentin Schulz X-Mailer: b4 0.13.0 X-Infomaniak-Routing: alpha List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 31 May 2024 09:25:54 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/253 From: Quentin Schulz This adds an SOC_FAMILY for rk3588 and rk3588s. Note that we are NOT "require"'ing conf/machine/include/soc-family.inc so SOC_FAMILY is just another BitBake variable. If we were to require this file, it would break the MACHINEOVERRIDES order, so some more changes would be required to handle those properly. Signed-off-by: Quentin Schulz --- conf/machine/include/rk3588.inc | 1 + conf/machine/include/rk3588s.inc | 1 + 2 files changed, 2 insertions(+) diff --git a/conf/machine/include/rk3588.inc b/conf/machine/include/rk3588.inc index 34f0627..958efb2 100644 --- a/conf/machine/include/rk3588.inc +++ b/conf/machine/include/rk3588.inc @@ -1,4 +1,5 @@ MACHINEOVERRIDES =. "rk3588:" +SOC_FAMILY = "rk3588" # the rk3588s is a "stripped-down" version of the rk3588 # in the kernel's device-tree the rk3588 builds on top of the rk3588s diff --git a/conf/machine/include/rk3588s.inc b/conf/machine/include/rk3588s.inc index 878f7a8..6e700d8 100644 --- a/conf/machine/include/rk3588s.inc +++ b/conf/machine/include/rk3588s.inc @@ -1,3 +1,4 @@ +SOC_FAMILY ?= "rk3588s" MACHINEOVERRIDES =. "rk3588s:" DEFAULTTUNE ?= "cortexa76-cortexa55-crypto"