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 phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D74B4C4332F for ; Wed, 14 Dec 2022 17:52:02 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 70D938545D; Wed, 14 Dec 2022 18:51:44 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=edgeble.ai 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=edgeble-ai.20210112.gappssmtp.com header.i=@edgeble-ai.20210112.gappssmtp.com header.b="lpH7S/xY"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4D15085415; Wed, 14 Dec 2022 18:51:37 +0100 (CET) Received: from mail-pj1-x1029.google.com (mail-pj1-x1029.google.com [IPv6:2607:f8b0:4864:20::1029]) (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 AC5E185415 for ; Wed, 14 Dec 2022 18:51:29 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=edgeble.ai Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=jagan@edgeble.ai Received: by mail-pj1-x1029.google.com with SMTP id q17-20020a17090aa01100b002194cba32e9so7994500pjp.1 for ; Wed, 14 Dec 2022 09:51:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=edgeble-ai.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=pC2tonemf7TXQrFqyuFpDFktHjezvg3A49ibdmwdC94=; b=lpH7S/xYskfQtx4CYZE0xfFw+szG3w6gLuEC4xMPPSGnfABd1Aa6Lbgs68ywKejiKU 8m+J2b3Uwsnmku2QQ5r9shwe1bDhy8icg5tQ0Qg1HxxmLYjCb6NiGlbfvSENNNZ/sMdm xG0e/G3Rx0PwynDlqNp8rT7pODGLbyzmf0RLJ51sPOxAJp3POQLm8gdY4CcRg3nwjIgz 5nki8KhLBP/SB65nV0KWHcYmWeFyWX+2GwNUbUcstdx/ZP3k5eJvCUop6DLLNa4sIf94 3kXOrpv6HOQqr40i+64M6ejzlWpQDBacgAAQykzsxv4uFTng5n2hBfFGmn6fh020zvWq loSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=pC2tonemf7TXQrFqyuFpDFktHjezvg3A49ibdmwdC94=; b=NyQfds5uzfq4ceb0Rh9s0IUVJSt4m7ctpOO4uOfJH6hj2yYKS4ogfXSsMrkj4sqTWh l7CWHgkRNLq/A4x9WZjjzgauMAWhd2FRfwTyuryvyRMJB4l2VZABWhDeUm+0p7pFtCGs iU4B51WsqMdafWAHrvdATu/BWt1EhZzPJnzDJKiB4oLR292aGjhlCKeoMWthkD7hdCRk kFM8XcpfzxFZHr6pBh6dvLjrzj26rnHbmtVdCw7RjgBH5uXKoeKJD54qjgBsrCfh/LEN +835BjQLFmqt+qP3UkZi8euChL0fSDkLETQntswZlMv3fqTM374sz+8cSOJXCQT8v06h Ezjg== X-Gm-Message-State: ANoB5pn0u9ebMmDwcCMGCgF/WWzFWaeBEsuOlmDXvK5MtQDByXZ/q+5l BFYE+vbgyuc3HzA0HgpbfNPfeaAtEcXQL3K14/AnGg== X-Google-Smtp-Source: AA0mqf7a/VrhM1N7+6b3Wo5gUhBLtiwHKReVSN0z3f1bwiH+KjXi1ZKRTE7Qormq3p9g/JiS3S/qSQ== X-Received: by 2002:a17:903:324a:b0:189:854a:fff3 with SMTP id ji10-20020a170903324a00b00189854afff3mr25186199plb.23.1671040287955; Wed, 14 Dec 2022 09:51:27 -0800 (PST) Received: from localhost.localdomain ([2405:201:c00a:a809:5e03:faf:846e:352d]) by smtp.gmail.com with ESMTPSA id c8-20020a170903234800b00186748fe6ccsm2149442plh.214.2022.12.14.09.51.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Dec 2022 09:51:27 -0800 (PST) From: Jagan Teki To: Kever Yang , Simon Glass , Philipp Tomsich Cc: u-boot@lists.denx.de, Jagan Teki Subject: [PATCH v4 01/25] ram: Mark ram-uclass depend on TPL_DM or SPL_DM Date: Wed, 14 Dec 2022 23:20:47 +0530 Message-Id: <20221214175111.477134-2-jagan@edgeble.ai> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221214175111.477134-1-jagan@edgeble.ai> References: <20221214175111.477134-1-jagan@edgeble.ai> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 ram-uclass is building irrespective of whether TPL_DM or SPL_DM is enabled. So control the ram uclass build based on TPL/SPL_DM. Signed-off-by: Jagan Teki Reviewed-by: Kever Yang --- Changes for v4: - none Changes for v3: - collect Kever r-b Changes for v2: - none drivers/ram/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/ram/Makefile b/drivers/ram/Makefile index 5a39611349..83948e2c43 100644 --- a/drivers/ram/Makefile +++ b/drivers/ram/Makefile @@ -3,7 +3,7 @@ # Copyright (c) 2015 Google, Inc # Wolfgang Denk, DENX Software Engineering, wd@denx.de. # -obj-$(CONFIG_RAM) += ram-uclass.o +obj-$(CONFIG_$(SPL_TPL_)DM) += ram-uclass.o obj-$(CONFIG_MPC83XX_SDRAM) += mpc83xx_sdram.o obj-$(CONFIG_SANDBOX) += sandbox_ram.o obj-$(CONFIG_STM32MP1_DDR) += stm32mp1/ -- 2.25.1