From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: linux-sh@vger.kernel.org
Subject: Re: [PATCH 1/7] dmaengine: sh: Rework Kconfig and Makefile
Date: Tue, 15 Jul 2014 22:50:36 +0000 [thread overview]
Message-ID: <1613941.6uN1RdcV7Y@avalon> (raw)
In-Reply-To: <1405455522-20676-2-git-send-email-laurent.pinchart+renesas@ideasonboard.com>
Hi Sergei,
Thank you for the review.
On Wednesday 16 July 2014 01:36:21 Sergei Shtylyov wrote:
> On 07/16/2014 12:18 AM, Laurent Pinchart wrote:
> > Separate helpers and drivers in the Kconfig and Makefile to improve
> > readability and move the CONFIG_OF dependency from the Makefile to
> > Kconfig.
> >
> > Signed-off-by: Laurent Pinchart
> > <laurent.pinchart+renesas@ideasonboard.com>
> > ---
> >
> > drivers/dma/sh/Kconfig | 24 +++++++++++++++++++-----
> > drivers/dma/sh/Makefile | 14 +++++++++++---
> > 2 files changed, 30 insertions(+), 8 deletions(-)
> >
> > diff --git a/drivers/dma/sh/Kconfig b/drivers/dma/sh/Kconfig
> > index 0f71981..383b21f 100644
> > --- a/drivers/dma/sh/Kconfig
> > +++ b/drivers/dma/sh/Kconfig
> > @@ -2,21 +2,39 @@
> > # DMA engine configuration for sh
> > #
> >
> > +#
> > +# DMA Engine Helpers
> > +#
> > +
> > config SH_DMAE_BASE
> > bool "Renesas SuperH DMA Engine support"
> > - depends on (SUPERH && SH_DMA) || ARCH_SHMOBILE || COMPILE_TEST
> > + depends on SUPERH || ARCH_SHMOBILE || COMPILE_TEST
> > + depends on !SUPERH || SH_DMA
>
> s/||/&&/?
No. The driver can be used on SUPERH only when SH_DMA is enabled, and can be
used on other architectures regardless of SH_DMA. This could have been
expressed as (SUPERH && SH_DMA) || !SUPERH as well.
> > depends on !SH_DMA_API
> > default y
> > select DMA_ENGINE
> > help
> > Enable support for the Renesas SuperH DMA controllers.
> > +#
> > +# DMA Controllers
> > +#
> > +
> > config SH_DMAE
> > tristate "Renesas SuperH DMAC support"
> > depends on SH_DMAE_BASE
> > help
> > Enable support for the Renesas SuperH DMA controllers.
> >
> > +if SH_DMAE
> > +
> > +config SH_DMAE_R8A73A4
> > + def_bool y
> > + depends on ARCH_R8A73A4
> > + depends on CONFIG_OF
>
> s/CONFIG_//.
My bad, will fix.
> > +
> > +endif
> > +
> > config SUDMAC
> > tristate "Renesas SUDMAC support"
> > depends on SH_DMAE_BASE
>
> [...]
--
Regards,
Laurent Pinchart
prev parent reply other threads:[~2014-07-15 22:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-15 20:18 [PATCH 1/7] dmaengine: sh: Rework Kconfig and Makefile Laurent Pinchart
2014-07-15 21:36 ` Sergei Shtylyov
2014-07-15 22:50 ` Laurent Pinchart [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1613941.6uN1RdcV7Y@avalon \
--to=laurent.pinchart@ideasonboard.com \
--cc=linux-sh@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox