[v3] Add basic address decoding support for Marvell 370/XP

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Fri Aug 17 09:21:56 EDT 2012


Hello,

Le Thu, 16 Aug 2012 14:37:08 -0400,
Jason Cooper <jason at lakedaemon.net> a écrit :

> > Whole series applied to:
> > 
> > git://git.infradead.org/users/jcooper/linux.git boards-for-v3.7
> 
> I'm getting the following build error with orion_nand enabled:
> 
>   CC      drivers/mtd/nand/orion_nand.o
> drivers/mtd/nand/orion_nand.c:24:27: fatal error: mach/hardware.h: No
> such file or directory
> compilation terminated.
> 
> I don't have time to look at it right now, hopefully I can look at it
> tomorrow or this weekend.

I have just built your boards-for-v3.7 for Kirkwood (which includes the
orion_nand driver) and it builds just fine.

Are you perhaps trying to enable the orion_nand driver for a mach-mvebu
platform (Armada 370 or XP)? If it's the case, then yes, this build
breakage is expected: we haven't enabled any of the I/O for now, so we
don't have hardware.h yet. This is not something that is broken due to
the address decoding changes.

If however my guess was wrong, could you send me the failing .config so
that I can reproduce and investigate?

Thanks!

Thomas Petazzoni
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com



More information about the linux-arm-kernel mailing list