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: NPaul Burton <paul.burton@mips.com> Signed-off-by: NMiodrag Dinic <miodrag.dinic@mips.com> Signed-off-by: NAleksandar 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: NJames Hogan <jhogan@kernel.org>
Showing
想要评论请 注册 或 登录