diff mbox

mailbox: prevent pl320-ipc code from breaking none-AMBA systems

Message ID 1359477413-27881-1-git-send-email-mark.langsdorf@calxeda.com (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Mark Langsdorf Jan. 29, 2013, 4:36 p.m. UTC
The pl320-ipc code depends on ARM AMBA, and should have the dependency
in its Kconfig.

Signed-off-by: Mark Langsdorf <mark.langsdorf@calxeda.com>
---
 drivers/mailbox/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Rafael Wysocki Jan. 29, 2013, 9:55 p.m. UTC | #1
On Tuesday, January 29, 2013 10:36:53 AM Mark Langsdorf wrote:
> The pl320-ipc code depends on ARM AMBA, and should have the dependency
> in its Kconfig.

May I fold this into "ARM / highbank: add support for pl320 IPC"?

Rafael


> Signed-off-by: Mark Langsdorf <mark.langsdorf@calxeda.com>
> ---
>  drivers/mailbox/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/mailbox/Kconfig b/drivers/mailbox/Kconfig
> index 9489554..9545c9f 100644
> --- a/drivers/mailbox/Kconfig
> +++ b/drivers/mailbox/Kconfig
> @@ -8,6 +8,7 @@ menuconfig MAILBOX
>  if MAILBOX
>  config PL320_MBOX
>  	bool "ARM PL320 Mailbox"
> +	depends on ARM_AMBA
>  	help
>  	  An implementation of the ARM PL320 Interprocessor Communication
>  	  Mailbox (IPCM), tailored for the Calxeda Highbank. It is used to
>
Mark Langsdorf Jan. 29, 2013, 10:13 p.m. UTC | #2
> From: Rafael J. Wysocki [rjw@sisk.pl]
> On Tuesday, January 29, 2013 10:36:53 AM Mark Langsdorf wrote:
> > The pl320-ipc code depends on ARM AMBA, and should have the dependency
> > in its Kconfig.
> 
> May I fold this into "ARM / highbank: add support for pl320 IPC"?

Yes. I didn't want to regenerate the patch series =)

--Mark Langsdorf
Calxeda, Inc.

> Signed-off-by: Mark Langsdorf <mark.langsdorf@calxeda.com>
> ---
>  drivers/mailbox/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/mailbox/Kconfig b/drivers/mailbox/Kconfig
> index 9489554..9545c9f 100644
> --- a/drivers/mailbox/Kconfig
> +++ b/drivers/mailbox/Kconfig
> @@ -8,6 +8,7 @@ menuconfig MAILBOX
>  if MAILBOX
>  config PL320_MBOX
>       bool "ARM PL320 Mailbox"
> +     depends on ARM_AMBA
>       help
>         An implementation of the ARM PL320 Interprocessor Communication
>         Mailbox (IPCM), tailored for the Calxeda Highbank. It is used to
>
--
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.--
To unsubscribe from this list: send the line "unsubscribe linux-pm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Rafael Wysocki Jan. 29, 2013, 11:11 p.m. UTC | #3
On Tuesday, January 29, 2013 05:13:09 PM Mark Langsdorf wrote:
> > From: Rafael J. Wysocki [rjw@sisk.pl]
> > On Tuesday, January 29, 2013 10:36:53 AM Mark Langsdorf wrote:
> > > The pl320-ipc code depends on ARM AMBA, and should have the dependency
> > > in its Kconfig.
> > 
> > May I fold this into "ARM / highbank: add support for pl320 IPC"?
> 
> Yes. I didn't want to regenerate the patch series =)

Done.

Thanks,
Rafael


> > Signed-off-by: Mark Langsdorf <mark.langsdorf@calxeda.com>
> > ---
> >  drivers/mailbox/Kconfig | 1 +
> >  1 file changed, 1 insertion(+)
> >
> > diff --git a/drivers/mailbox/Kconfig b/drivers/mailbox/Kconfig
> > index 9489554..9545c9f 100644
> > --- a/drivers/mailbox/Kconfig
> > +++ b/drivers/mailbox/Kconfig
> > @@ -8,6 +8,7 @@ menuconfig MAILBOX
> >  if MAILBOX
> >  config PL320_MBOX
> >       bool "ARM PL320 Mailbox"
> > +     depends on ARM_AMBA
> >       help
> >         An implementation of the ARM PL320 Interprocessor Communication
> >         Mailbox (IPCM), tailored for the Calxeda Highbank. It is used to
> >
> --
> I speak only for myself.
> Rafael J. Wysocki, Intel Open Source Technology Center.
diff mbox

Patch

diff --git a/drivers/mailbox/Kconfig b/drivers/mailbox/Kconfig
index 9489554..9545c9f 100644
--- a/drivers/mailbox/Kconfig
+++ b/drivers/mailbox/Kconfig
@@ -8,6 +8,7 @@  menuconfig MAILBOX
 if MAILBOX
 config PL320_MBOX
 	bool "ARM PL320 Mailbox"
+	depends on ARM_AMBA
 	help
 	  An implementation of the ARM PL320 Interprocessor Communication
 	  Mailbox (IPCM), tailored for the Calxeda Highbank. It is used to