[PATCH 06/10] ARM S3C24XX: Compile NAND device definition for SMDK boards

Yauhen Kharuzhy jekhor at gmail.com
Fri Dec 3 08:24:06 EST 2010


On Fri, Dec 03, 2010 at 09:37:58PM +0900, Kukjin Kim wrote:
> Yauhen Kharuzhy wrote:
> > 
> > > > Common SMDK code uses s3c_device_nand, but doesn't select it in
> Kconfig.
> > > >
> > > Yeah, you're right. The common-smdk.c uses "s3c_device_nand" of
> > > "plat-samsung/dev-nand.c".
> > > But now the CONFIG_S3C_DEV_NAND already selected in
> CONFIG_PLAT_S3C24XX...
> > >

> Oh, it's typo :-(
> 
> commit 7f4145abcee3e48d9f01cca16baa0f21e4b55e21
> Author: Kukjin Kim <kgene.kim at samsung.com>
> Date:   Fri Dec 3 21:22:42 2010 +0900
> 
>     ARM: S3C24XX: Fix CONFIG_S3C_DEV_NAND Kconfig entry
> 
>     Should be CONFIG_S3C_DEV_NAND instead of CONFIG_S3C_DEVICE_NAND.
> 
>     Cc: Ben Dooks <ben-linux at fluff.org>
>     Signed-off-by: Kukjin Kim <kgene.kim at samsung.com>
> 
> diff --git a/arch/arm/plat-s3c24xx/Kconfig b/arch/arm/plat-s3c24xx/Kconfig
> index 5a27b1b..eb105e6 100644
> --- a/arch/arm/plat-s3c24xx/Kconfig
> +++ b/arch/arm/plat-s3c24xx/Kconfig
> @@ -8,7 +8,7 @@ config PLAT_S3C24XX
>         default y
>         select NO_IOPORT
>         select ARCH_REQUIRE_GPIOLIB
> -       select S3C_DEVICE_NAND
> +       select S3C_DEV_NAND
>         select S3C_GPIO_CFG_S3C24XX
>         help
>           Base platform code for any Samsung S3C24XX device
> 
> 
> > > So I think this is useless...however, we need to sort dependencies of
> > > Kconfig for S3C24XX out.
> > OK. It was my rebased old patch and I didn't check necessity of it.

Hmm... But this selects S3C_DEVICE_NAND for all S3C24XX boards.
Theoretically S3C24XX board without NAND can exist, and compiled-in
nand platform device will be overhead.

-- 
Yauhen Kharuzhy		jekhor _at_ gmail.com
			JID: jek at jabber.ru

A: No
Q: Should I quote below my post?



More information about the linux-arm-kernel mailing list