From mboxrd@z Thu Jan 1 00:00:00 1970 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 33E58C001DF for ; Tue, 25 Jul 2023 15:54:42 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id A0CAC866F4; Tue, 25 Jul 2023 17:54:39 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.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=ti.com header.i=@ti.com header.b="eh7A8zXr"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B245286698; Tue, 25 Jul 2023 17:54:28 +0200 (CEST) Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 72ECD8638E for ; Tue, 25 Jul 2023 17:54:24 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=afd@ti.com Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 36PFsJa8061524; Tue, 25 Jul 2023 10:54:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1690300459; bh=tC+F7u7MeOWLBSIyrwYiHvTqX0Ito81Vv19g7Rh5J2U=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=eh7A8zXrUzYI5xXbxCJaj70Mze4bFafWOrbLs2SYAMYR9yRUEqC6KIpZU3imBkTwu EN8ndIM/fu8EfrSyQubiM8UStx8Ow8u0NhgOkMaUmbVCO90avAThFBMPliUTqDyrcv SS+ZETFQWMXmSonsRUaFOA6z+YHy27oIUQYQVA9s= Received: from DLEE111.ent.ti.com (dlee111.ent.ti.com [157.170.170.22]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 36PFsIHv121048 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 25 Jul 2023 10:54:18 -0500 Received: from DLEE115.ent.ti.com (157.170.170.26) by DLEE111.ent.ti.com (157.170.170.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Tue, 25 Jul 2023 10:54:18 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Tue, 25 Jul 2023 10:54:18 -0500 Received: from fllv0040.itg.ti.com (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 36PFsHlh027497; Tue, 25 Jul 2023 10:54:18 -0500 From: Andrew Davis To: Simon Glass , Tom Rini , Nishanth Menon , Vignesh Raghavendra , CC: Andrew Davis Subject: [PATCH 2/2] ti: keystone2: Move common Kconfig selections to under ARCH_KEYSTONE Date: Tue, 25 Jul 2023 10:54:16 -0500 Message-ID: <20230725155416.100678-2-afd@ti.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230725155416.100678-1-afd@ti.com> References: <20230725155416.100678-1-afd@ti.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 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 These select/imply settings are common to the whole architecture not just these boards, move these settings to the architecture config. Signed-off-by: Andrew Davis --- arch/arm/Kconfig | 5 +++++ arch/arm/mach-keystone/Kconfig | 20 -------------------- 2 files changed, 5 insertions(+), 20 deletions(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index c019e56d404..a778edb7be4 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -783,16 +783,21 @@ config ARCH_IPQ40XX config ARCH_KEYSTONE bool "TI Keystone" + select CMD_DDR3 select CMD_POWEROFF select CPU_V7A select DDR_SPD + select SPL_BOARD_INIT if SPL select SUPPORT_SPL select SYS_ARCH_TIMER select SYS_THUMB_BUILD imply CMD_MTDPARTS imply CMD_NFS imply CMD_SAVES + imply DM_I2C imply FIT + imply SOC_TI + imply TI_KEYSTONE_SERDES config ARCH_K3 bool "Texas Instruments' K3 Architecture" diff --git a/arch/arm/mach-keystone/Kconfig b/arch/arm/mach-keystone/Kconfig index 94e6fe1f228..9bf71a9b453 100644 --- a/arch/arm/mach-keystone/Kconfig +++ b/arch/arm/mach-keystone/Kconfig @@ -7,40 +7,20 @@ choice config TARGET_K2HK_EVM bool "TI Keystone 2 Kepler/Hawking EVM" select SOC_K2HK - select SPL_BOARD_INIT if SPL - select CMD_DDR3 - imply DM_I2C - imply SOC_TI - imply TI_KEYSTONE_SERDES config TARGET_K2E_EVM bool "TI Keystone 2 Edison EVM" select SOC_K2E - select SPL_BOARD_INIT if SPL - select CMD_DDR3 - imply DM_I2C - imply SOC_TI - imply TI_KEYSTONE_SERDES config TARGET_K2L_EVM bool "TI Keystone 2 Lamar EVM" select SOC_K2L - select SPL_BOARD_INIT if SPL - select CMD_DDR3 - imply DM_I2C - imply SOC_TI - imply TI_KEYSTONE_SERDES config TARGET_K2G_EVM bool "TI Keystone 2 Galileo EVM" select BOARD_LATE_INIT select SOC_K2G - select SPL_BOARD_INIT if SPL select TI_I2C_BOARD_DETECT - select CMD_DDR3 - imply DM_I2C - imply SOC_TI - imply TI_KEYSTONE_SERDES endchoice -- 2.39.2