arm-trusted-firmware/bl31
Soby Mathew 78e6161373 Ensure BL31 does not print to boot console by default
It is not ideal for BL31 to continue to use boot console at
runtime which could be potentially uninitialized. This patch
introduces a new optional platform porting API
`bl31_plat_runtime_setup()` which allows the platform to perform
any BL31 runtime setup just prior to BL31 exit during cold boot.
The default weak implementation of this function will invoke
`console_uninit()` which will suppress any BL31 runtime logs.

On the ARM Standard platforms, there is an anomaly that
the boot console will be reinitialized on resumption from
system suspend in `arm_system_pwr_domain_resume()`. This
will be resolved in the following patch.

NOTE: The default weak definition of `bl31_plat_runtime_setup()`
disables the BL31 console. To print the BL31 runtime
messages, platforms must override this API and initialize a
runtime console.

Fixes ARM-software/tf-issues#328

Change-Id: Ibaf8346fcceb447fe1a5674094c9f8eb4c09ac4a
2015-12-09 16:38:29 +00:00
..
aarch64 Merge pull request #443 from achingupta/sb/el3_payloads-cb_single_cpu 2015-12-01 19:02:24 +00:00
bl31.ld.S Fix relocation of __PERCPU_BAKERY_LOCK_SIZE__ 2015-09-25 16:35:10 +01:00
bl31.mk Remove the IMF_READ_INTERRUPT_ID build option 2015-11-26 17:07:32 +00:00
bl31_main.c Ensure BL31 does not print to boot console by default 2015-12-09 16:38:29 +00:00
context_mgmt.c Replace build macro WARN_DEPRECATED with ERROR_DEPRECATED 2015-11-24 11:15:41 +00:00
cpu_data_array.c Rework the crash reporting in BL3-1 to use less stack 2014-07-28 11:03:20 +01:00
interrupt_mgmt.c IMF: postpone SCR_EL3 update if context is not initialized 2015-11-05 16:36:55 +00:00
runtime_svc.c Enable type-checking of arguments passed to printf() et al. 2015-03-06 13:07:43 +00:00