Message ID | ff497d650f6a5d5d85b981c28695380172298701.1543131714.git.mesihkilinc@gmail.com (mailing list archive) |
---|---|
State | RFC, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 85E7913AD for <patchwork-linux-arm@patchwork.kernel.org>; Sun, 25 Nov 2018 07:45:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7E3A0294F7 for <patchwork-linux-arm@patchwork.kernel.org>; Sun, 25 Nov 2018 07:45:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7214F29DB0; Sun, 25 Nov 2018 07:45:22 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 196B7294F7 for <patchwork-linux-arm@patchwork.kernel.org>; Sun, 25 Nov 2018 07:45:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=P0XzydDXbA0Rxn/k2MVIMD6ZOdVsrfxH9WUssdKnJV4=; b=TZftj+LcRBkn1hJyUBB+m0qhmT IYnaTeBhbjLrAO/JBcGVDDVl46/rs/zImOUIF0B+G/KF5wQWwqsr+Pl7vTnE6JJUjnrePz49a8y6K eleFYUYbdeMuKtpUdNZb6Jk91wTqytFqQM2OnZy0+q2Eea1ueevhG4+jfxEd4XVdnP49MYfmStHb5 z7yXpPLAzoY6B2jGtCYb07igOwWTXm8clCvkBaHvruI+8heUNTVAgvEQXOgAxTuHtS+R4VqWupmeE /e7YcGUnhV1RK+tagH68hY1nIBIHW7mG1BKovYMh4zYnCp2i0vT+rh+VJ2Arq73hVCCtYMx/3t7gq P+1s0WIw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gQp6U-0001D1-GG; Sun, 25 Nov 2018 07:45:18 +0000 Received: from mail-wm1-x343.google.com ([2a00:1450:4864:20::343]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gQp5C-0007gg-Nb for linux-arm-kernel@lists.infradead.org; Sun, 25 Nov 2018 07:44:01 +0000 Received: by mail-wm1-x343.google.com with SMTP id c126so15224834wmh.0 for <linux-arm-kernel@lists.infradead.org>; Sat, 24 Nov 2018 23:43:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=VF0eXPvxEQ8eg24ufuqCwYbc3OHuCombUgJA5hM0DFE=; b=Q3eBm/m+LTv6BE8f4JKvFY6HjFqbdHeiUwNJXMLjLzMWw/VGYydvoBAZY8ba5VCJ/X izpCImzCFAnaT6QEEzh4valdE0Erfjap8eRDbA8IFCXNM9b/3gQqIS3lKcJ40bx/kt9p MoZ44k9UJOgaRLWcBm+JRk7sf8KhYrCsY9j7mgIFJj4huid02FWyyDivjlWJnIENuA5A AuMvaSRQesAc1m7cSXXyYuIcXGSj1fR9kXCuRp23QObFD7rbZZ340pFjS+eXSGryKu8j WQVQ1FONBfz/Y6kusBN54stmbdsBFbOuH+cY1Khgs9nV7fVO7c3VWgcj0Aq13JDQnZFq uCOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=VF0eXPvxEQ8eg24ufuqCwYbc3OHuCombUgJA5hM0DFE=; b=FYYM7kjzFzDhvG7DccRlO5uzjZ4N81554ubiZm8SrNGP6PcnpbfdAYb4oboaptIe+2 ngb7I8LGHQLSRmJQUFsoFDPNpz34zx+N8ElDtT30nLMu9mzyXMj4aAOMNZrS+1Lw4Pc+ eXttVkFqmCr+q4WyWXA0eVFnuY96LdCYPVQZ2t+5semQUV/3uSzv5Gy4OWisDMKVf/+Z vLnv4mz8+FkQXIk4UjhGYNhTPexNNHho+Su8JoHd1P/7zi8wUFiiNGCfGvsfcNhY1Isu EZ+VkQR/vZR7S/sEyu5ACmC8/gn45As3XPrAIrgflyzi7cB4PZxTbb6Tg2CifXjY/vPc PHoA== X-Gm-Message-State: AA+aEWbO1OJtneKYValjrffDb8ITuTgTd7w1o+X71bRt17BsfPxnrtaw vV8WIHSiOAaRBdPZHb+v3+I= X-Google-Smtp-Source: AFSGD/V5fpvPtNuj0rgOKe0owqUEC3XiKuApD3Hmhvdebdxno53sS2N7GEzD0I/xMSQN/BOqwa05yw== X-Received: by 2002:a1c:588a:: with SMTP id m132-v6mr3776347wmb.85.1543131827071; Sat, 24 Nov 2018 23:43:47 -0800 (PST) Received: from localhost.localdomain ([185.219.177.224]) by smtp.gmail.com with ESMTPSA id 6-v6sm12296780wmg.19.2018.11.24.23.43.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 24 Nov 2018 23:43:46 -0800 (PST) From: Mesih Kilinc <mesihkilinc@gmail.com> To: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org, linux-sunxi@googlegroups.com Subject: [RFC PATCH v4 01/17] ARM: Check ARCH_MULTI_V7 to differentiate ARMv5/v7 Allwinner SoCs Date: Sun, 25 Nov 2018 10:43:04 +0300 Message-Id: <ff497d650f6a5d5d85b981c28695380172298701.1543131714.git.mesihkilinc@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <cover.1543131714.git.mesihkilinc@gmail.com> References: <cover.1543131714.git.mesihkilinc@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181124_234358_762604_2B5F012D X-CRM114-Status: GOOD ( 12.88 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: Mesih Kilinc <mesihkilinc@gmail.com>, Julian Calaby <julian.calaby@gmail.com>, Linus Walleij <linus.walleij@linaro.org>, Daniel Lezcano <daniel.lezcano@linaro.org>, Russell King <linux@armlinux.org.uk>, Marc Zyngier <marc.zyngier@arm.com>, Chen-Yu Tsai <wens@csie.org>, Rob Herring <robh+dt@kernel.org>, Maxime Ripard <maxime.ripard@free-electrons.com>, Icenowy Zheng <icenowy@aosc.io> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
[RFC,v4,01/17] ARM: Check ARCH_MULTI_V7 to differentiate ARMv5/v7 Allwinner SoCs
|
expand
|
diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig index d9c8ecf..185c573 100644 --- a/arch/arm/mach-sunxi/Kconfig +++ b/arch/arm/mach-sunxi/Kconfig @@ -9,9 +9,13 @@ menuconfig ARCH_SUNXI select PM_OPP select SUN4I_TIMER select RESET_CONTROLLER + help + Support for Allwinner ARM-based family of processors if ARCH_SUNXI +if ARCH_MULTI_V7 + config MACH_SUN4I bool "Allwinner A10 (sun4i) SoCs support" default ARCH_SUNXI @@ -56,3 +60,5 @@ config ARCH_SUNXI_MC_SMP select ARM_CPU_SUSPEND endif + +endif
Allwinner also has some ARMv5 SoCs. In order to add support for them, check ARM_MULTI_V7 before enabling ARMv7 SoC's. Add help text for ARCH_SUNXI menuconfig. Signed-off-by: Mesih Kilinc <mesihkilinc@gmail.com> --- arch/arm/mach-sunxi/Kconfig | 6 ++++++ 1 file changed, 6 insertions(+)