Ensure a console is initialized before it is used
authorVikram Kanigiri <vikram.kanigiri@arm.com>
Thu, 27 Mar 2014 14:33:15 +0000 (14:33 +0000)
committerVikram Kanigiri <vikram.kanigiri@arm.com>
Thu, 8 May 2014 11:13:02 +0000 (12:13 +0100)
commit770de65f9dc31f1c8045572bc48dc3bca12145c8
tree8c5b7467ce6960d1f11d22041d436e77c1d2650c
parente404d7f44a190b82332bb96daffa0c6239732218
Ensure a console is initialized before it is used

This patch moves console_init() to bl32_early_platform_setup(). It
also ensures that console_init() is called in each
blX_early_platform_setup() function before the console is used
e.g. through a printf call in an assert() statement.

Fixes ARM-software/TF-issues#127

Change-Id: I5b1f17e0152bab674d807d2a95ff3689c5d4794e
plat/fvp/bl1_plat_setup.c
plat/fvp/bl2_plat_setup.c
plat/fvp/bl31_plat_setup.c
plat/fvp/bl32_plat_setup.c