From: Manuel Lauss Date: Wed, 23 Jul 2014 14:36:25 +0000 (+0200) Subject: MIPS: Alchemy: add helpers to access static memory ctrl registers. X-Git-Tag: omap-for-v3.17/fixes-against-rc2~135^2~119 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9cf12167e909a86fbc4b39cf4cffef4cba40f1b3;p=pandora-kernel.git MIPS: Alchemy: add helpers to access static memory ctrl registers. This patch changes the static memory controller registers to offsets from base, prefixes them with AU1000_ to avoid silent failures due to changed addresses and introduces helpers to access them. No functional changes, comparing assembly of a few select functions shows no differences. Signed-off-by: Manuel Lauss Cc: Linux-MIPS Patchwork: https://patchwork.linux-mips.org/patch/7463/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed