From patchwork Thu Jul 13 18:52:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Davis X-Patchwork-Id: 120091 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a6b2:0:b0:3e4:2afc:c1 with SMTP id c18csp2030739vqm; Thu, 13 Jul 2023 12:08:19 -0700 (PDT) X-Google-Smtp-Source: APBJJlE/P+1SkyRLLj/S0gs3rf/Wgw4nnjzbQGBS78vfRQxjG6veD6A/z9N0bYy8AsEOCOEwCRGE X-Received: by 2002:a17:906:2d1:b0:98f:9934:9b25 with SMTP id 17-20020a17090602d100b0098f99349b25mr2347248ejk.23.1689275299087; Thu, 13 Jul 2023 12:08:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689275299; cv=none; d=google.com; s=arc-20160816; b=XkO4ZbvBJHVm735eUkksBdr4AqEHcq/I0kD8z3ZeExYkvZiXpZQZyjOjlsBQGicWMI qV9R6PCJhVexea/WB0T1GYlqFuoL1EUO9gyeqxRGg8rnlaNm574fqgZp0X1SRyo4b5Aj q02Zf2uSVQ5PQ4nyaZPHGQxIejvxi+ZOH+RCUB6ZQ1r3ov1Kgz2w2VEu9q/UN7B7DCde o68RLooyr9/u00akqFRc9wBWFKZgySS1f7tF8yX6SLP93Mn3OPZV0s1jHgjbLZenhrTg V5DwxTa5kTxfuICFEFE6Ii6jFnpkl8sakroXIgXyK68I4Yxu5Ow6WwFLN/POz18NbDpv Tn7A== 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=1QYQAJtttXLm98therDCtjKtg1SKgyV01mQYwZtwYbE=; fh=GJvY88s0TEe4TQ/5xiY7as/Jx4zR2++0AFDLOrPhXzs=; b=EtogxQX4dTAukRYMFsmUhNY/pNPLfxcxia71/6NkOigJJNisrz9F8HxhNGDvuelAD/ VWn2BCAf5Lw7qY586d3ZMiavYkHQu3ioCwqfygoGPQ1V4mdNu0YbQyjaX+PlfiBoNoP1 RLOwOi3mNHba0NQ8SumchVJfvu4/su06SsmKkzfUd5pAO2Hes666EdH0G1Oq/AbpiceG 1dEZFB5jvM99UKo5t4ZbvT2UgIcSLAYe9tE4XODzExd7G/jsb2mnK7ZREsnFWpAzOCgF M77HoBP+4Vbwv/edO/F6pN7H1ji0A6XXV1r0u+sb1AqRFiP+qrjMeQz7rNP14ezrhtxX eTJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=snJ2Zb5r; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id xa8-20020a170907b9c800b00992d122db36si6693652ejc.245.2023.07.13.12.07.50; Thu, 13 Jul 2023 12:08:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=snJ2Zb5r; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232501AbjGMSx0 (ORCPT + 99 others); Thu, 13 Jul 2023 14:53:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48010 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232503AbjGMSxY (ORCPT ); Thu, 13 Jul 2023 14:53:24 -0400 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 894012D78 for ; Thu, 13 Jul 2023 11:53:12 -0700 (PDT) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 36DIqt1W021161; Thu, 13 Jul 2023 13:52:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1689274375; bh=1QYQAJtttXLm98therDCtjKtg1SKgyV01mQYwZtwYbE=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=snJ2Zb5rJXatsPQIhdJGbgh1EUvSOci4dkCf55kLWUnRghIwfFQfaXVcNS2xbImkJ PW7XDWTEc1HD97gSfZQN7TtSVsUy/j+mZHWe+BPTGe/K/kDHoXxJDNABWSDw1eiPI5 1XSUmpK4QwmzRVacLkFEBVi1p4a9AlYrX1tMnx70= Received: from DFLE113.ent.ti.com (dfle113.ent.ti.com [10.64.6.34]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 36DIqtH1109575 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 13 Jul 2023 13:52:55 -0500 Received: from DFLE103.ent.ti.com (10.64.6.24) by DFLE113.ent.ti.com (10.64.6.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 13 Jul 2023 13:52:55 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE103.ent.ti.com (10.64.6.24) 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; Thu, 13 Jul 2023 13:52:55 -0500 Received: from fllv0040.itg.ti.com (ileaxei01-snat.itg.ti.com [10.180.69.5]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 36DIqsh7080681; Thu, 13 Jul 2023 13:52:54 -0500 From: Andrew Davis To: Russell King , Kunihiko Hayashi , Masami Hiramatsu , Arnd Bergmann , Masahiro Yamada , Jonas Jensen , =?utf-8?q?Andreas_F=C3=A4rber?= CC: , , Andrew Davis Subject: [PATCH v3 2/5] ARM: mach-asm9260: Move ASM9260 support into Kconfig.platforms Date: Thu, 13 Jul 2023 13:52:49 -0500 Message-ID: <20230713185252.27797-2-afd@ti.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230713185252.27797-1-afd@ti.com> References: <20230713185252.27797-1-afd@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1771333535991165904 X-GMAIL-MSGID: 1771333535991165904 This removes the need for a dedicated Kconfig and mach directory. Signed-off-by: Andrew Davis Reviewed-by: Oleksij Rempel --- Changes from v1/v2: - Rebased on latest master 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 1c49cd5c308db..375ef11c497be 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -363,8 +363,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.