Skip to contentSkip to conversation

alpha: merge two entries for CONFIG_ALPHA_EV4

PATCH Superseded Masahiro Yamada 2 participants 4 messages Feb 15, 2024 – Feb 16, 2024

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 alpha: merge two entries for CONFIG_ALPHA_EV4

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

---

 arch/alpha/Kconfig | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
arch/alpha/Kconfig +1 -4
index d6968d090d49..70e8343d00ba 100644
@@ -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
Signature · 1 line
2.40.1
#1 lore raw

PATCH 2/2 alpha: merge two entries for CONFIG_ALPHA_GAMMA

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

---

 arch/alpha/Kconfig | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)
arch/alpha/Kconfig +3 -7
index 70e8343d00ba..581ca8c73d67 100644
@@ -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
Signature · 1 line
2.40.1
#2 lore raw

Re: [PATCH 2/2] alpha: merge two entries for CONFIG_ALPHA_GAMMA

Hi,

Quoted 14 lines · Masahiro Yamada

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

---

 arch/alpha/Kconfig | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)
arch/alpha/Kconfig +0 -0
index 70e8343d00ba..581ca8c73d67 100644

arch/alpha/Kconfig config ALPHA_PRIMO · line 394

Quoted 7 lines
arch/alpha/Kconfig +2 -2
@@ -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

??

Quoted 12 lines
arch/alpha/Kconfig +1 -5
+	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
Signature · 1 line
#Randy
#3 lore raw

Re: [PATCH 2/2] alpha: merge two entries for CONFIG_ALPHA_GAMMA

Quoted 20 lines · Randy Dunlap

Hi,

Quoted 16 lines · Masahiro Yamada

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

---

 arch/alpha/Kconfig | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)
arch/alpha/Kconfig +0 -0
index 70e8343d00ba..581ca8c73d67 100644
@@ -390,16 +390,12 @@ config ALPHA_PRIMO
        Say Y if you have an AS 1000 5/xxx or an AS 1000A 5/xxx.
 
Quoted 8 lines

arch/alpha/Kconfig config ALPHA_PRIMO · line 394

Quoted 5 lines
arch/alpha/Kconfig +2 -2
 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.

Quoted 16 lines

arch/alpha/Kconfig config ALPHA_PRIMO · line 401

Quoted 13 lines
arch/alpha/Kconfig +1 -5
+     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

Signature · 2 lines
Best Regards
Masahiro Yamada