MIPS: EVA: Add new EVA header
authorMarkos Chandras <markos.chandras@imgtec.com>
Mon, 21 Jul 2014 13:35:54 +0000 (14:35 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 26 Aug 2014 00:18:56 +0000 (02:18 +0200)
commit64316467dc99e6b38ed1ca2197aa93535a7750e0
tree5720c6d0d4582b4f7e3d7a984e9efaa98dc33b8b
parentad61ba23f192f6d87a4e1f665f2d92ba2bae0950
MIPS: EVA: Add new EVA header

Generic code may need to perform certain operations when EVA is
enabled, for example, configure the segmentation registers during
boot. In order to avoid using more CONFIG_EVA ifdefs in the arch code,
such functions will be added in this header instead.
Initially this header contains a macro which will be used by generic
code later on during VPEs configuration on secondary cores.
All it does is to call the platform specific EVA init code in case
EVA is enabled.

Reviewed-by: Paul Burton <paul.burton@imgtec.com>
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Patchwork: http://patchwork.linux-mips.org/patch/7422/
Signed-off-by: James Hogan <james.hogan@imgtec.com>
arch/mips/include/asm/eva.h [new file with mode: 0644]