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 B6E5CC433EF for ; Wed, 15 Jun 2022 16:05:49 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id AD64E84545; Wed, 15 Jun 2022 18:04:26 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="Om9FBh3e"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1454184520; Wed, 15 Jun 2022 18:04:12 +0200 (CEST) Received: from mail-qv1-xf31.google.com (mail-qv1-xf31.google.com [IPv6:2607:f8b0:4864:20::f31]) (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 D8E3084455 for ; Wed, 15 Jun 2022 18:04:08 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qv1-xf31.google.com with SMTP id q104so9116094qvq.8 for ; Wed, 15 Jun 2022 09:04:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=dPpYwJ42sgjsZDKki9ax2GA+L7ZysG/CvOiZD+cOte8=; b=Om9FBh3el12XviZAdp2uiVHLOACSxPHwm4D4XhWCfX23+SFDiFMhYOe3gO1XFf8iAo 2GBVZCWR4Blzi6AqgdDIyt4rB8NVzSx0a9cqIi2lVTanyqs0kkHjtkP8jbP5Jt7RtCbV h/hLKZQBF2KiCYC8xMGpuyunqkjochWJOFk8I= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=dPpYwJ42sgjsZDKki9ax2GA+L7ZysG/CvOiZD+cOte8=; b=GlIWNr3FiVeoseMYk8Ex66WfOvNa9BQgblVvr3MM2qZAGzO3BiKBmmpQ+X5wmjbFTi Z7m91arc/vvUFKd0WOCpa517cl9NFulsFoA2u/JKKxF/B/Dq2xzSQE1UZIRzEqnrlfRE Nl/H/G0rHXmH66Y7tOalMXMb/b952cetW6xiBLGSNDTFCgQMtJwJLb5+7RywiH8LaPJG IEuKxN4TUPDR2W+uXkdYmBgtrJJd/lsaOdiN9hfnxWVaqLT5VVmCHmqIQll6kYqwl9+w BGPI5hBmX4iaHtPYQScVS97GgIS4EFed5G267hmqtXbkx87PaBHt+MZ/H3y0ThTbTLgN VeLQ== X-Gm-Message-State: AJIora8Fhzp4/l4XqruoM/6bLR+DauPa8rP2JOKoSlQU9wBitTtGAWQR HxgzYGxFJp18z8Yot6ucjkfhBxJ5lL5azg== X-Google-Smtp-Source: AGRyM1sH73EUCk55np4cq82UJrODgVSKfTM/tpnMSqeOyulOSPikAlzMT4l0HHLYSvdI08Si4E7Sdw== X-Received: by 2002:ad4:5de5:0:b0:468:e119:4f8a with SMTP id jn5-20020ad45de5000000b00468e1194f8amr186822qvb.93.1655309047269; Wed, 15 Jun 2022 09:04:07 -0700 (PDT) Received: from bill-the-cat.lan (cpe-65-184-195-139.ec.res.rr.com. [65.184.195.139]) by smtp.gmail.com with ESMTPSA id h9-20020a05620a284900b006a6d365e9b1sm12240069qkp.57.2022.06.15.09.04.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jun 2022 09:04:06 -0700 (PDT) From: Tom Rini To: u-boot@lists.denx.de Subject: [PATCH 11/13] Convert CONFIG_DP_DDR_DIMM_SLOTS_PER_CTLR to Kconfig Date: Wed, 15 Jun 2022 12:03:53 -0400 Message-Id: <20220615160355.1519592-11-trini@konsulko.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220615160355.1519592-1-trini@konsulko.com> References: <20220615160355.1519592-1-trini@konsulko.com> 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.5 at phobos.denx.de X-Virus-Status: Clean This converts the following to Kconfig: CONFIG_DP_DDR_DIMM_SLOTS_PER_CTLR Signed-off-by: Tom Rini --- arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 5 +++++ include/configs/ls2080aqds.h | 3 --- include/configs/ls2080ardb.h | 3 --- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/arch/arm/cpu/armv8/fsl-layerscape/Kconfig b/arch/arm/cpu/armv8/fsl-layerscape/Kconfig index 5a809b46118c..3ea023d36f9b 100644 --- a/arch/arm/cpu/armv8/fsl-layerscape/Kconfig +++ b/arch/arm/cpu/armv8/fsl-layerscape/Kconfig @@ -511,6 +511,11 @@ config DP_DDR_CTRL depends on SYS_FSL_HAS_DP_DDR default 2 if ARCH_LS2080A +config DP_DDR_DIMM_SLOTS_PER_CTLR + int + depends on SYS_FSL_HAS_DP_DDR + default 1 if ARCH_LS2080A + config DP_DDR_NUM_CTRLS int depends on SYS_FSL_HAS_DP_DDR diff --git a/include/configs/ls2080aqds.h b/include/configs/ls2080aqds.h index 21ca4afa51ce..96da4ab2ec08 100644 --- a/include/configs/ls2080aqds.h +++ b/include/configs/ls2080aqds.h @@ -25,9 +25,6 @@ #define SPD_EEPROM_ADDRESS6 0x56 /* dummy address */ #define SPD_EEPROM_ADDRESS SPD_EEPROM_ADDRESS1 #define CONFIG_SYS_SPD_BUS_NUM 0 /* SPD on I2C bus 0 */ -#ifdef CONFIG_SYS_FSL_HAS_DP_DDR -#define CONFIG_DP_DDR_DIMM_SLOTS_PER_CTLR 1 -#endif #define CONFIG_SYS_NOR0_CSPR_EXT (0x0) #define CONFIG_SYS_NOR_AMASK IFC_AMASK(128*1024*1024) diff --git a/include/configs/ls2080ardb.h b/include/configs/ls2080ardb.h index 43bcc5a9b11c..835fff4bc60b 100644 --- a/include/configs/ls2080ardb.h +++ b/include/configs/ls2080ardb.h @@ -30,9 +30,6 @@ #define SPD_EEPROM_ADDRESS6 0x56 /* dummy address */ #define SPD_EEPROM_ADDRESS SPD_EEPROM_ADDRESS1 #define CONFIG_SYS_SPD_BUS_NUM 0 /* SPD on I2C bus 0 */ -#ifdef CONFIG_SYS_FSL_HAS_DP_DDR -#define CONFIG_DP_DDR_DIMM_SLOTS_PER_CTLR 1 -#endif #if !defined(CONFIG_FSL_QSPI) || defined(CONFIG_TFABOOT) -- 2.25.1