public inbox for linux-kbuild@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] alpha: merge two entries for CONFIG_ALPHA_EV4
@ 2024-02-15 14:11 Masahiro Yamada
  2024-02-15 14:11 ` [PATCH 2/2] alpha: merge two entries for CONFIG_ALPHA_GAMMA Masahiro Yamada
  0 siblings, 1 reply; 4+ messages in thread
From: Masahiro Yamada @ 2024-02-15 14:11 UTC (permalink / raw)
  To: linux-kbuild
  Cc: Masahiro Yamada, Ivan Kokshaysky, Matt Turner, Richard Henderson,
	linux-alpha, linux-kernel

There are two entries for CONFIG_ALPHA_EV4, on line 337 and line 368.
Merge them together.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
---

 arch/alpha/Kconfig | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/arch/alpha/Kconfig b/arch/alpha/Kconfig
index d6968d090d49..70e8343d00ba 100644
--- a/arch/alpha/Kconfig
+++ b/arch/alpha/Kconfig
@@ -338,6 +338,7 @@ config ALPHA_EV4
 	bool
 	depends on ALPHA_JENSEN || (ALPHA_SABLE && !ALPHA_GAMMA) || ALPHA_LYNX || ALPHA_NORITAKE && !ALPHA_PRIMO || ALPHA_MIKASA && !ALPHA_PRIMO || ALPHA_CABRIOLET || ALPHA_AVANTI_CH || ALPHA_EB64P_CH || ALPHA_XL || ALPHA_NONAME || ALPHA_EB66 || ALPHA_EB66P || ALPHA_P2K
 	default y if !ALPHA_LYNX
+	default y if !ALPHA_EV5
 
 config ALPHA_LCA
 	bool
@@ -365,10 +366,6 @@ config ALPHA_EV5
 	bool "EV5 CPU(s) (model 5/xxx)?" if ALPHA_LYNX
 	default y if ALPHA_RX164 || ALPHA_RAWHIDE || ALPHA_MIATA || ALPHA_LX164 || ALPHA_SX164 || ALPHA_RUFFIAN || ALPHA_SABLE && ALPHA_GAMMA || ALPHA_NORITAKE && ALPHA_PRIMO || ALPHA_MIKASA && ALPHA_PRIMO || ALPHA_PC164 || ALPHA_TAKARA || ALPHA_EB164 || ALPHA_ALCOR
 
-config ALPHA_EV4
-	bool
-	default y if ALPHA_LYNX && !ALPHA_EV5
-
 config ALPHA_CIA
 	bool
 	depends on ALPHA_MIATA || ALPHA_LX164 || ALPHA_SX164 || ALPHA_RUFFIAN || ALPHA_NORITAKE && ALPHA_PRIMO || ALPHA_MIKASA && ALPHA_PRIMO || ALPHA_PC164 || ALPHA_TAKARA || ALPHA_EB164 || ALPHA_ALCOR
-- 
2.40.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/2] alpha: merge two entries for CONFIG_ALPHA_GAMMA
  2024-02-15 14:11 [PATCH 1/2] alpha: merge two entries for CONFIG_ALPHA_EV4 Masahiro Yamada
@ 2024-02-15 14:11 ` Masahiro Yamada
  2024-02-15 23:27   ` Randy Dunlap
  0 siblings, 1 reply; 4+ messages in thread
From: Masahiro Yamada @ 2024-02-15 14:11 UTC (permalink / raw)
  To: linux-kbuild
  Cc: Masahiro Yamada, Ivan Kokshaysky, Matt Turner, Richard Henderson,
	linux-alpha, linux-kernel

There are two entries for CONFIG_ALPHA_GAMMA, with the second one
7 lines below. Merge them together.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
---

 arch/alpha/Kconfig | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/arch/alpha/Kconfig b/arch/alpha/Kconfig
index 70e8343d00ba..581ca8c73d67 100644
--- a/arch/alpha/Kconfig
+++ b/arch/alpha/Kconfig
@@ -390,16 +390,12 @@ config ALPHA_PRIMO
 	  Say Y if you have an AS 1000 5/xxx or an AS 1000A 5/xxx.
 
 config ALPHA_GAMMA
-	bool "EV5 CPU(s) (model 5/xxx)?"
-	depends on ALPHA_SABLE
+	bool "EV5 CPU(s) (model 5/xxx)?" if ALPHA_SABLE
+	depends on ALPHA_SABLE || ALPHA_GAMMA
+	default ALPHA_LYNX
 	help
 	  Say Y if you have an AS 2000 5/xxx or an AS 2100 5/xxx.
 
-config ALPHA_GAMMA
-	bool
-	depends on ALPHA_LYNX
-	default y
-
 config ALPHA_T2
 	bool
 	depends on ALPHA_SABLE || ALPHA_LYNX
-- 
2.40.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 2/2] alpha: merge two entries for CONFIG_ALPHA_GAMMA
  2024-02-15 14:11 ` [PATCH 2/2] alpha: merge two entries for CONFIG_ALPHA_GAMMA Masahiro Yamada
