2014-06-10 14:06:10 +00:00
|
|
|
menuconfig ARCH_BCM
|
ARM: use "depends on" for SoC configs instead of "if" after prompt
Many ARM sub-architectures use prompts followed by "if" conditional,
but it is wrong.
Please notice the difference between
config ARCH_FOO
bool "Foo SoCs" if ARCH_MULTI_V7
and
config ARCH_FOO
bool "Foo SoCs"
depends on ARCH_MULTI_V7
These two are *not* equivalent!
In the former statement, it is not ARCH_FOO, but its prompt that
depends on ARCH_MULTI_V7. So, it is completely valid that ARCH_FOO
is selected by another, but ARCH_MULTI_V7 is still disabled. As it is
not unmet dependency, Kconfig never warns. This is probably not what
you want.
The former should be used only when you need to do so, and you really
understand what you are doing. (In most cases, it should be wrong!)
For enabling/disabling sub-architectures, the latter is always correct.
As a good side effect, this commit fixes some entries over 80 columns
(mach-imx, mach-integrator, mach-mbevu).
[Arnd: I note that there is not really a bug here, according to
the discussion that followed, but I can see value in being consistent
and in making the lines shorter]
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Patrice Chotard <patrice.chotard@st.com>
Acked-by: Liviu Dudau <Liviu.Dudau@arm.com>
Acked-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Acked-by: Jun Nie <jun.nie@linaro.org>
Acked-by: Matthias Brugger <matthias.bgg@gmail.com>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Acked-by: Shawn Guo <shawnguo@kernel.org>
Acked-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Acked-by: Krzysztof Halasa <khc@piap.pl>
Acked-by: Maxime Coquelin <maxime.coquelin@st.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2015-11-16 03:06:10 +00:00
|
|
|
bool "Broadcom SoC Support"
|
|
|
|
depends on ARCH_MULTI_V6_V7
|
2013-09-23 17:20:33 +00:00
|
|
|
help
|
2014-04-01 08:26:19 +00:00
|
|
|
This enables support for Broadcom ARM based SoC chips
|
2013-09-23 17:20:33 +00:00
|
|
|
|
2014-06-10 14:06:10 +00:00
|
|
|
if ARCH_BCM
|
2013-09-23 17:20:33 +00:00
|
|
|
|
2014-08-15 19:52:00 +00:00
|
|
|
comment "IPROC architected SoCs"
|
|
|
|
|
|
|
|
config ARCH_BCM_IPROC
|
|
|
|
bool
|
|
|
|
select ARM_GIC
|
|
|
|
select CACHE_L2X0
|
|
|
|
select HAVE_ARM_SCU if SMP
|
|
|
|
select HAVE_ARM_TWD if SMP
|
|
|
|
select ARM_GLOBAL_TIMER
|
2015-10-15 19:48:24 +00:00
|
|
|
select COMMON_CLK_IPROC
|
2014-08-15 19:52:00 +00:00
|
|
|
select CLKSRC_MMIO
|
2016-06-02 12:10:16 +00:00
|
|
|
select GPIOLIB
|
2014-08-15 19:52:00 +00:00
|
|
|
select ARM_AMBA
|
|
|
|
select PINCTRL
|
|
|
|
help
|
|
|
|
This enables support for systems based on Broadcom IPROC architected SoCs.
|
|
|
|
The IPROC complex contains one or more ARM CPUs along with common
|
|
|
|
core periperals. Application specific SoCs are created by adding a
|
|
|
|
uArchitecture containing peripherals outside of the IPROC complex.
|
|
|
|
Currently supported SoCs are Cygnus.
|
|
|
|
|
|
|
|
config ARCH_BCM_CYGNUS
|
ARM: use "depends on" for SoC configs instead of "if" after prompt
Many ARM sub-architectures use prompts followed by "if" conditional,
but it is wrong.
Please notice the difference between
config ARCH_FOO
bool "Foo SoCs" if ARCH_MULTI_V7
and
config ARCH_FOO
bool "Foo SoCs"
depends on ARCH_MULTI_V7
These two are *not* equivalent!
In the former statement, it is not ARCH_FOO, but its prompt that
depends on ARCH_MULTI_V7. So, it is completely valid that ARCH_FOO
is selected by another, but ARCH_MULTI_V7 is still disabled. As it is
not unmet dependency, Kconfig never warns. This is probably not what
you want.
The former should be used only when you need to do so, and you really
understand what you are doing. (In most cases, it should be wrong!)
For enabling/disabling sub-architectures, the latter is always correct.
As a good side effect, this commit fixes some entries over 80 columns
(mach-imx, mach-integrator, mach-mbevu).
[Arnd: I note that there is not really a bug here, according to
the discussion that followed, but I can see value in being consistent
and in making the lines shorter]
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Patrice Chotard <patrice.chotard@st.com>
Acked-by: Liviu Dudau <Liviu.Dudau@arm.com>
Acked-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Acked-by: Jun Nie <jun.nie@linaro.org>
Acked-by: Matthias Brugger <matthias.bgg@gmail.com>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Acked-by: Shawn Guo <shawnguo@kernel.org>
Acked-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Acked-by: Krzysztof Halasa <khc@piap.pl>
Acked-by: Maxime Coquelin <maxime.coquelin@st.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2015-11-16 03:06:10 +00:00
|
|
|
bool "Broadcom Cygnus Support"
|
|
|
|
depends on ARCH_MULTI_V7
|
2014-08-15 19:52:00 +00:00
|
|
|
select ARCH_BCM_IPROC
|
|
|
|
help
|
|
|
|
Enable support for the Cygnus family,
|
|
|
|
which includes the following variants:
|
|
|
|
BCM11300, BCM11320, BCM11350, BCM11360,
|
|
|
|
BCM58300, BCM58302, BCM58303, BCM58305.
|
|
|
|
|
2015-08-26 22:35:28 +00:00
|
|
|
config ARCH_BCM_NSP
|
ARM: use "depends on" for SoC configs instead of "if" after prompt
Many ARM sub-architectures use prompts followed by "if" conditional,
but it is wrong.
Please notice the difference between
config ARCH_FOO
bool "Foo SoCs" if ARCH_MULTI_V7
and
config ARCH_FOO
bool "Foo SoCs"
depends on ARCH_MULTI_V7
These two are *not* equivalent!
In the former statement, it is not ARCH_FOO, but its prompt that
depends on ARCH_MULTI_V7. So, it is completely valid that ARCH_FOO
is selected by another, but ARCH_MULTI_V7 is still disabled. As it is
not unmet dependency, Kconfig never warns. This is probably not what
you want.
The former should be used only when you need to do so, and you really
understand what you are doing. (In most cases, it should be wrong!)
For enabling/disabling sub-architectures, the latter is always correct.
As a good side effect, this commit fixes some entries over 80 columns
(mach-imx, mach-integrator, mach-mbevu).
[Arnd: I note that there is not really a bug here, according to
the discussion that followed, but I can see value in being consistent
and in making the lines shorter]
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Patrice Chotard <patrice.chotard@st.com>
Acked-by: Liviu Dudau <Liviu.Dudau@arm.com>
Acked-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Acked-by: Jun Nie <jun.nie@linaro.org>
Acked-by: Matthias Brugger <matthias.bgg@gmail.com>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Acked-by: Shawn Guo <shawnguo@kernel.org>
Acked-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Acked-by: Krzysztof Halasa <khc@piap.pl>
Acked-by: Maxime Coquelin <maxime.coquelin@st.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2015-11-16 03:06:10 +00:00
|
|
|
bool "Broadcom Northstar Plus SoC Support"
|
|
|
|
depends on ARCH_MULTI_V7
|
2015-08-26 22:35:28 +00:00
|
|
|
select ARCH_BCM_IPROC
|
|
|
|
select ARM_ERRATA_754322
|
|
|
|
select ARM_ERRATA_775420
|
2015-12-01 16:24:08 +00:00
|
|
|
select ARM_ERRATA_764369 if SMP
|
|
|
|
select HAVE_SMP
|
2015-08-26 22:35:28 +00:00
|
|
|
help
|
|
|
|
Support for Broadcom Northstar Plus SoC.
|
|
|
|
Broadcom Northstar Plus family of SoCs are used for switching control
|
|
|
|
and management applications as well as residential router/gateway
|
|
|
|
applications. The SoC features dual core Cortex A9 ARM CPUs,
|
|
|
|
integrating several peripheral interfaces including multiple Gigabit
|
|
|
|
Ethernet PHYs, DDR3 memory, PCIE Gen-2, USB 2.0 and USB 3.0, serial and
|
|
|
|
NAND flash, SATA and several other IO controllers.
|
|
|
|
|
2014-10-22 01:51:33 +00:00
|
|
|
config ARCH_BCM_5301X
|
ARM: use "depends on" for SoC configs instead of "if" after prompt
Many ARM sub-architectures use prompts followed by "if" conditional,
but it is wrong.
Please notice the difference between
config ARCH_FOO
bool "Foo SoCs" if ARCH_MULTI_V7
and
config ARCH_FOO
bool "Foo SoCs"
depends on ARCH_MULTI_V7
These two are *not* equivalent!
In the former statement, it is not ARCH_FOO, but its prompt that
depends on ARCH_MULTI_V7. So, it is completely valid that ARCH_FOO
is selected by another, but ARCH_MULTI_V7 is still disabled. As it is
not unmet dependency, Kconfig never warns. This is probably not what
you want.
The former should be used only when you need to do so, and you really
understand what you are doing. (In most cases, it should be wrong!)
For enabling/disabling sub-architectures, the latter is always correct.
As a good side effect, this commit fixes some entries over 80 columns
(mach-imx, mach-integrator, mach-mbevu).
[Arnd: I note that there is not really a bug here, according to
the discussion that followed, but I can see value in being consistent
and in making the lines shorter]
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Patrice Chotard <patrice.chotard@st.com>
Acked-by: Liviu Dudau <Liviu.Dudau@arm.com>
Acked-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Acked-by: Jun Nie <jun.nie@linaro.org>
Acked-by: Matthias Brugger <matthias.bgg@gmail.com>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Acked-by: Shawn Guo <shawnguo@kernel.org>
Acked-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Acked-by: Krzysztof Halasa <khc@piap.pl>
Acked-by: Maxime Coquelin <maxime.coquelin@st.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2015-11-16 03:06:10 +00:00
|
|
|
bool "Broadcom BCM470X / BCM5301X ARM SoC"
|
|
|
|
depends on ARCH_MULTI_V7
|
2014-10-22 01:51:33 +00:00
|
|
|
select ARCH_BCM_IPROC
|
2015-11-21 14:29:47 +00:00
|
|
|
select ARM_ERRATA_754322
|
|
|
|
select ARM_ERRATA_775420
|
|
|
|
select ARM_ERRATA_764369 if SMP
|
2015-12-01 16:24:09 +00:00
|
|
|
select HAVE_SMP
|
2015-11-21 14:29:47 +00:00
|
|
|
|
2014-10-22 01:51:33 +00:00
|
|
|
help
|
|
|
|
Support for Broadcom BCM470X and BCM5301X SoCs with ARM CPU cores.
|
|
|
|
|
|
|
|
This is a network SoC line mostly used in home routers and
|
|
|
|
wifi access points, it's internal name is Northstar.
|
|
|
|
This inclused the following SoC: BCM53010, BCM53011, BCM53012,
|
|
|
|
BCM53014, BCM53015, BCM53016, BCM53017, BCM53018, BCM4707,
|
|
|
|
BCM4708 and BCM4709.
|
|
|
|
|
|
|
|
Do not confuse this with the BCM4760 which is a totally
|
|
|
|
different SoC or with the older BCM47XX and BCM53XX based
|
|
|
|
network SoC using a MIPS CPU, they are supported by arch/mips/bcm47xx
|
|
|
|
|
2014-10-22 16:52:13 +00:00
|
|
|
comment "KONA architected SoCs"
|
|
|
|
|
2013-09-23 17:20:33 +00:00
|
|
|
config ARCH_BCM_MOBILE
|
2014-10-22 16:52:13 +00:00
|
|
|
bool
|
2016-06-02 12:10:16 +00:00
|
|
|
select GPIOLIB
|
2012-11-19 17:46:10 +00:00
|
|
|
select ARM_ERRATA_754322
|
2014-04-18 17:13:20 +00:00
|
|
|
select ARM_ERRATA_775420
|
2012-11-19 17:46:10 +00:00
|
|
|
select ARM_GIC
|
2013-09-10 18:07:02 +00:00
|
|
|
select GPIO_BCM_KONA
|
2012-11-19 17:46:10 +00:00
|
|
|
select TICK_ONESHOT
|
2013-09-24 20:20:52 +00:00
|
|
|
select HAVE_ARM_ARCH_TIMER
|
2013-12-21 02:13:35 +00:00
|
|
|
select PINCTRL
|
2014-10-22 16:52:13 +00:00
|
|
|
select ARCH_BCM_MOBILE_SMP if SMP
|
2016-06-02 17:20:36 +00:00
|
|
|
select BCM_KONA_TIMER
|
2012-11-19 17:46:10 +00:00
|
|
|
help
|
2013-09-23 17:20:33 +00:00
|
|
|
This enables support for systems based on Broadcom mobile SoCs.
|
2014-04-15 12:37:19 +00:00
|
|
|
|
|
|
|
config ARCH_BCM_281XX
|
ARM: use "depends on" for SoC configs instead of "if" after prompt
Many ARM sub-architectures use prompts followed by "if" conditional,
but it is wrong.
Please notice the difference between
config ARCH_FOO
bool "Foo SoCs" if ARCH_MULTI_V7
and
config ARCH_FOO
bool "Foo SoCs"
depends on ARCH_MULTI_V7
These two are *not* equivalent!
In the former statement, it is not ARCH_FOO, but its prompt that
depends on ARCH_MULTI_V7. So, it is completely valid that ARCH_FOO
is selected by another, but ARCH_MULTI_V7 is still disabled. As it is
not unmet dependency, Kconfig never warns. This is probably not what
you want.
The former should be used only when you need to do so, and you really
understand what you are doing. (In most cases, it should be wrong!)
For enabling/disabling sub-architectures, the latter is always correct.
As a good side effect, this commit fixes some entries over 80 columns
(mach-imx, mach-integrator, mach-mbevu).
[Arnd: I note that there is not really a bug here, according to
the discussion that followed, but I can see value in being consistent
and in making the lines shorter]
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Patrice Chotard <patrice.chotard@st.com>
Acked-by: Liviu Dudau <Liviu.Dudau@arm.com>
Acked-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Acked-by: Jun Nie <jun.nie@linaro.org>
Acked-by: Matthias Brugger <matthias.bgg@gmail.com>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Acked-by: Shawn Guo <shawnguo@kernel.org>
Acked-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Acked-by: Krzysztof Halasa <khc@piap.pl>
Acked-by: Maxime Coquelin <maxime.coquelin@st.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2015-11-16 03:06:10 +00:00
|
|
|
bool "Broadcom BCM281XX SoC family"
|
|
|
|
depends on ARCH_MULTI_V7
|
2014-10-22 16:52:13 +00:00
|
|
|
select ARCH_BCM_MOBILE
|
2014-06-30 22:15:37 +00:00
|
|
|
select HAVE_SMP
|
2014-04-15 12:37:19 +00:00
|
|
|
help
|
2014-06-30 22:15:37 +00:00
|
|
|
Enable support for the BCM281XX family, which includes
|
2014-04-15 12:37:19 +00:00
|
|
|
BCM11130, BCM11140, BCM11351, BCM28145 and BCM28155
|
|
|
|
variants.
|
|
|
|
|
|
|
|
config ARCH_BCM_21664
|
ARM: use "depends on" for SoC configs instead of "if" after prompt
Many ARM sub-architectures use prompts followed by "if" conditional,
but it is wrong.
Please notice the difference between
config ARCH_FOO
bool "Foo SoCs" if ARCH_MULTI_V7
and
config ARCH_FOO
bool "Foo SoCs"
depends on ARCH_MULTI_V7
These two are *not* equivalent!
In the former statement, it is not ARCH_FOO, but its prompt that
depends on ARCH_MULTI_V7. So, it is completely valid that ARCH_FOO
is selected by another, but ARCH_MULTI_V7 is still disabled. As it is
not unmet dependency, Kconfig never warns. This is probably not what
you want.
The former should be used only when you need to do so, and you really
understand what you are doing. (In most cases, it should be wrong!)
For enabling/disabling sub-architectures, the latter is always correct.
As a good side effect, this commit fixes some entries over 80 columns
(mach-imx, mach-integrator, mach-mbevu).
[Arnd: I note that there is not really a bug here, according to
the discussion that followed, but I can see value in being consistent
and in making the lines shorter]
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Patrice Chotard <patrice.chotard@st.com>
Acked-by: Liviu Dudau <Liviu.Dudau@arm.com>
Acked-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Acked-by: Jun Nie <jun.nie@linaro.org>
Acked-by: Matthias Brugger <matthias.bgg@gmail.com>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Acked-by: Shawn Guo <shawnguo@kernel.org>
Acked-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Acked-by: Krzysztof Halasa <khc@piap.pl>
Acked-by: Maxime Coquelin <maxime.coquelin@st.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2015-11-16 03:06:10 +00:00
|
|
|
bool "Broadcom BCM21664 SoC family"
|
|
|
|
depends on ARCH_MULTI_V7
|
2014-10-22 16:52:13 +00:00
|
|
|
select ARCH_BCM_MOBILE
|
2014-06-30 22:15:37 +00:00
|
|
|
select HAVE_SMP
|
2014-04-15 12:37:19 +00:00
|
|
|
help
|
2014-06-30 22:15:37 +00:00
|
|
|
Enable support for the BCM21664 family, which includes
|
2014-04-15 12:37:19 +00:00
|
|
|
BCM21663 and BCM21664 variants.
|
|
|
|
|
2016-05-11 21:36:20 +00:00
|
|
|
config ARCH_BCM_23550
|
|
|
|
bool "Broadcom BCM23550 SoC"
|
|
|
|
depends on ARCH_MULTI_V7
|
|
|
|
select ARCH_BCM_MOBILE
|
|
|
|
select HAVE_SMP
|
|
|
|
help
|
|
|
|
Enable support for the BCM23550.
|
|
|
|
|
2014-04-21 21:53:07 +00:00
|
|
|
config ARCH_BCM_MOBILE_L2_CACHE
|
|
|
|
bool "Broadcom mobile SoC level 2 cache support"
|
2016-05-11 21:36:20 +00:00
|
|
|
depends on ARCH_BCM_281XX || ARCH_BCM_21664
|
2014-04-21 21:53:07 +00:00
|
|
|
default y
|
|
|
|
select CACHE_L2X0
|
|
|
|
select ARCH_BCM_MOBILE_SMC
|
|
|
|
|
|
|
|
config ARCH_BCM_MOBILE_SMC
|
|
|
|
bool
|
2014-10-22 16:52:13 +00:00
|
|
|
depends on ARCH_BCM_MOBILE
|
2014-04-21 21:53:07 +00:00
|
|
|
|
2014-06-30 22:15:37 +00:00
|
|
|
config ARCH_BCM_MOBILE_SMP
|
2014-10-22 16:52:13 +00:00
|
|
|
bool
|
|
|
|
depends on ARCH_BCM_MOBILE
|
2014-06-30 22:15:37 +00:00
|
|
|
select HAVE_ARM_SCU
|
|
|
|
select ARM_ERRATA_764369
|
|
|
|
help
|
2016-05-11 21:36:20 +00:00
|
|
|
SMP support for the BCM281XX, BCM21664 and BCM23550 SoC families.
|
2014-06-30 22:15:37 +00:00
|
|
|
Provided as an option so SMP support for SoCs of this type
|
|
|
|
can be disabled for an SMP-enabled kernel.
|
|
|
|
|
2014-08-15 19:52:00 +00:00
|
|
|
comment "Other Architectures"
|
2013-09-23 17:20:33 +00:00
|
|
|
|
2014-02-21 00:16:11 +00:00
|
|
|
config ARCH_BCM2835
|
ARM: use "depends on" for SoC configs instead of "if" after prompt
Many ARM sub-architectures use prompts followed by "if" conditional,
but it is wrong.
Please notice the difference between
config ARCH_FOO
bool "Foo SoCs" if ARCH_MULTI_V7
and
config ARCH_FOO
bool "Foo SoCs"
depends on ARCH_MULTI_V7
These two are *not* equivalent!
In the former statement, it is not ARCH_FOO, but its prompt that
depends on ARCH_MULTI_V7. So, it is completely valid that ARCH_FOO
is selected by another, but ARCH_MULTI_V7 is still disabled. As it is
not unmet dependency, Kconfig never warns. This is probably not what
you want.
The former should be used only when you need to do so, and you really
understand what you are doing. (In most cases, it should be wrong!)
For enabling/disabling sub-architectures, the latter is always correct.
As a good side effect, this commit fixes some entries over 80 columns
(mach-imx, mach-integrator, mach-mbevu).
[Arnd: I note that there is not really a bug here, according to
the discussion that followed, but I can see value in being consistent
and in making the lines shorter]
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Patrice Chotard <patrice.chotard@st.com>
Acked-by: Liviu Dudau <Liviu.Dudau@arm.com>
Acked-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Acked-by: Jun Nie <jun.nie@linaro.org>
Acked-by: Matthias Brugger <matthias.bgg@gmail.com>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Acked-by: Shawn Guo <shawnguo@kernel.org>
Acked-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Acked-by: Krzysztof Halasa <khc@piap.pl>
Acked-by: Maxime Coquelin <maxime.coquelin@st.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2015-11-16 03:06:10 +00:00
|
|
|
bool "Broadcom BCM2835 family"
|
2015-12-31 16:00:24 +00:00
|
|
|
depends on ARCH_MULTI_V6 || ARCH_MULTI_V7
|
2016-06-02 12:10:16 +00:00
|
|
|
select GPIOLIB
|
2014-02-21 00:16:11 +00:00
|
|
|
select ARM_AMBA
|
2015-02-24 15:07:55 +00:00
|
|
|
select ARM_ERRATA_411920 if ARCH_MULTI_V6
|
2014-02-21 00:16:11 +00:00
|
|
|
select ARM_TIMER_SP804
|
2015-02-24 15:07:55 +00:00
|
|
|
select HAVE_ARM_ARCH_TIMER if ARCH_MULTI_V7
|
2014-02-21 00:16:11 +00:00
|
|
|
select CLKSRC_OF
|
2016-06-02 16:35:38 +00:00
|
|
|
select BCM2835_TIMER
|
2014-02-21 00:16:11 +00:00
|
|
|
select PINCTRL
|
|
|
|
select PINCTRL_BCM2835
|
|
|
|
help
|
2015-02-24 15:07:55 +00:00
|
|
|
This enables support for the Broadcom BCM2835 and BCM2836 SoCs.
|
|
|
|
This SoC is used in the Raspberry Pi and Roku 2 devices.
|
2014-02-21 00:16:11 +00:00
|
|
|
|
2014-02-20 23:53:13 +00:00
|
|
|
config ARCH_BCM_63XX
|
ARM: use "depends on" for SoC configs instead of "if" after prompt
Many ARM sub-architectures use prompts followed by "if" conditional,
but it is wrong.
Please notice the difference between
config ARCH_FOO
bool "Foo SoCs" if ARCH_MULTI_V7
and
config ARCH_FOO
bool "Foo SoCs"
depends on ARCH_MULTI_V7
These two are *not* equivalent!
In the former statement, it is not ARCH_FOO, but its prompt that
depends on ARCH_MULTI_V7. So, it is completely valid that ARCH_FOO
is selected by another, but ARCH_MULTI_V7 is still disabled. As it is
not unmet dependency, Kconfig never warns. This is probably not what
you want.
The former should be used only when you need to do so, and you really
understand what you are doing. (In most cases, it should be wrong!)
For enabling/disabling sub-architectures, the latter is always correct.
As a good side effect, this commit fixes some entries over 80 columns
(mach-imx, mach-integrator, mach-mbevu).
[Arnd: I note that there is not really a bug here, according to
the discussion that followed, but I can see value in being consistent
and in making the lines shorter]
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Patrice Chotard <patrice.chotard@st.com>
Acked-by: Liviu Dudau <Liviu.Dudau@arm.com>
Acked-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Acked-by: Jun Nie <jun.nie@linaro.org>
Acked-by: Matthias Brugger <matthias.bgg@gmail.com>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Acked-by: Shawn Guo <shawnguo@kernel.org>
Acked-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Acked-by: Krzysztof Halasa <khc@piap.pl>
Acked-by: Maxime Coquelin <maxime.coquelin@st.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2015-11-16 03:06:10 +00:00
|
|
|
bool "Broadcom BCM63xx DSL SoC"
|
|
|
|
depends on ARCH_MULTI_V7
|
2014-02-20 23:53:13 +00:00
|
|
|
depends on MMU
|
|
|
|
select ARM_ERRATA_754322
|
|
|
|
select ARM_ERRATA_764369 if SMP
|
|
|
|
select ARM_GIC
|
|
|
|
select ARM_GLOBAL_TIMER
|
|
|
|
select CACHE_L2X0
|
|
|
|
select HAVE_ARM_ARCH_TIMER
|
|
|
|
select HAVE_ARM_TWD if SMP
|
|
|
|
select HAVE_ARM_SCU if SMP
|
|
|
|
select HAVE_SMP
|
|
|
|
help
|
|
|
|
This enables support for systems based on Broadcom DSL SoCs.
|
|
|
|
It currently supports the 'BCM63XX' ARM-based family, which includes
|
|
|
|
the BCM63138 variant.
|
|
|
|
|
2014-01-16 23:00:42 +00:00
|
|
|
config ARCH_BRCMSTB
|
ARM: use "depends on" for SoC configs instead of "if" after prompt
Many ARM sub-architectures use prompts followed by "if" conditional,
but it is wrong.
Please notice the difference between
config ARCH_FOO
bool "Foo SoCs" if ARCH_MULTI_V7
and
config ARCH_FOO
bool "Foo SoCs"
depends on ARCH_MULTI_V7
These two are *not* equivalent!
In the former statement, it is not ARCH_FOO, but its prompt that
depends on ARCH_MULTI_V7. So, it is completely valid that ARCH_FOO
is selected by another, but ARCH_MULTI_V7 is still disabled. As it is
not unmet dependency, Kconfig never warns. This is probably not what
you want.
The former should be used only when you need to do so, and you really
understand what you are doing. (In most cases, it should be wrong!)
For enabling/disabling sub-architectures, the latter is always correct.
As a good side effect, this commit fixes some entries over 80 columns
(mach-imx, mach-integrator, mach-mbevu).
[Arnd: I note that there is not really a bug here, according to
the discussion that followed, but I can see value in being consistent
and in making the lines shorter]
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Patrice Chotard <patrice.chotard@st.com>
Acked-by: Liviu Dudau <Liviu.Dudau@arm.com>
Acked-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Acked-by: Jun Nie <jun.nie@linaro.org>
Acked-by: Matthias Brugger <matthias.bgg@gmail.com>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Acked-by: Shawn Guo <shawnguo@kernel.org>
Acked-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Acked-by: Krzysztof Halasa <khc@piap.pl>
Acked-by: Maxime Coquelin <maxime.coquelin@st.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2015-11-16 03:06:10 +00:00
|
|
|
bool "Broadcom BCM7XXX based boards"
|
|
|
|
depends on ARCH_MULTI_V7
|
2014-01-16 23:00:42 +00:00
|
|
|
select ARM_GIC
|
2015-08-05 01:43:28 +00:00
|
|
|
select ARM_ERRATA_798181 if SMP
|
2014-01-16 23:00:42 +00:00
|
|
|
select HAVE_ARM_ARCH_TIMER
|
2014-07-22 22:58:17 +00:00
|
|
|
select BRCMSTB_L2_IRQ
|
2014-11-07 06:44:27 +00:00
|
|
|
select BCM7120_L2_IRQ
|
2015-08-07 02:22:38 +00:00
|
|
|
select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE
|
2015-06-19 00:11:32 +00:00
|
|
|
select SOC_BRCMSTB
|
2016-03-23 18:56:50 +00:00
|
|
|
select SOC_BUS
|
2014-01-16 23:00:42 +00:00
|
|
|
help
|
|
|
|
Say Y if you intend to run the kernel on a Broadcom ARM-based STB
|
|
|
|
chipset.
|
|
|
|
|
|
|
|
This enables support for Broadcom ARM-based set-top box chipsets,
|
|
|
|
including the 7445 family of chips.
|
|
|
|
|
2014-06-10 14:06:10 +00:00
|
|
|
endif
|