xlat: Make function to calculate TCR PA bits public
This function can be useful to setup TCR_ELx by callers that don't use
the translation tables library to setup the system registers related
to them. By making it common, it can be reused whenever it is needed
without duplicating code.

Change-Id: Ibfada9e846d2a6cd113b1925ac911bb27327d375
Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
1 parent 92cad5f commit ad02a7596f73ea9f07ebc9e04970ab7e9961c868
@Antonio Nino Diaz Antonio Nino Diaz authored on 25 Oct 2017
Showing 2 changed files
View
include/lib/xlat_tables/aarch64/xlat_tables_aarch64.h
View
lib/xlat_tables_v2/aarch64/xlat_tables_arch.c