@ 2024-02-15 23:27   ` Randy Dunlap
  2024-02-16  2:13     ` Masahiro Yamada
  0 siblings, 1 reply; 4+ messages in thread
From: Randy Dunlap @ 2024-02-15 23:27 UTC (permalink / raw)
  To: Masahiro Yamada, linux-kbuild
  Cc: Ivan Kokshaysky, Matt Turner, Richard Henderson, linux-alpha,
	linux-kernel

Hi,

On 2/15/24 06:11, Masahiro Yamada wrote:
> There are two entries for CONFIG_ALPHA_GAMMA, with the second one
> 7 lines below. Merge them together.
> 
> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
> ---
> 
>  arch/alpha/Kconfig | 10 +++-------
>  1 file changed, 3 insertions(+), 7 deletions(-)
> 
> diff --git a/arch/alpha/Kconfig b/arch/alpha/Kconfig
> index 70e8343d00ba..581ca8c73d67 100644
> --- a/arch/alpha/Kconfig
> +++ b/arch/alpha/Kconfig
> @@ -390,16 +390,12 @@ config ALPHA_PRIMO
>  	  Say Y if you have an AS 1000 5/xxx or an AS 1000A 5/xxx.
>  
>  config ALPHA_GAMMA
> -	bool "EV5 CPU(s) (model 5/xxx)?"
> -	depends on ALPHA_SABLE
> +	bool "EV5 CPU(s) (model 5/xxx)?" if ALPHA_SABLE
> +	depends on ALPHA_SABLE || ALPHA_GAMMA

	depends on ALPHA_SABLE || ALPHA_LYNX
??

> +	default ALPHA_LYNX
>  	help
>  	  Say Y if you have an AS 2000 5/xxx or an AS 2100 5/xxx.
>  
> -config ALPHA_GAMMA
> -	bool
> -	depends on ALPHA_LYNX
> -	default y
> -
>  config ALPHA_T2
>  	bool
>  	depends on ALPHA_SABLE || ALPHA_LYNX

-- 
#Randy

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 2/2] alpha: merge two entries for CONFIG_ALPHA_GAMMA
  2024-02-15 23:27   ` Randy Dunlap
@ 2024-02-16  2:13     ` Masahiro Yamada
  0 siblings, 0 replies; 4+ messages in thread
From: Masahiro Yamada @ 2024-02-16  2:13 UTC (permalink / raw)
  To: Randy Dunlap
  Cc: linux-kbuild, Ivan Kokshaysky, Matt Turner, Richard Henderson,
	linux-alpha, linux-kernel

On Fri, Feb 16, 2024 at 8:28 AM Randy Dunlap <rdunlap@infradead.org> wrote:
>
> Hi,
>
> On 2/15/24 06:11, Masahiro Yamada wrote:
> > There are two entries for CONFIG_ALPHA_GAMMA, with the second one
> > 7 lines below. Merge them together.
> >
> > Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
> > ---
> >
> >  arch/alpha/Kconfig | 10 +++-------
> >  1 file changed, 3 insertions(+), 7 deletions(-)
> >
> > diff --git a/arch/alpha/Kconfig b/arch/alpha/Kconfig
> > index 70e8343d00ba..581ca8c73d67 100644
> > --- a/arch/alpha/Kconfig
> > +++ b/arch/alpha/Kconfig
> > @@ -390,16 +390,12 @@ config ALPHA_PRIMO
> >         Say Y if you have an AS 1000 5/xxx or an AS 1000A 5/xxx.
> >
> >  config ALPHA_GAMMA
> > -     bool "EV5 CPU(s) (model 5/xxx)?"
> > -     depends on ALPHA_SABLE
> > +     bool "EV5 CPU(s) (model 5/xxx)?" if ALPHA_SABLE
> > +     depends on ALPHA_SABLE || ALPHA_GAMMA
>
>         depends on ALPHA_SABLE || ALPHA_LYNX
> ??


Oops.

You are right. I will fix it in v2.





>
> > +     default ALPHA_LYNX
> >       help
> >         Say Y if you have an AS 2000 5/xxx or an AS 2100 5/xxx.
> >
> > -config ALPHA_GAMMA
> > -     bool
> > -     depends on ALPHA_LYNX
> > -     default y
> > -
> >  config ALPHA_T2
> >       bool
> >       depends on ALPHA_SABLE || ALPHA_LYNX
>
> --
> #Randy



-- 
Best Regards
Masahiro Yamada

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-02-16  2:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-15 14:11 [PATCH 1/2] alpha: merge two entries for CONFIG_ALPHA_EV4 Masahiro Yamada
2024-02-15 14:11 ` [PATCH 2/2] alpha: merge two entries for CONFIG_ALPHA_GAMMA Masahiro Yamada
2024-02-15 23:27   ` Randy Dunlap
2024-02-16  2:13     ` Masahiro Yamada

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox