Received: by 2002:ab2:2441:0:b0:1f3:1f8c:d0c6 with SMTP id k1csp57873lqe; Wed, 3 Apr 2024 22:18:20 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU5E3q1PdLow2eRsUIwOfBLR0jG4bTxTGtjDVNFB578YiAX6FsgF+PJNToVAbfagquIJ90Um2aV5BsEpfFSKtOHdStQu44yaAEyd0IaiQ== X-Google-Smtp-Source: AGHT+IEK9vEtdfUjxaQttl62dCDDOiFhej9j6r9IsSui8sTHWsYv/OnuBWHfB1vkAc1yh5PpyMsl X-Received: by 2002:a17:906:1c8c:b0:a4d:b960:7b8d with SMTP id g12-20020a1709061c8c00b00a4db9607b8dmr770613ejh.18.1712207900429; Wed, 03 Apr 2024 22:18:20 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712207900; cv=pass; d=google.com; s=arc-20160816; b=oGR9+0ewMw7KmC943JnzoWHE6Uh0bZlnKprZRLSdfySb5F/7Uugmw4yaGMUd3bFZDy bXXm3lpYDliqR2d2D33dWg3CaQ2OvYLlfEFiXVVMU04F4BBS5+TzSHKw5zhn/mSk+EQI mmuRhN6tC2WMqoBeH7DwbdG0LUBIs0AnwDGjflGm6u5iX5mBGhdzj3UrfFYevjteYglY 1WXOaFugpIZEQeevNriy63HXCemgA0H1N7vkPtxChX9gv+xRH8HgVim9K7Jr64o2K2Be Lr84OXudRWXxHBgkfJ/luOoOklSlZQxAk3HxMSSUJI8B/8rfzf/JV3TdfZOxV2WKhHH7 uwMg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from; bh=f1jWYBdxQzpcAQ5uMbcLJbfw1Ffid9F4S25CZYbrBa0=; fh=v4XjIS8ZnkfRSzpdvZ0kX2qBiNaW+cViNlbs+XMLZ44=; b=erAmZxO2a31EA7klXvvd30afgRk9n0/QmifdbuR0zbiji7mxt+MDwsMdQl/dsauwCq kZjovLDrRY+8lVbiw+IaL90AdLb3kRgxj1s/ObhlewegN3slbB/eyaMuhwjq6OH5/Ty5 Yq1hFA9PUYdYOQnUan8O9kxlhvxccwSUO5pYGMRO2Rko5rqGgqtCdLKJY0t3Tm7RfeDe nUYH7rb5x5jeFIBDePiKvpKWQinZ15O8EpTvusw5MG1hjnPvlDGEYwra6zTikt+JxThA MtYEldRkzojKfRYps9omfFv1Mb92rSZ5Ldinr6uaJR3kYIRxQrH4uNTm6ii+Sd7eH5Zv a9Zw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-130913-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-130913-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id xa24-20020a170907b9d800b00a51879f328dsi345834ejc.733.2024.04.03.22.18.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Apr 2024 22:18:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-130913-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-130913-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-130913-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id DB0411F2775D for ; Thu, 4 Apr 2024 05:17:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 91B476BFDD; Thu, 4 Apr 2024 05:15:01 +0000 (UTC) Received: from sakura.ysato.name (ik1-413-38519.vs.sakura.ne.jp [153.127.30.23]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 23A97535CF; Thu, 4 Apr 2024 05:14:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=153.127.30.23 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712207700; cv=none; b=AM0Vi8Q2Ss8eAyZJjLHEp8s5HzjfyCNpu/LuYetNrkOnUXLpXqfm21wDWLXJ6ftelc6lydfEU0j+3v8634iho9VLZ2jkTqO70WD5Z1ejhLOWuYReyiS6lNulUd4B5HqdnVMNS6KCoOSjS+sSno0SZoyS2FNugbyA28j3swG3EPA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712207700; c=relaxed/simple; bh=Mlar4k36vsGupOpHsgffs9x7mHFF2T26ers8FFl0RyI=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=AifWdlM+H2Ap4YhVvZ4YTl4gQd4WDGGP1csNzUQgUVJ6y8ZYhSbap9Yyo2fmtE67D8yk+4pmXOnKZrsDV6s8z4ArqRgXqSK7+EFOLb8ZkExEFWY9Zah8rKghw7SNp9h8ZMa1mEGz6hX1yzkM9PG8Y93GNAi459Ve7KjSVu8LBgw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=users.sourceforge.jp; spf=fail smtp.mailfrom=users.sourceforge.jp; arc=none smtp.client-ip=153.127.30.23 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=users.sourceforge.jp Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=users.sourceforge.jp Received: from SIOS1075.ysato.name (al128006.dynamic.ppp.asahi-net.or.jp [111.234.128.6]) by sakura.ysato.name (Postfix) with ESMTPSA id 47E951C0DCB; Thu, 4 Apr 2024 14:14:56 +0900 (JST) From: Yoshinori Sato To: linux-sh@vger.kernel.org Cc: Yoshinori Sato , Damien Le Moal , Niklas Cassel , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Geert Uytterhoeven , Michael Turquette , Stephen Boyd , David Airlie , Daniel Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Thomas Gleixner , Bjorn Helgaas , Lorenzo Pieralisi , =?UTF-8?q?Krzysztof=20Wilczy=C5=84ski?= , Greg Kroah-Hartman , Jiri Slaby , Magnus Damm , Daniel Lezcano , Rich Felker , John Paul Adrian Glaubitz , Lee Jones , Helge Deller , Heiko Stuebner , Shawn Guo , Sebastian Reichel , Chris Morgan , Linus Walleij , Arnd Bergmann , David Rientjes , Hyeonggon Yoo <42.hyeyoo@gmail.com>, Vlastimil Babka , Baoquan He , Andrew Morton , Guenter Roeck , Kefeng Wang , Stephen Rothwell , Javier Martinez Canillas , Guo Ren , Azeem Shaikh , Max Filippov , Jonathan Corbet , Jacky Huang , Herve Codina , Manikanta Guntupalli , Anup Patel , Biju Das , =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= , Sam Ravnborg , Sergey Shtylyov , Laurent Pinchart , linux-ide@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-clk@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-pci@vger.kernel.org, linux-serial@vger.kernel.org, linux-fbdev@vger.kernel.org Subject: [RESEND v7 02/37] sh: Kconfig unified OF supported targets. Date: Thu, 4 Apr 2024 14:14:13 +0900 Message-Id: X-Mailer: git-send-email 2.39.2 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Targets that support OF should be treated as one board. Signed-off-by: Yoshinori Sato --- arch/sh/Kconfig | 1 + arch/sh/boards/Kconfig | 23 +++++++++++++---------- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig index 2ad3e29f0ebe..cbf48e69ad74 100644 --- a/arch/sh/Kconfig +++ b/arch/sh/Kconfig @@ -711,6 +711,7 @@ choice prompt "Kernel command line" optional default CMDLINE_OVERWRITE + depends on !OF || USE_BUILTIN_DTB help Setting this option allows the kernel command line arguments to be set. diff --git a/arch/sh/boards/Kconfig b/arch/sh/boards/Kconfig index 109bec4dad94..46387fd040ad 100644 --- a/arch/sh/boards/Kconfig +++ b/arch/sh/boards/Kconfig @@ -19,16 +19,9 @@ config SH_DEVICE_TREE select TIMER_OF select COMMON_CLK select GENERIC_CALIBRATE_DELAY - -config SH_JCORE_SOC - bool "J-Core SoC" - select SH_DEVICE_TREE - select CLKSRC_JCORE_PIT - select JCORE_AIC - depends on CPU_J2 - help - Select this option to include drivers core components of the - J-Core SoC, including interrupt controllers and timers. + select GENERIC_IRQ_CHIP + select SYS_SUPPORTS_PCI + select GENERIC_PCI_IOMAP if PCI config SH_SOLUTION_ENGINE bool "SolutionEngine" @@ -293,6 +286,7 @@ config SH_LANDISK bool "LANDISK" depends on CPU_SUBTYPE_SH7751R select HAVE_PCI + select SYS_SUPPORTS_PCI help I-O DATA DEVICE, INC. "LANDISK Series" support. @@ -369,6 +363,15 @@ config SH_APSH4AD0A help Select AP-SH4AD-0A if configuring for an ALPHAPROJECT AP-SH4AD-0A. +config SH_OF_BOARD + bool "General Open Firmware boards" + select SH_DEVICE_TREE + select CLKSRC_JCORE_PIT if CPU_J2 + select JCORE_AIC if CPU_J2 + select HAVE_PCI if CPU_SUBTYPE_SH7751R + help + This board means general OF supported targets. + source "arch/sh/boards/mach-r2d/Kconfig" source "arch/sh/boards/mach-highlander/Kconfig" source "arch/sh/boards/mach-sdk7780/Kconfig" -- 2.39.2