[PATCH] mach-s3c24xx: Fix compilation problem when make a9m2410 or a9m2440 defconfig.

Juergen Beisert jbe at pengutronix.de
Thu Sep 23 02:12:03 EDT 2010


Hi Sascha,

Marek Belisko wrote:
> Following steps lead to compilation error (barebox v2010.09.0):
>
> 1. make a9m2440_defconfig (or a9m2410) ARCH=arm
> 2. make CROSS_COMPILE=arm-linux- ARCH=arm
>
> This patch should fix problems.
>
> Signed-off-by: Marek Belisko <marek.belisko at open-nandra.com>
> ---
>  arch/arm/mach-s3c24xx/Kconfig |    4 +++-
>  1 files changed, 3 insertions(+), 1 deletions(-)
>
> diff --git a/arch/arm/mach-s3c24xx/Kconfig b/arch/arm/mach-s3c24xx/Kconfig
> index 37ccf2f..297fdbb 100644
> --- a/arch/arm/mach-s3c24xx/Kconfig
> +++ b/arch/arm/mach-s3c24xx/Kconfig
> @@ -81,7 +81,9 @@ config S3C24XX_SDRAM_INIT
>  config S3C24XX_NAND_BOOT
>  	bool
>  	prompt "Booting from NAND"
> -	select NAND_S3C24X0
> +	select MTD
> +	select NAND
> +	select NAND_S3C24X0
>  	help
>  	  Add generic support to boot from NAND flash. Image loading will be
>  	  skipped if the code is running from NOR or already from SDRAM.

Did you notice this thread?

jbe

-- 
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | Phone: +49-8766-939 228     |
Vertretung Sued/Muenchen, Germany             | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686              | http://www.pengutronix.de/  |



More information about the barebox mailing list