From patchwork Tue Oct 18 08:04:18 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sughosh Ganu X-Patchwork-Id: 616033 Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp2476414pvb; Tue, 18 Oct 2022 01:04:47 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5Xnh4AvO1I/bL0hZrm7WATTIQ+BsGSIXdemjaFUBxMdQR/ESph9i8m6sMTGyTFCdJtpAuM X-Received: by 2002:a05:6a00:847:b0:563:b593:b685 with SMTP id q7-20020a056a00084700b00563b593b685mr1935871pfk.75.1666080286884; Tue, 18 Oct 2022 01:04:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666080286; cv=none; d=google.com; s=arc-20160816; b=ddE7IkS3is4H5TFfaQaCyBvlROp8tAGWRmlw1cDuo2hW/JfJWyvH3S5Bu721j54AVE cI8Av+DGmCkWVWjnM72lFuhgG/dAMVxabYT7PDZqZeupEBrrkRCDww8kWVLpq6tiRD0F Ec58v8fJ6tjZvo4ae/mf7pDNty1sk9tFG1X/ZszdQDNDBPn6MkR6ixuuN8m8vnrIDnZC gRUWrhoBk1JKJraml/CrWQdqysHE4xJ0xk/ZKJcpUF8QYnVQjrAlCLPnJ9JYKrXmoN5o XGwzaz0fEwcPB9qVFxvNrsXZEJ+l/NaXXska4Ipbw9XfmiVBt/XyveFE64pUpmtlfkYF QUdA== 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; bh=JSpXUajIMO7st3HwKGo5HTBZlY4RUV2m+F29z3hqEkw=; b=NFFB6nMIZyUptm3RRGPndCenxcGn016VLV7D0jMtn2t8QJAW5njf4M4Ie/5YrGmCFR 8cq8fJc6+lWPNAJeLJTxdWi8FSmsP+KqUfrDsPH1OyTAmVP5No8KMmReYUFgPMOoYvC4 V94skcf70MOmJ9s3K9xxM2Hk4NaxRoud5Mc7TEGA60kwmet5VL6RSYRPMa3DUdG4UuEN SOwmH6bfyqUbxM9gQ5frBvyy9b9qDnODclzvY7SlUtjyoUrokzw41/BOGOtAFlleP6Cc b6G+TWPBn+CR6CIE8ZUwe6M+XUAI+92DVXWBe9rzuChuG1XEXBgajATYINfogUnDVh+Z 417Q== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (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 ix10-20020a170902f80a00b0017b97ca5537si13180864plb.518.2022.10.18.01.04.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Oct 2022 01:04:46 -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; 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=fail (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 3E8A484E79; Tue, 18 Oct 2022 10:04:40 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id C365184E8B; Tue, 18 Oct 2022 10:04: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,SPF_HELO_NONE, SPF_SOFTFAIL autolearn=no autolearn_force=no version=3.4.2 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by phobos.denx.de (Postfix) with ESMTP id 8864184E6F for ; Tue, 18 Oct 2022 10:04:36 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=sughosh.ganu@linaro.org Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 06A6C175D; Tue, 18 Oct 2022 01:04:42 -0700 (PDT) Received: from a076522.blr.arm.com (a076522.blr.arm.com [10.162.16.44]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 2B8973F7D8; Tue, 18 Oct 2022 01:04:33 -0700 (PDT) From: Sughosh Ganu To: u-boot@lists.denx.de Cc: Tom Rini , Robert Marko , Robert Marko , Sughosh Ganu Subject: [PATCH] thermal: sandbox: Don't build sandbox thermal driver for sandbox64 Date: Tue, 18 Oct 2022 13:34:18 +0530 Message-Id: <20221018080418.328614-1-sughosh.ganu@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.6 at phobos.denx.de X-Virus-Status: Clean The sandbox64 defconfig does not enable the thermal uclass, but builds the thermal sandbox driver. This breaks booting the sandbox64 variant with the test device tree. Do not build the driver for the sandbox64 variant. Signed-off-by: Sughosh Ganu --- drivers/thermal/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/thermal/Makefile b/drivers/thermal/Makefile index 8acc7d20cb..04559dbaf4 100644 --- a/drivers/thermal/Makefile +++ b/drivers/thermal/Makefile @@ -4,7 +4,9 @@ # Author: Nitin Garg obj-$(CONFIG_DM_THERMAL) += thermal-uclass.o +ifeq ($(CONFIG_SANDBOX64),) obj-$(CONFIG_SANDBOX) += thermal_sandbox.o +endif obj-$(CONFIG_IMX_THERMAL) += imx_thermal.o obj-$(CONFIG_IMX_SCU_THERMAL) += imx_scu_thermal.o obj-$(CONFIG_TI_DRA7_THERMAL) += ti-bandgap.o