Use tf_printf() for debug logs from xlat_tables.c
The debug prints used to debug translation table setup in xlat_tables.c
used the `printf()` standard library function instead of the stack
optimized `tf_printf()` API. DEBUG_XLAT_TABLE option was used to enable
debug logs within xlat_tables.c and it configured a much larger stack
size for the platform in case it was enabled. This patch modifies these
debug prints within xlat_tables.c to use tf_printf() and modifies the format
specifiers to be compatible with tf_printf(). The debug prints are now enabled
if the VERBOSE prints are enabled in Trusted Firmware via LOG_LEVEL build
option.

The much larger stack size definition when DEBUG_XLAT_TABLE is defined
is no longer required and the platform ports are modified to remove this
stack size definition.

Change-Id: I2f7d77ea12a04b827fa15e2adc3125b1175e4c23
1 parent 870d881 commit d30ac1c36f79588e7384cc56c69f885147a4286f
@Soby Mathew Soby Mathew authored on 19 Jan 2016
Showing 4 changed files
View
include/plat/arm/board/common/board_arm_def.h
View
lib/aarch64/xlat_tables.c
View
plat/mediatek/mt8173/include/platform_def.h
View
plat/nvidia/tegra/include/platform_def.h