From patchwork Thu Apr 11 12:37:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sumit Garg X-Patchwork-Id: 787965 Delivered-To: patch@linaro.org Received: by 2002:adf:e6ca:0:b0:346:15ad:a2a with SMTP id y10csp201878wrm; Thu, 11 Apr 2024 05:37:41 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXqUEqV2C1rUcwwbpYV/KauHSPf94C+19MfZTQOO9Le87sPb0P7f0VDDBFsIUJvtMh8IyiCLK2vTpSVcTrI5wDk X-Google-Smtp-Source: AGHT+IE/3bSN0rlLA8h4UTjel70S1rdoSCIDmR+LII8y4eMxaJz6MdHqaR6++7Fh/GTvhr4Wku8A X-Received: by 2002:a17:907:6089:b0:a45:ad29:725c with SMTP id ht9-20020a170907608900b00a45ad29725cmr4396504ejc.62.1712839060783; Thu, 11 Apr 2024 05:37:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1712839060; cv=none; d=google.com; s=arc-20160816; b=J2YsE/pTsj0qnFZJGouX6qgsRl+K2t7teD8kxvsnJzK9TZGqH/OV62FkbgOnBB3612 IjuZT0iGoVuJVFckpuBlKuHXly5m5LY0f/cPwd3f/Dwas0nZPN542iuP13vOxoX08iD2 gnVhKkXlNOj7JORTexEQV4NwMtgB6gtHTQP9ufxIa/Oiuho+yeZoq190F8AGskhqR6v4 l7mD2qxyTwhGF8o+QXMBGqGNiAJhiPAsvZUgIJvSSnd3/4XxHZrImf8p93/71FQeDydM esvuXgxAGSgddBJYAI/8AT9SEGz3jys7Fc8LifR79xIj0jpTN2ykQX8ZoCEPNjnarZ0t QclQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=6DBZc8ZrpmQ9Qf2RjsaspwKuPUVLKAeV7lutQMDhdz4=; fh=Rgbl4ji/SVhXDnSpHM3IdCeoWsCAlSVVDFNE/dTYGHw=; b=JmcPmgsmHGYcPq0w+YZGLS1ufAYYgRVFX+KcASVIQzErfMm6iTtw1gqJ3eoTGO4w9l ij3jGia8rXFZN8cqV25RUjPLH3wPhqSryM62wXAyrGu3sz04CGz390eRrY3cw4ZiJ3Nm f38F0YwoivanUPkSGnk4vZtrVGPFI/3IPXbUmXRZx+4pWdllcVSJmLevBbqWyDV2s+6k TnSgOvNzau49/XheWu50YeBKDukS7Zr51zQ97ogrUv0Q8ZSYcQwxTauY/SfIhk1xP96i c4Gmu+rnIjBus5S1wIkjo5nAKJwGiRaymlP/XNwr9fwhwufRRPRtWxqyErIBX3qfC5Fv 7Wjg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZcsR7omN; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id kf10-20020a17090776ca00b00a51d83c1af6si731402ejc.126.2024.04.11.05.37.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Apr 2024 05:37:40 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZcsR7omN; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 951C488250; Thu, 11 Apr 2024 14:37:39 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="ZcsR7omN"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id AC2C288251; Thu, 11 Apr 2024 14:37:38 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: * X-Spam-Status: No, score=1.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_SBL_CSS,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.2 Received: from mail-pl1-x62b.google.com (mail-pl1-x62b.google.com [IPv6:2607:f8b0:4864:20::62b]) (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 82D988824A for ; Thu, 11 Apr 2024 14:37:36 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sumit.garg@linaro.org Received: by mail-pl1-x62b.google.com with SMTP id d9443c01a7336-1e3f17c6491so39692335ad.2 for ; Thu, 11 Apr 2024 05:37:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712839055; x=1713443855; darn=lists.denx.de; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=6DBZc8ZrpmQ9Qf2RjsaspwKuPUVLKAeV7lutQMDhdz4=; b=ZcsR7omN/8gHrLglpF+O9t4ZGmy138u9YAfhk4QHTEqZbuC0u1BUqeJTgPMZV9OhTa VDQBwOAUuA9qvX/gYHbw6D6iX+X87/JfbfpRtvkeDpi40/j79u5fNA2YwxtbKkq8kyTB BWistxQxHZDzuTbba8qYV274v2Y+3G635CfPgF2Bstj/4l8Ji1c0SM+VSSGhd458JQWI Mbf8N6fcdZ2Tg0GCOHzIew42o4iZPK3ndY6vp9dxs2FExnEp61k4r4apJee6VcWRJYrj E5aVB4xtqsT03vcXnxzhKcTPV4sxkc3tIbe4gTODYsWKSBhzJQGAZ7AJD3/uz9rAKFV2 eoOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712839055; x=1713443855; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=6DBZc8ZrpmQ9Qf2RjsaspwKuPUVLKAeV7lutQMDhdz4=; b=kZgDh7HQOfOU//jx76e5LL0REq9TLKJgHCIaQEK4PQA8hKjXBAgGLGESwElsStRFwK OydLaKkdyFe7EDS8YHW+bQDxgEQILrGVCsfuPhlgyagJmPgyyPTalRGxXVH+J3NHB302 yyOILeaOlqb32J9dWuFA60NOfamCEcHKL7AsCO53TZTU77fC4mc/1wxrP0+HZy/V1Emu MESTEuJ3Vkc4hZTwuUEwb+k2KaWk51v3NAnvuEElnx5AEV9OvQMYoRzw/LWIcIpqmneH kTFMNdcImGVFn+gejHRYVpLVmCVyY616nEO78ZV6bx3ftugqMpLIcgp4GrTb1R8msU/a bN6Q== X-Gm-Message-State: AOJu0YwmVeUDq+pemRj7Vx+tMGqGfSd7I3Vkup62z8Iwk1Jhpx1BeZGh UdjibSZW8MldJD5k9SE3RhMOE03UkMT/9iwhC8DIE+LqBeOZOeTKILsArxxMPzwOVySsMk/ilAA m X-Received: by 2002:a17:903:41cc:b0:1e4:434d:395b with SMTP id u12-20020a17090341cc00b001e4434d395bmr8187194ple.35.1712839054669; Thu, 11 Apr 2024 05:37:34 -0700 (PDT) Received: from sumit-X1.. ([223.178.210.92]) by smtp.gmail.com with ESMTPSA id u6-20020a170902e5c600b001dda32430b3sm1079652plf.89.2024.04.11.05.37.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Apr 2024 05:37:34 -0700 (PDT) From: Sumit Garg To: u-boot@lists.denx.de Cc: caleb.connolly@linaro.org, neil.armstrong@linaro.org, trini@konsulko.com, stephan@gerhold.net, Sumit Garg Subject: [PATCH v2] mach-snapdragon: Allow other board vendors apart from Qcom Date: Thu, 11 Apr 2024 18:07:26 +0530 Message-Id: <20240411123726.356173-1-sumit.garg@linaro.org> X-Mailer: git-send-email 2.34.1 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.8 at phobos.denx.de X-Virus-Status: Clean Qcom SoCs derived boards can come from various OEMs/ODMs and not just Qcom itself. So allow CONFIG_SYS_VENDOR to be set correctly corressponding to the actual board vendor. Suggested-by: Stephan Gerhold Reviewed-by: Caleb Connolly Signed-off-by: Sumit Garg --- Changes in v2: - Retained default vendor being "qualcomm". - Collected review tag. arch/arm/mach-snapdragon/Kconfig | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/arch/arm/mach-snapdragon/Kconfig b/arch/arm/mach-snapdragon/Kconfig index 96e44e2c549..536960b83c3 100644 --- a/arch/arm/mach-snapdragon/Kconfig +++ b/arch/arm/mach-snapdragon/Kconfig @@ -4,7 +4,12 @@ config SYS_SOC default "snapdragon" config SYS_VENDOR + string "Snapdragon board vendor" default "qualcomm" + help + Allows to specify vendor for the Snapdragon SoCs based boards. + Based on this option board// + will be used as the custom board directory. config SYS_MALLOC_F_LEN default 0x2000 @@ -19,12 +24,11 @@ config LNX_KRNL_IMG_TEXT_OFFSET_BASE default 0x80000000 config SYS_BOARD - string "Qualcomm custom board" + string "Snapdragon SoCs based board" help - The Dragonboard 410c and 820c have additional board init - code that isn't shared with other Qualcomm boards. - Based on this option board/qualcomm/ will - be used. + Allows to specify the Snapdragon SoCs based board name. + Based on this option board// + will be used as the custom board directory. config SYS_CONFIG_NAME string "Board configuration name"