The Kconfig symbol PLAT_SPEAR_SINGLE briefly appeared during the v3.10
development cycle. It was removed in a merge commit before v3.10. A few
references to it were left in the tree, probably because they didn't
generate merge conflicts. Whatever it was, they're useless now and can
safely be removed.
Reported-by: Martin Walch <[email protected]>
Signed-off-by: Paul Bolle <[email protected]>
---
Untested.
arch/arm/mach-spear/Kconfig | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/arch/arm/mach-spear/Kconfig b/arch/arm/mach-spear/Kconfig
index ac1710e6..1595776 100644
--- a/arch/arm/mach-spear/Kconfig
+++ b/arch/arm/mach-spear/Kconfig
@@ -4,7 +4,6 @@
menuconfig PLAT_SPEAR
bool "ST SPEAr Family" if ARCH_MULTI_V7 || ARCH_MULTI_V5
- default PLAT_SPEAR_SINGLE
select ARCH_REQUIRE_GPIOLIB
select ARM_AMBA
select CLKSRC_MMIO
@@ -15,7 +14,7 @@ if PLAT_SPEAR
config ARCH_SPEAR13XX
bool "ST SPEAr13xx"
- depends on ARCH_MULTI_V7 || PLAT_SPEAR_SINGLE
+ depends on ARCH_MULTI_V7
select ARCH_HAS_CPUFREQ
select ARM_GIC
select CPU_V7
@@ -47,7 +46,7 @@ endif #ARCH_SPEAR13XX
config ARCH_SPEAR3XX
bool "ST SPEAr3xx"
- depends on ARCH_MULTI_V5 || PLAT_SPEAR_SINGLE
+ depends on ARCH_MULTI_V5
depends on !ARCH_SPEAR13XX
select ARM_VIC
select CPU_ARM926T
@@ -80,7 +79,7 @@ endif
config ARCH_SPEAR6XX
bool "ST SPEAr6XX"
- depends on ARCH_MULTI_V5 || PLAT_SPEAR_SINGLE
+ depends on ARCH_MULTI_V5
depends on !ARCH_SPEAR13XX
select ARM_VIC
select CPU_ARM926T
@@ -95,7 +94,6 @@ config MACH_SPEAR600
Supports ST SPEAr600 boards configured via the device-treesource "arch/arm/mach-spear6xx/Kconfig"
config ARCH_SPEAR_AUTO
- def_bool PLAT_SPEAR_SINGLE
depends on !ARCH_SPEAR13XX && !ARCH_SPEAR6XX
select ARCH_SPEAR3XX
--
1.8.5.3
I got a bounce for Shiraz' address. Has Shiraz left ST?
Paul Bolle
The Kconfig symbol PLAT_SPEAR_SINGLE briefly appeared during the v3.10
development cycle. It was removed in a merge commit before v3.10. A few
references to it were left in the tree, probably because they didn't
generate merge conflicts. Whatever it was, they're useless now and can
safely be removed.
Reported-by: Martin Walch <[email protected]>
Signed-off-by: Paul Bolle <[email protected]>
---
0) First version was broken: it left config ARCH_SPEAR_AUTO without its
bool type. This version is done on top of v3.15-rc1.
1) Still untested.
arch/arm/mach-spear/Kconfig | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/arch/arm/mach-spear/Kconfig b/arch/arm/mach-spear/Kconfig
index 0786249b2832..bc8a11c53377 100644
--- a/arch/arm/mach-spear/Kconfig
+++ b/arch/arm/mach-spear/Kconfig
@@ -4,7 +4,6 @@
menuconfig PLAT_SPEAR
bool "ST SPEAr Family" if ARCH_MULTI_V7 || ARCH_MULTI_V5
- default PLAT_SPEAR_SINGLE
select ARCH_REQUIRE_GPIOLIB
select ARM_AMBA
select CLKSRC_MMIO
@@ -13,7 +12,7 @@ if PLAT_SPEAR
config ARCH_SPEAR13XX
bool "ST SPEAr13xx"
- depends on ARCH_MULTI_V7 || PLAT_SPEAR_SINGLE
+ depends on ARCH_MULTI_V7
select ARCH_HAS_CPUFREQ
select ARM_GIC
select GPIO_SPEAR_SPICS
@@ -41,7 +40,7 @@ endif #ARCH_SPEAR13XX
config ARCH_SPEAR3XX
bool "ST SPEAr3xx"
- depends on ARCH_MULTI_V5 || PLAT_SPEAR_SINGLE
+ depends on ARCH_MULTI_V5
depends on !ARCH_SPEAR13XX
select ARM_VIC
select PINCTRL
@@ -72,7 +71,7 @@ endif
config ARCH_SPEAR6XX
bool "ST SPEAr6XX"
- depends on ARCH_MULTI_V5 || PLAT_SPEAR_SINGLE
+ depends on ARCH_MULTI_V5
depends on !ARCH_SPEAR13XX
select ARM_VIC
help
@@ -85,7 +84,7 @@ config MACH_SPEAR600
Supports ST SPEAr600 boards configured via the device-tree
config ARCH_SPEAR_AUTO
- def_bool PLAT_SPEAR_SINGLE
+ bool
depends on !ARCH_SPEAR13XX && !ARCH_SPEAR6XX
select ARCH_SPEAR3XX
--
1.9.0
On 4/15/2014 1:56 PM, Paul Bolle wrote:
> The Kconfig symbol PLAT_SPEAR_SINGLE briefly appeared during the v3.10
> development cycle. It was removed in a merge commit before v3.10. A few
> references to it were left in the tree, probably because they didn't
> generate merge conflicts. Whatever it was, they're useless now and can
> safely be removed.
>
> Reported-by: Martin Walch <[email protected]>
> Signed-off-by: Paul Bolle <[email protected]>
> ---
> 0) First version was broken: it left config ARCH_SPEAR_AUTO without its
> bool type. This version is done on top of v3.15-rc1.
>
> 1) Still untested.
>
> arch/arm/mach-spear/Kconfig | 9 ++++-----
> 1 file changed, 4 insertions(+), 5 deletions(-)
>
> diff --git a/arch/arm/mach-spear/Kconfig b/arch/arm/mach-spear/Kconfig
> index 0786249b2832..bc8a11c53377 100644
> --- a/arch/arm/mach-spear/Kconfig
> +++ b/arch/arm/mach-spear/Kconfig
> @@ -4,7 +4,6 @@
>
> menuconfig PLAT_SPEAR
> bool "ST SPEAr Family" if ARCH_MULTI_V7 || ARCH_MULTI_V5
> - default PLAT_SPEAR_SINGLE
> select ARCH_REQUIRE_GPIOLIB
> select ARM_AMBA
> select CLKSRC_MMIO
> @@ -13,7 +12,7 @@ if PLAT_SPEAR
>
> config ARCH_SPEAR13XX
> bool "ST SPEAr13xx"
> - depends on ARCH_MULTI_V7 || PLAT_SPEAR_SINGLE
> + depends on ARCH_MULTI_V7
> select ARCH_HAS_CPUFREQ
> select ARM_GIC
> select GPIO_SPEAR_SPICS
> @@ -41,7 +40,7 @@ endif #ARCH_SPEAR13XX
>
> config ARCH_SPEAR3XX
> bool "ST SPEAr3xx"
> - depends on ARCH_MULTI_V5 || PLAT_SPEAR_SINGLE
> + depends on ARCH_MULTI_V5
> depends on !ARCH_SPEAR13XX
> select ARM_VIC
> select PINCTRL
> @@ -72,7 +71,7 @@ endif
>
> config ARCH_SPEAR6XX
> bool "ST SPEAr6XX"
> - depends on ARCH_MULTI_V5 || PLAT_SPEAR_SINGLE
> + depends on ARCH_MULTI_V5
> depends on !ARCH_SPEAR13XX
> select ARM_VIC
> help
> @@ -85,7 +84,7 @@ config MACH_SPEAR600
> Supports ST SPEAr600 boards configured via the device-tree
>
> config ARCH_SPEAR_AUTO
> - def_bool PLAT_SPEAR_SINGLE
> + bool
> depends on !ARCH_SPEAR13XX && !ARCH_SPEAR6XX
> select ARCH_SPEAR3XX
>
>
Reviewed-by: Rajeev Kumar <[email protected]>
On Tue, 2014-04-15 at 14:56 +0530, Rajeev kumar wrote:
> On 4/15/2014 1:56 PM, Paul Bolle wrote:
> > The Kconfig symbol PLAT_SPEAR_SINGLE briefly appeared during the v3.10
> > development cycle. It was removed in a merge commit before v3.10. A few
> > references to it were left in the tree, probably because they didn't
> > generate merge conflicts. Whatever it was, they're useless now and can
> > safely be removed.
> >
> > Reported-by: Martin Walch <[email protected]>
> > Signed-off-by: Paul Bolle <[email protected]>
> > ---
> > 0) First version was broken: it left config ARCH_SPEAR_AUTO without its
> > bool type. This version is done on top of v3.15-rc1.
> >
> > 1) Still untested.
> >
> > arch/arm/mach-spear/Kconfig | 9 ++++-----
> > 1 file changed, 4 insertions(+), 5 deletions(-)
> >
> > diff --git a/arch/arm/mach-spear/Kconfig b/arch/arm/mach-spear/Kconfig
> > index 0786249b2832..bc8a11c53377 100644
> > --- a/arch/arm/mach-spear/Kconfig
> > +++ b/arch/arm/mach-spear/Kconfig
> > @@ -4,7 +4,6 @@
> >
> > menuconfig PLAT_SPEAR
> > bool "ST SPEAr Family" if ARCH_MULTI_V7 || ARCH_MULTI_V5
> > - default PLAT_SPEAR_SINGLE
> > select ARCH_REQUIRE_GPIOLIB
> > select ARM_AMBA
> > select CLKSRC_MMIO
> > @@ -13,7 +12,7 @@ if PLAT_SPEAR
> >
> > config ARCH_SPEAR13XX
> > bool "ST SPEAr13xx"
> > - depends on ARCH_MULTI_V7 || PLAT_SPEAR_SINGLE
> > + depends on ARCH_MULTI_V7
> > select ARCH_HAS_CPUFREQ
> > select ARM_GIC
> > select GPIO_SPEAR_SPICS
> > @@ -41,7 +40,7 @@ endif #ARCH_SPEAR13XX
> >
> > config ARCH_SPEAR3XX
> > bool "ST SPEAr3xx"
> > - depends on ARCH_MULTI_V5 || PLAT_SPEAR_SINGLE
> > + depends on ARCH_MULTI_V5
> > depends on !ARCH_SPEAR13XX
> > select ARM_VIC
> > select PINCTRL
> > @@ -72,7 +71,7 @@ endif
> >
> > config ARCH_SPEAR6XX
> > bool "ST SPEAr6XX"
> > - depends on ARCH_MULTI_V5 || PLAT_SPEAR_SINGLE
> > + depends on ARCH_MULTI_V5
> > depends on !ARCH_SPEAR13XX
> > select ARM_VIC
> > help
> > @@ -85,7 +84,7 @@ config MACH_SPEAR600
> > Supports ST SPEAr600 boards configured via the device-tree
> >
> > config ARCH_SPEAR_AUTO
> > - def_bool PLAT_SPEAR_SINGLE
> > + bool
> > depends on !ARCH_SPEAR13XX && !ARCH_SPEAR6XX
> > select ARCH_SPEAR3XX
> >
> >
>
>
> Reviewed-by: Rajeev Kumar <[email protected]>
Thanks!
This can still be seen in v3.16-rc1 and in today's linux-next (ie,
next-20140616). Is this trivial patch queued somewhere?
Paul Bolle