From: Tony Lindgren <tony@atomide.com>
To: Aaro Koskinen <aaro.koskinen@nokia.com>
Cc: linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 2/2] arm: mach-omap2: Kconfig: devkit8000 should select needed options
Date: Wed, 15 Dec 2010 09:37:12 -0800 [thread overview]
Message-ID: <20101215173709.GB8406@atomide.com> (raw)
In-Reply-To: <1292417352-18082-2-git-send-email-aaro.koskinen@nokia.com>
Hi Aaro,
* Aaro Koskinen <aaro.koskinen@nokia.com> [101215 04:48]:
> It's not possible to compile a kernel for this board without I2C,
> MFD_SUPPORT and TWL4030_CORE, so those should be selected. This will
> prevent build errors when trying out different configurations.
This one I'm not so convinced about. We should be able to compile
support for each board and enable and disable these kind of options
just fine if CONFIG_ARCH_OMAP2PLUS_TYPICAL is disabled.
In the long run we really want to have just a minimal kernel
and have everything else as modules for the default configs
and boot using initramfs.
Probably the best way to deal with issues like this is to
have omap generic platform init code for the common devices
that gets built if those options are selected. Otherwise
we'll end up with ifdefs all over the board-*.c files.
Regards,
Tony
> Signed-off-by: Aaro Koskinen <aaro.koskinen@nokia.com>
> ---
> arch/arm/mach-omap2/Kconfig | 4 ++++
> 1 files changed, 4 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig
> index db20351..bb32f35 100644
> --- a/arch/arm/mach-omap2/Kconfig
> +++ b/arch/arm/mach-omap2/Kconfig
> @@ -129,6 +129,10 @@ config MACH_DEVKIT8000
> default y
> select OMAP_PACKAGE_CUS
> select OMAP_MUX
> + select I2C
> + select I2C_OMAP
> + select MFD_SUPPORT
> + select TWL4030_CORE
>
> config MACH_OMAP_LDP
> bool "OMAP3 LDP board"
> --
> 1.5.6.5
>
WARNING: multiple messages have this Message-ID (diff)
From: tony@atomide.com (Tony Lindgren)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/2] arm: mach-omap2: Kconfig: devkit8000 should select needed options
Date: Wed, 15 Dec 2010 09:37:12 -0800 [thread overview]
Message-ID: <20101215173709.GB8406@atomide.com> (raw)
In-Reply-To: <1292417352-18082-2-git-send-email-aaro.koskinen@nokia.com>
Hi Aaro,
* Aaro Koskinen <aaro.koskinen@nokia.com> [101215 04:48]:
> It's not possible to compile a kernel for this board without I2C,
> MFD_SUPPORT and TWL4030_CORE, so those should be selected. This will
> prevent build errors when trying out different configurations.
This one I'm not so convinced about. We should be able to compile
support for each board and enable and disable these kind of options
just fine if CONFIG_ARCH_OMAP2PLUS_TYPICAL is disabled.
In the long run we really want to have just a minimal kernel
and have everything else as modules for the default configs
and boot using initramfs.
Probably the best way to deal with issues like this is to
have omap generic platform init code for the common devices
that gets built if those options are selected. Otherwise
we'll end up with ifdefs all over the board-*.c files.
Regards,
Tony
> Signed-off-by: Aaro Koskinen <aaro.koskinen@nokia.com>
> ---
> arch/arm/mach-omap2/Kconfig | 4 ++++
> 1 files changed, 4 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig
> index db20351..bb32f35 100644
> --- a/arch/arm/mach-omap2/Kconfig
> +++ b/arch/arm/mach-omap2/Kconfig
> @@ -129,6 +129,10 @@ config MACH_DEVKIT8000
> default y
> select OMAP_PACKAGE_CUS
> select OMAP_MUX
> + select I2C
> + select I2C_OMAP
> + select MFD_SUPPORT
> + select TWL4030_CORE
>
> config MACH_OMAP_LDP
> bool "OMAP3 LDP board"
> --
> 1.5.6.5
>
next prev parent reply other threads:[~2010-12-15 17:37 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-15 12:49 [PATCH 1/2] arm: mach-omap2: Kconfig: fix incorrect option Aaro Koskinen
2010-12-15 12:49 ` Aaro Koskinen
2010-12-15 12:49 ` [PATCH 2/2] arm: mach-omap2: Kconfig: devkit8000 should select needed options Aaro Koskinen
2010-12-15 12:49 ` Aaro Koskinen
2010-12-15 17:37 ` Tony Lindgren [this message]
2010-12-15 17:37 ` Tony Lindgren
2010-12-17 12:41 ` Aaro Koskinen
2010-12-17 12:41 ` Aaro Koskinen
2010-12-18 0:21 ` Tony Lindgren
2010-12-18 0:21 ` Tony Lindgren
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=20101215173709.GB8406@atomide.com \
--to=tony@atomide.com \
--cc=aaro.koskinen@nokia.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-omap@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.