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

Belisko Marek marek.belisko at gmail.com
Wed Sep 8 05:56:06 EDT 2010


On Wed, Sep 8, 2010 at 11:47 AM, Jean-Christophe PLAGNIOL-VILLARD
<plagnioj at jcrosoft.com> wrote:
> On 20:52 Tue 07 Sep     , 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
>
> you should be able to boot from nand only if you enable the NAND and not the
> invert
Sorry but don't understand what you mean. This patch was acked by
barebox people today.
>
> so it's a depends on
>
> Best Regards,
> J.
>

BR,

Marek

-- 
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer

Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
icq: 290551086
web: http://open-nandra.com



More information about the barebox mailing list