Merge branch 'smc91x-dt'
authorDavid S. Miller <davem@davemloft.net>
Tue, 18 Oct 2016 18:14:22 +0000 (14:14 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Oct 2016 18:14:22 +0000 (14:14 -0400)
commit7cafb0ba141e4836604b1c3b35ed6e7a15448d7b
tree3cd14a3eabd49dbdbc4684043985dbb22bf2337a
parentcd94e519dc5d82e2b8a0c93ebf09152727af5150
parentc4055a8cf7ba0042947309d1eada4d842bd3d8b7
Merge branch 'smc91x-dt'

Robert Jarzmik says:

====================
support smc91x on mainstone and devicetree

This series aims at bringing support to mainstone board on a
device-tree based build, as what is already in place for legacy
mainstone.

The bulk of the mainstone "specific" behavior is that a u16 write
doesn't work on a address of the form 4*n + 2, while it works on 4*n.

The legacy workaround was in SMC_outw(), with calls to
machine_is_mainstone(). These calls don't work with a pxa27x-dt
machine type, which is used when a generic device-tree pxa27x machine
is used to boot the mainstone board.

Therefore, this series enables the smc91c111 adapter of the mainstone
board to work on a device-tree build, exaclty as it's been working for
years with the legacy arch/arm/mach-pxa/mainstone.c definition.

As a sum up, this extends an existing mechanism to device-tree based
pxa platforms.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>