Introduce console_uninit() API in ARM Trusted Firmware
authorSoby Mathew <soby.mathew@arm.com>
Wed, 28 Oct 2015 10:29:42 +0000 (10:29 +0000)
committerSoby Mathew <soby.mathew@arm.com>
Wed, 9 Dec 2015 16:38:29 +0000 (16:38 +0000)
commit487461cb6e367a5db397c34ed75fbcfdd6bda1c9
treee0d1d2ded2e4e4c57191458504593f2616bcce54
parent05a91fb008c31f939a9590318e2914b44cdad165
Introduce console_uninit() API in ARM Trusted Firmware

Allowing console base address to be set to NULL conveniently
allows console driver to ignore further invocations to console_putc()
and console_getc(). This patch adds `console_uninit()` API to the
console driver which sets console base address as NULL. The BL images can
invoke this API to finish the use of console and ignore any further
invocations to print to the console.

Change-Id: I00a1762b3e0b7c55f2be2f9c4c9bee3967189dde
drivers/console/console.S
include/drivers/console.h