[PATCH 2/6] S5PC210: OneNAND: Use the correct DMA address range

Kyungmin Park kmpark at infradead.org
Thu Jul 29 20:31:43 EDT 2010


On Thu, Jul 29, 2010 at 9:34 AM, Kukjin Kim <kgene.kim at samsung.com> wrote:
> Kyungmin Park wrote:
>>
>> From: Kyungmin Park <kyungmin.park at samsung.com>
>>
>> OneNAND DMA SFR requires the 8KiB mapping.
>>
> It would be helpful if you could add the reason why should change.
>
> Just fix the DMA address range? Or for support further SoCs?...

Of course DMA address range.

In the spec, the final address is INTC_ONENAND_STATUS 0xB060_1068

Thank you,
Kyungmin Park

>
>> Signed-off-by: Kyungmin Park <kyungmin.park at samsung.com>
>> ---
>>  arch/arm/plat-s5p/dev-onenand.c |    2 +-
>>  1 files changed, 1 insertions(+), 1 deletions(-)
>>
>> diff --git a/arch/arm/plat-s5p/dev-onenand.c
> b/arch/arm/plat-s5p/dev-onenand.c
>> index 08b3a3f..4d3eddb 100644
>> --- a/arch/arm/plat-s5p/dev-onenand.c
>> +++ b/arch/arm/plat-s5p/dev-onenand.c
>> @@ -30,7 +30,7 @@ static struct resource s5pc110_onenand_resources[] = {
>>       },
>>       [1] = {
>>               .start  = S5PC110_PA_ONENAND_DMA,
>> -             .end    = S5PC110_PA_ONENAND_DMA + SZ_2K - 1,
>> +             .end    = S5PC110_PA_ONENAND_DMA + SZ_8K - 1,
>>               .flags  = IORESOURCE_MEM,
>>       },
>>  };
>> --
>
>
> Thanks.
>
> Best regards,
> Kgene.
> --
> Kukjin Kim <kgene.kim at samsung.com>, Senior Engineer,
> SW Solution Development Team, Samsung Electronics Co., Ltd.
>
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
>



More information about the linux-arm-kernel mailing list