[ARM] MV78XX0: MPP routines and definitions
authorSebastien Requiem <sebastien@kolios.dk>
Tue, 23 Feb 2010 13:38:14 +0000 (14:38 +0100)
committerNicolas Pitre <nico@fluxnic.net>
Tue, 23 Feb 2010 21:44:01 +0000 (16:44 -0500)
commitee40ceab234d34abdfeb9922d0f1a18bfa7efdaf
treecc84490428a946c0614a91c32ed4d30d0b4e9e61
parentd5b5746bed1023e4a55f96405422d3e51968fa43
[ARM] MV78XX0: MPP routines and definitions

This patch is composed of two new files :

- mpp.c which is mainly inspired by the same file as in mach-kirkwood

- mpp.h that is written from the documentation provided by Marvell
http://www.marvell.com/products/processors/embedded/discovery_innovation/HW_MV78100_OpenSource.pdf

Moreover, due to some implementation problem, I have
defined some MPPX_UNUSED that offer developers the possibility
to SET MPP to some unused value (such as for Buffalo WXL).

Note: This patch doesn't support MV78200 yet (only 78100 MPP lines have
been written)

Signed-off-by: Sebastien Requiem <sebastien@kolios.dk>
Signed-off-by: Nicolas Pitre <nico@marvell.com>
arch/arm/mach-mv78xx0/Makefile
arch/arm/mach-mv78xx0/mpp.c [new file with mode: 0644]
arch/arm/mach-mv78xx0/mpp.h [new file with mode: 0644]