From patchwork Mon Nov 13 14:43:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Davis X-Patchwork-Id: 164518 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b909:0:b0:403:3b70:6f57 with SMTP id t9csp1249663vqg; Mon, 13 Nov 2023 06:45:23 -0800 (PST) X-Google-Smtp-Source: AGHT+IGObh4P5JRh9aIIcq/XlMiQKv5Us9UDtDQaiL+pz/F7PVDjO+z329hVI0Zs6kIt44ddZiHU X-Received: by 2002:a17:902:f712:b0:1cc:4a70:1373 with SMTP id h18-20020a170902f71200b001cc4a701373mr6765878plo.58.1699886723296; Mon, 13 Nov 2023 06:45:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699886723; cv=none; d=google.com; s=arc-20160816; b=N8dfPVOrIrs1WhZl30TVAEzHe4Wvc/Hqli2Ir4S3suVqJrL6p2nVNKrAB80KPOuWcw F9ZRqSNgmBBoVuLkzPEkFV6gIUGQ2g691jJeAV2ovDBsYcsgLliMIb24kxIYVPmZqLTH fjZH/92OaEfx6AonmosQVjVTuqXeHQBiTPdHOB3RScUxRUgIy6HtszZ9RirdAd+OSqPN ru0sDS7i5Po1j+qFS2yc5Ra6OGWYDR+5JUxuwL1RLmJpwIMsVh6Eb82rAzhFFVhZtfEv x2IPJu+dIKiyXP6YAQ/CihJzM51Ftwp+vSA8vzUr95h7V2DpkONS+HDfxuAJ03X3HFi7 8YJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=VIPf4+jBI0NfFKoZRIv6YI/78X0LhixEVLWaz3GvouQ=; fh=K3zJQyTKBLAkBucIcWM7aB9VmIORN+yDy3I0HaPGyfk=; b=mPPr4258ApkoDz/lvIa/zhLOyq8zSVcOYLHN9NdboNFS0NKVLCZJnzjzKi+aiiJAH4 EzbmRBO7Sub3nsESGBN0WjZFFprmvAB4WkaI2+H+QiUKspMaBR9A3ANo8MCSN9lMNwPh 7p5UGF5y+lEzLgJVN5eIUpyhGtktV3CQQ4PuTzEX4DOAXPTyEZ6pAaumEVz6kdCP3aVQ 6uvCA+R4+iF9HR9/XW42B/XmXrzEaMYoDGFFqoqaPR3DIz00DDxQLE/+6ZdIWzUlL/Gu 6d6H6/nHW7wE/kDvlD5Z5XKT8k4gt+Lu4wQ42ysonri4sGZvGghZiBWswwrU1eGCw+fF V7IA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=OLeTOSs2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id l18-20020a170903121200b001c61acd5be6si6108286plh.209.2023.11.13.06.45.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Nov 2023 06:45:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=OLeTOSs2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id DD9C180698E7; Mon, 13 Nov 2023 06:45:07 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230422AbjKMOoq (ORCPT + 29 others); Mon, 13 Nov 2023 09:44:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56152 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229626AbjKMOon (ORCPT ); Mon, 13 Nov 2023 09:44:43 -0500 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2C5431724 for ; Mon, 13 Nov 2023 06:44:40 -0800 (PST) Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3ADEi2fP129619; Mon, 13 Nov 2023 08:44:02 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1699886642; bh=VIPf4+jBI0NfFKoZRIv6YI/78X0LhixEVLWaz3GvouQ=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=OLeTOSs2S4TM92QxtrX8RpCGYJ9Dgj433Nvs4OvzsBu2C0qTDcIyCYy3IG3xy2l6S o0qm93pRGpy+Th5ZMsaq/2DVmCWT8YEfmL0bgpuOHb+cBv4VPjZxujtSzXTb+0DOpH mjjRyP+PmZJe3tn0TFq8Dm8zWR5dVxeyB/6khpeU= Received: from DFLE115.ent.ti.com (dfle115.ent.ti.com [10.64.6.36]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3ADEi2wr094048 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 13 Nov 2023 08:44:02 -0600 Received: from DFLE109.ent.ti.com (10.64.6.30) by DFLE115.ent.ti.com (10.64.6.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Mon, 13 Nov 2023 08:44:02 -0600 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE109.ent.ti.com (10.64.6.30) 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; Mon, 13 Nov 2023 08:44:02 -0600 Received: from fllv0040.itg.ti.com (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 3ADEi0tu065232; Mon, 13 Nov 2023 08:44:02 -0600 From: Andrew Davis To: Russell King , Baruch Siach , Vladimir Zapolskiy , Kunihiko Hayashi , Masami Hiramatsu , Arnd Bergmann , Geert Uytterhoeven , Linus Walleij CC: , , Andrew Davis Subject: [PATCH v3 2/9] ARM: mach-asm9260: Move ASM9260 support into Kconfig.platforms Date: Mon, 13 Nov 2023 08:43:52 -0600 Message-ID: <20231113144359.174140-3-afd@ti.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231113144359.174140-1-afd@ti.com> References: <20231113144359.174140-1-afd@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Mon, 13 Nov 2023 06:45:08 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1782460420847262599 X-GMAIL-MSGID: 1782460420847262599 This removes the need for a dedicated Kconfig and mach directory. Signed-off-by: Andrew Davis Reviewed-by: Oleksij Rempel --- arch/arm/Kconfig | 2 -- arch/arm/Kconfig.platforms | 9 +++++++++ arch/arm/mach-asm9260/Kconfig | 9 --------- 3 files changed, 9 insertions(+), 11 deletions(-) delete mode 100644 arch/arm/mach-asm9260/Kconfig diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index c39e3db466897..b31489f05ba86 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -364,8 +364,6 @@ source "arch/arm/mach-alpine/Kconfig" source "arch/arm/mach-artpec/Kconfig" -source "arch/arm/mach-asm9260/Kconfig" - source "arch/arm/mach-aspeed/Kconfig" source "arch/arm/mach-at91/Kconfig" diff --git a/arch/arm/Kconfig.platforms b/arch/arm/Kconfig.platforms index ed1f6da11e243..b80a5b49d276d 100644 --- a/arch/arm/Kconfig.platforms +++ b/arch/arm/Kconfig.platforms @@ -66,3 +66,12 @@ config ARCH_VIRT select ARM_GIC_V3_ITS if PCI select ARM_PSCI select HAVE_ARM_ARCH_TIMER + +config MACH_ASM9260 + bool "Alphascale ASM9260" + depends on ARCH_MULTI_V5 + depends on CPU_LITTLE_ENDIAN + select CPU_ARM926T + select ASM9260_TIMER + help + Support for Alphascale ASM9260 based platform. diff --git a/arch/arm/mach-asm9260/Kconfig b/arch/arm/mach-asm9260/Kconfig deleted file mode 100644 index 74e0f61c74c88..0000000000000 --- a/arch/arm/mach-asm9260/Kconfig +++ /dev/null @@ -1,9 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0-only -config MACH_ASM9260 - bool "Alphascale ASM9260" - depends on ARCH_MULTI_V5 - depends on CPU_LITTLE_ENDIAN - select CPU_ARM926T - select ASM9260_TIMER - help - Support for Alphascale ASM9260 based platform.