Patchwork [13/15] SPEAr13xx: update kconfig for PCIe selection

login
register
mail settings
Submitter Pratyush ANAND
Date Oct. 29, 2012, 7:01 a.m.
Message ID <d13ec089ce3a327746ddf20674a0c1f5d22acb88.1351492562.git.pratyush.anand@st.com>
Download mbox | patch
Permalink /patch/194857/
State Not Applicable
Headers show

Comments

Pratyush ANAND - Oct. 29, 2012, 7:01 a.m.
Signed-off-by: Pratyush Anand <pratyush.anand@st.com>
---
 arch/arm/mach-spear13xx/Kconfig |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)
viresh kumar - Oct. 29, 2012, 1:33 p.m.
On Mon, Oct 29, 2012 at 12:31 PM, Pratyush Anand <pratyush.anand@st.com> wrote:
> Signed-off-by: Pratyush Anand <pratyush.anand@st.com>
> ---
>  arch/arm/mach-spear13xx/Kconfig |   12 ++++++++++++
>  1 files changed, 12 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/mach-spear13xx/Kconfig b/arch/arm/mach-spear13xx/Kconfig
> index eaadc66..4817314 100644
> --- a/arch/arm/mach-spear13xx/Kconfig
> +++ b/arch/arm/mach-spear13xx/Kconfig
> @@ -16,5 +16,17 @@ config MACH_SPEAR1340
>         select PINCTRL_SPEAR1340
>         help
>           Supports ST SPEAr1340 machine configured via the device-tree
> +

change irrelevant to your patch

>  endmenu
> +
> +config SPEAR13XX_PCI
> +       bool "PCI Express support"

cant this be module

> +       select PCI
> +       select PCIEPORTBUS
> +       select ARCH_SUPPORTS_MSI
> +       select PCI_MSI
> +       select NEED_MACH_IO_H
> +       help
> +         Support SPEAr13xx PCIe Dual controler as a host

s/controler/controller

> +
>  endif #ARCH_SPEAR13XX
> --
> 1.7.5.4
>
--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Pratyush ANAND - Oct. 30, 2012, 3:25 a.m.
On 10/29/2012 7:03 PM, viresh kumar wrote:
>> >  endmenu
>> >+
>> >+config SPEAR13XX_PCI
>> >+       bool "PCI Express support"
> cant this be module
>

No.

--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/arch/arm/mach-spear13xx/Kconfig b/arch/arm/mach-spear13xx/Kconfig
index eaadc66..4817314 100644
--- a/arch/arm/mach-spear13xx/Kconfig
+++ b/arch/arm/mach-spear13xx/Kconfig
@@ -16,5 +16,17 @@  config MACH_SPEAR1340
 	select PINCTRL_SPEAR1340
 	help
 	  Supports ST SPEAr1340 machine configured via the device-tree
+
 endmenu
+
+config SPEAR13XX_PCI
+	bool "PCI Express support"
+	select PCI
+	select PCIEPORTBUS
+	select ARCH_SUPPORTS_MSI
+	select PCI_MSI
+	select NEED_MACH_IO_H
+	help
+	  Support SPEAr13xx PCIe Dual controler as a host
+
 endif #ARCH_SPEAR13XX