From: Manuel Lauss Date: Sun, 4 Oct 2009 12:55:24 +0000 (+0200) Subject: MIPS: Alchemy: devboard register abstraction X-Git-Tag: v2.6.34-rc1~269^2~139 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9bdcf336d0c061e77f4c45c7b2bc32e3ed6b57e3;p=pandora-kernel.git MIPS: Alchemy: devboard register abstraction All Alchemy development boards have external CPLDs with a few registers in them. They all share an identical register layout with only a few minor differences (except the PB1000) in bit functions and base addresses. This patch - adds a primitive facility to initialize and use these external registers, - replaces all occurrences of bcsr->xxx accesses with calls to the new functions (the pb1200 cascade irq handling code is special). - collects BCSR register information scattered throughout the board headers in a central place. Signed-off-by: Manuel Lauss Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed