Received: by 2002:ab2:2441:0:b0:1f3:1f8c:d0c6 with SMTP id k1csp56725lqe; Wed, 3 Apr 2024 22:14:34 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXGZCGSH0686aYGrr2SF0tF6tZVLXfjLkQCCJcEJmkd9scbfPUVmLM3l6yzNDahlC2FXMK9QrK2jCcXXfK8kMjAtkhkxCBEdnMQgJOXpg== X-Google-Smtp-Source: AGHT+IEQO31UnqCpIIvaOn4wJoalrZhHaHc0leArKd8rKhS7jkPyo5HsiuVOpDpUnaFU1tfviXbE X-Received: by 2002:a05:6a20:1582:b0:1a3:571b:13a3 with SMTP id h2-20020a056a20158200b001a3571b13a3mr6206637pzj.27.1712207674192; Wed, 03 Apr 2024 22:14:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712207674; cv=pass; d=google.com; s=arc-20160816; b=IBxuEf/F6+hv8roSNBO2mJ/rSMwjld8wc/ZCgckvijYWsKRyt7vDCtN8FGHdXp0IsM aoo83cYAdFZDqY3FL4k5bmSx0GTKe/QEpstN/ZcnHWWUo5cLuY8u/Os11hxElqFaDfmM 107+unX9S0LFuVGusOtnBZ9amkXbbid4oICWP7Y+e3OoXnlvaQoKG1h5QrDP/RAXmDu9 aPUNGPRcsiT4ymhtYOltdZF/HPtylCTkzOg3qf4XxxfKgZjL6zcVOo6CuRvDSSk6RZTx 8549fqrFHaoi9Ut8Gmj4UM0a6DMLh1vc4Xlt8nyplOkDRbuGDpFvmgF3hxxMHrPnHCkJ aung== 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=0TkbP76mXOuMAfVbfDI9uGp+0AOrUVQaet8iBmzjxDvEO/8ltUs1q8oKFyVi7HItSR DrrEYLE/e1iw7agGwt4noF2qnsvMXQfERkmS3jfsGYJnmSGLeS0yYWBDeo7K38S1FypW RaL5Q4XQ6Cdk0JY4xkc5jgHl02hGjCpkSTyc57f1WoltEVVHd+zcOq57e3tYF+dnxMDd NGmPOOmfmaFzdHmp1+ByQABXjVWTXZMjWa5nZVTorSiwjNzf+3sfjJ478xmVe5z0pDPt eFMUzIPRH6pshr5CHPqd67hHenlliwOYt6sxezUL8NRjJ0mBuLAkT0aj27ovAKk//mss Xjvw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-130897-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-130897-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id s22-20020a63dc16000000b005d760c23e09si14607491pgg.146.2024.04.03.22.14.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Apr 2024 22:14:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-130897-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-130897-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-130897-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 92218B22FA5 for ; Thu, 4 Apr 2024 05:11:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6B81455798; Thu, 4 Apr 2024 05:10:32 +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 B731729CF1; Thu, 4 Apr 2024 05:10:28 +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=1712207431; cv=none; b=Nz4iTPoPY8UgoW8rG7n/M8M8IK+OM2ukTB+zf6SK3v01O9CQ1t5PIRALIeJqHqRHdXkfDa2G/Ck53jVAL2vdgvr2Kax0DU8WdmgAs/dF4FYgekwbWQzWWU+ayyUUwqrwiidmMe/N/b5tvVWeo337nqkdbkfALs+2Y15xK/YBCwo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712207431; c=relaxed/simple; bh=Mlar4k36vsGupOpHsgffs9x7mHFF2T26ers8FFl0RyI=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=UkLGdXMavcUNxmNZNs7zWsSARSEaqh07LxlUDj+e9g2igAo1xT2aFC+3n6EH5RwjSK3n5BNwbm6IjX2yg5UPJYd7Kx0GNRf57E2F+yKJRgwaFZ8TukLiG8uuxBbPFHXTWBpMp7wpw6yU49RHfub6Jtt+eOgW8HvHXfgW6jn0pJ0= 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 9BB021C0242; Thu, 4 Apr 2024 14:00:38 +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: [PATCH v7 02/37] sh: Kconfig unified OF supported targets. Date: Thu, 4 Apr 2024 13:59:27 +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