platforms/44x/warp-nand.c bogosity

Valentine Barshak vbarshak at ru.mvista.com
Sat Aug 2 01:32:08 EST 2008


Josh Boyer wrote:
> On Fri, 1 Aug 2008 18:14:01 +0300
> Adrian Bunk <bunk at kernel.org> wrote:
> 
>> arch/powerpc/platforms/44x/warp-nand.c was added this year and updated 
>> quite recently.
>>
>> warp-nand.c is empty unless CONFIG_MTD_NAND_NDFC=y.
>>
>> MTD_NAND_NDFC depends on !PPC_MERGE.
>>
>> !PPC_MERGE can never be true on PPC now that arch/ppc/ got removed.
>>
>> So warp-nand.c is dead code, but that does not seem to be intentionally?
> 
> I don't believe it is intentional, no.  Sean can you look at this and
> see what's up?  I have a couple of fixes to queue up from you already
> and if you can get this one done in the next few days I'll included it
> as well.
> 
> josh

The current community ndfc driver won't build for arch/powerpc.
It still uses ioremap64 and includes <asm/ibm4xx.h> stuff.

Valentine.



More information about the Linuxppc-dev mailing list