Thread (22 messages) flat view 22 messages, 6 authors, 2012-08-29

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

From: Thomas Petazzoni <hidden>
Date: 2012-08-17 13:21:56

Hello,

Le Thu, 16 Aug 2012 14:37:08 -0400,
Jason Cooper [off-list ref] a ?crit :
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help