diff options
author | Paul Burton <paul.burton@mips.com> | 2018-01-19 18:40:49 +0300 |
---|---|---|
committer | James Hogan <jhogan@kernel.org> | 2018-02-08 17:02:01 +0300 |
commit | 791412dafbbfd860e78983d45cf71db603a82f67 (patch) | |
tree | 0fc152804b6ce53ccb017fdc19c4c5767eaa8f39 /arch/mips/kernel/unaligned.c | |
parent | aece34cd576c7625181b0488a8129c1e165355f7 (diff) | |
download | linux-791412dafbbfd860e78983d45cf71db603a82f67.tar.xz |
MIPS: CPC: Map registers using DT in mips_cpc_default_phys_base()
Reading mips_cpc_base value from the DT allows each platform to
define it according to its needs. This is especially convenient
for MIPS_GENERIC kernel where this kind of information should be
determined in runtime.
Use mti,mips-cpc compatible string with just a reg property to
specify the register location for your platform.
Signed-off-by: Paul Burton <paul.burton@mips.com>
Signed-off-by: Miodrag Dinic <miodrag.dinic@mips.com>
Signed-off-by: Aleksandar Markovic <aleksandar.markovic@mips.com>
Cc: linux-mips@linux-mips.org
Cc: Ralf Baechle <ralf@linux-mips.org>
Patchwork: https://patchwork.linux-mips.org/patch/18513/
Signed-off-by: James Hogan <jhogan@kernel.org>
Diffstat (limited to 'arch/mips/kernel/unaligned.c')
0 files changed, 0 insertions, 0 deletions